Which HAL-Pin for the aspiration

More
01 Feb 2022 18:14 #233724 by mgm
Hy

Which hal pin do you have the aspiration connected to?
I currently have it on the pin 
halui.program.is-running

I don't like that so much, because with every automatic movement the relay is switched. 
For example, when the cutter is in the park position or when changing tools.
Isn't there another pin that only becomes active during a work program?

Please Log in or Create an account to join the conversation.

More
01 Feb 2022 18:33 #233728 by Aciera
I presume that with 'aspiration' you mean a vacuum system.
If so maybe 'halui.mist.on', 'halui.mist.off' or halui.flood.on', 'halui.flood.off'

More info:
linuxcnc.org/docs/html/man/man1/halui.1.html

Please Log in or Create an account to join the conversation.

More
01 Feb 2022 18:53 #233731 by mgm
No I meant suction , as the suction of wood stick and chips

Please Log in or Create an account to join the conversation.

More
01 Feb 2022 19:02 #233732 by Todd Zuercher
I set up custom M-codes (M111, on M112 off) that setp the state of the halpin for the output that turns the vacuum (table clamping) on/off. I also have a button on the screen using a GladeVCP to control the vacuum. If you are referring to dust collection, our shop has a large centralized system that is always on so there is no need to control it at the machine. Air blast or mist or flood are handeled with M7, M8, and M9. M7 turns on the hal pin "iocontrol.0.coolant-mist", M8 turns on the hal pin "iocontrol.0.coolant-flood", and M9 turns both off. And yet another option is to use M62-M65 to control digital outputs in Hal.
The following user(s) said Thank You: Aciera

Please Log in or Create an account to join the conversation.

More
02 Feb 2022 12:56 #233795 by mgm
ok thanks

the pin switches only the slider of the suction, the suction itself not!

i have now looked at all the Hal pins again .....

now i put it on the pin: "mist.is-on".

i think i will record the M-code in the head of the program.

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum