Leave enabled pin active when leaving linuxcnc
- mooser
- Offline
- Elite Member
-
Less
More
- Posts: 210
- 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
-
- Offline
- 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: 21437
- 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.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17805
- Thank you received: 5208
26 Mar 2026 14:16 #344773
by PCW
Replied by PCW on topic Leave enabled pin active when leaving linuxcnc
Yes, all 7I76 output pins will be forced off when communication stops.
Please Log in or Create an account to join the conversation.
- mooser
- Offline
- Elite Member
-
Less
More
- Posts: 210
- Thank you received: 14
26 Mar 2026 15:14 #344777
by mooser
Replied by mooser on topic Leave enabled pin active when leaving linuxcnc
I wired it so that if the control was closed or the e-stops tripped, it would cut power to the axis drives and spindle vfd. The enable button on the screen does as you say.
until now I've not really wanted the vfd powered without the control software running so it wasn't an issue
until now I've not really wanted the vfd powered without the control software running so it wasn't an issue
Please Log in or Create an account to join the conversation.
- mooser
- Offline
- Elite Member
-
Less
More
- Posts: 210
- Thank you received: 14
26 Mar 2026 15:18 #344778
by mooser
Replied by mooser on topic Leave enabled pin active when leaving linuxcnc
That's what I kind of figured. I'll have to run a temp bypass on the SSR for now and also re-think how it's wired to keep the vfd on without the control program running. The old vfd was analog so this never came up before
Thanks
M
Thanks
M
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 21437
- Thank you received: 7307
26 Mar 2026 15:30 #344780
by tommylight
Replied by tommylight on topic Leave enabled pin active when leaving linuxcnc
That is why the e-stop is used, no power till LinuxCNC is running and out of e-stop.until now I've not really wanted the vfd powered without the control software running so it wasn't an issue
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds