Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: CNCDevil on February 23, 2016, 04:02:43 PM
-
Hi,
I've just made my own digitizing probe and it works good for probing in the X, Y and Z direction with the 2010 screenset.
Today I tried to use the Digitizing Wizard, but we seem to have a problem here.
This is the data of my system:
Windows 7 SP1
CSMIO/IP-M
Leadshine AM882
Mach3 ver. R3.043.062
2010 Screenset
Setup for milimeters
Some of the code:
(Digitize File)
M40
G92X0Y0Z0
F100
G0X0Y0Z5
G31 Z-6 (Probe touches the surface and outputs Hit success on the screen)
G0 Z5 (Now the driver goes into fault state when trying to read the G0 Z5 line.)
...
M30
The driver has stall protection meaning that too much acceleration causes the driver to go into the fault state. I can verify this by periodic time of the red led that starts to flash on the driver. I changed the Z in the code to X and my machine made a very rapid move to G0 X5, after the G31 code. When I afterwards tried to run the code again, the driver vent into fault state, just like the Z-axis. This indicates that the code makes my system accelerate very rapid when trying to do the G0 move after the G31 move.
Here are the things I have tried to do, to narrow down the problem, but without success:
- Changed the X, Y and Z Velocity and Acceleration to very low values in Motor Tuning.
- Put G21 line between the G31 and G0
Maybe it's some incompatibility between CSMIO and Mach3 (G31)?
I really hope that some of your guys can help me with this one.
Thank you in advance,
Brian
-
IF it is a G31 problem with teh Csmio the you really need to look to CS-Labs for teh answer as teh Csmio has to handle the G31 function not Mach3 and that part would be done in teh plugin OR teh COntroller firmware.
(;-) TP
-
I think you need to use a different code other than G31 with the CS Labs boards.
http://www.cs-lab.eu/en/artykul-129-M31_as_an_alternative_to_G31.html
-
I probably need something like this M31 macro, but I must admid that I'm clueless when it comes to programming. I need some help with this, please.
-
Ask CS Labs if their devices will work with the digitize wizard.
-
I'll ask them first. No need to dig our own grave if it isn't possible anyway.
Brian
-
I don't think you can use teh M31 and teh DIg Wizard as the Wizard writes teh Gcode and IT has no idea what a M31 is. Also teh M31 runs with Parameters to program its function. Agin teh Dig Wizard has no idea on how to do that.
Just a thought, (;-) TP
-
Hello again.
CS Labs just replied this to me:
I have a few tips for you that can be helpful.
1) Use this Mach3 version ftp://machsupport.com/Mach3/Mach3Version3.043.022.exe
In our opinion it's the most reliable version.
2) Use G31 only from VB macros level, do not use G31 from gcode.
Remember - after you use M40 command give a file name and point a location of the file with coordinates.
The difference is because the file is created by plugin and not Mach3.
No one has ever informed about such issue so if the tips above won't help then you will have to send me copy of your Mach3 with detailed information on how to activate the problem.
Do you guys have an idea how I can implement the G31 to into a VB script? I would love to do be more helpful myself, but I´m just lost here. Has nobody ever tried to use the M31 macro they have put on their site?
Regards,
Brian
-
1) You can't use version 3.043.022 with the 2010 Screenset. There's a serious bug in mach3 in that version that will cause Mach3 to lock up during a tool change.
Do you guys have an idea how I can implement the G31 to into a VB script
Look at the M881 and M889 macros from the 2010 Screenset for examples.