Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: rhtuttle on January 11, 2022, 11:00:00 AM
-
Is there a setting in Mach4 that will turn off Mist/Flood (m9) whenever a Stop or EStop is issued or do I need to modify something in the screenload script?
TIA
RT
-
You could just add it to the siglib to look out for the estop and then turn off what you want off and same add the code to the stop signal or button if easier.
DazTheGas
-
Hi,
how about using:
LUA Syntax:
cycle, rc = mc.mcCntlIsInCycle(
number mInst)
Description:
Used to see if a G code file is running.
in the PLC script. If the machine is 'InCycle' then leave the Mist/Flood output as is and if its not 'InCycle' then turn Mist/Flood off.
Craig
-
Thanks guys I'll give it a try later.
RT
-
pmc its easy place