21
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
try
SystemWaitFor(INPUT1) ' Torch Input ready to go
Hmm. Perhaps your Z axis would be better off controlled by the torch voltage system and X and Y controlled by Mach. Does mach accept jog inputs while running Gcode? I'm thinking you could emulate the pulses of a MPG easily in response to the torch signalling too high or too low.
Or just run the Z independently of the computer and just let it follow the work, using a "coolant" M-code to bring it to the workpiece and back, overriding the height control. Knowing more about your height control system would be a plus.
Hi Halkintool, I am just trying to cut my teeth on this Mach3 and and a plasma machine. I was puzzling over the same problem when your post answered me. This code worked for me:
While IsActive (input1)
Wend
where input1 is my arc ok signal.
Odd really, my arc ok is active high and I was expecting "While not IsActive (input1)" to be the correct solution...
What do your first two lines accomplish if I may ask?
The next problem I have is when you stop a cut, how do you convince mach to reissue a M3 when you re-start? And distinguish between rapidmoves which don't require a m3 and regular moves which do require a m3?