Hello Guest it is April 19, 2024, 08:48:08 PM

Author Topic: Turn off mist/flood on stop/estop  (Read 639 times)

0 Members and 1 Guest are viewing this topic.

Turn off mist/flood on stop/estop
« 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

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: Turn off mist/flood on stop/estop
« Reply #1 on: January 11, 2022, 02:33:08 PM »
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
New For 2022 - Instagram: dazthegas
Re: Turn off mist/flood on stop/estop
« Reply #2 on: January 11, 2022, 08:31:45 PM »
Hi,
how about using:

Code: [Select]
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
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Turn off mist/flood on stop/estop
« Reply #3 on: January 13, 2022, 02:01:50 PM »
Thanks guys I'll give it a try later.

RT
Re: Turn off mist/flood on stop/estop
« Reply #4 on: January 14, 2022, 02:41:30 AM »
pmc its easy place