Leave enabled pin active when leaving linuxcnc
- mooser
- Offline
- Elite Member
-
Less
More
- Posts: 208
- Thank you received: 14
26 Mar 2026 11:29 #344764
by mooser
Leave enabled pin active when leaving linuxcnc was created by mooser
I've got a SSR in the latching loop of my spindle contactor being controlled by one of the outputs from the 7i76
net machine-is-enabled hm2_5i25.0.7i76.0.0.output-07
Short of re-wiring, is there a way to temporarily leave that output turned ON when linuxcnc is being closed and re-started to pick up new config changes as I mess around inside the HAL and ini files setting up my new VFD and gear selection code? I can't help but think having the 220v power ripped out from the vfd over and over again isn't doing it any good
M
net machine-is-enabled hm2_5i25.0.7i76.0.0.output-07
Short of re-wiring, is there a way to temporarily leave that output turned ON when linuxcnc is being closed and re-started to pick up new config changes as I mess around inside the HAL and ini files setting up my new VFD and gear selection code? I can't help but think having the 220v power ripped out from the vfd over and over again isn't doing it any good
M
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
Less
More
- Posts: 11786
- Thank you received: 3990
26 Mar 2026 11:58 #344766
by rodw
Replied by rodw on topic Leave enabled pin active when leaving linuxcnc
you could try a shutdown.hal file that setp's it to what you want. You may have to unlink the pin as well
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 21436
- Thank you received: 7307
26 Mar 2026 13:11 #344772
by tommylight
That should be done only on E-stop, normally use the VFD ON pin to enable and disable VFD.
Also, not sure but i think Mesa will reset all it's pins when connection is lost or LinuxCNC is closed, but this should be verified.
Replied by tommylight on topic Leave enabled pin active when leaving linuxcnc
Hmmmm why are you switching the VFD power?I can't help but think having the 220v power ripped out from the vfd over and over again isn't doing it any good
That should be done only on E-stop, normally use the VFD ON pin to enable and disable VFD.
Also, not sure but i think Mesa will reset all it's pins when connection is lost or LinuxCNC is closed, but this should be verified.
Please Log in or Create an account to join the conversation.
Time to create page: 0.092 seconds