Hello Guest it is January 28, 2020, 07:41:44 AM

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

0 Members and 1 Guest are viewing this topic.

Offline DazTheGas

*
  •  752 752
  • 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



Theres always time for a choccy biccy