Hello Guest it is April 23, 2024, 07:51:02 AM

Author Topic: Arc ok signal in Mach4  (Read 4321 times)

0 Members and 1 Guest are viewing this topic.

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: Arc ok signal in Mach4
« Reply #10 on: February 16, 2016, 02:57:41 AM »
Sorry been snowed under this end,

Have a look at the example again, its using the switch command so you can convert this in lua to an if statement.

use it in the form of

rc = mc.mcSiganalWait..........
if rc == MERROR_TIMED_OUT then
disable machine and update history with error
else
continue with gcode
end

DazTheGas



New For 2022 - Instagram: dazthegas