Leave enabled pin active when leaving linuxcnc

More
26 Mar 2026 11:29 #344764 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

 

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

More
26 Mar 2026 11:58 #344766 by rodw
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
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
26 Mar 2026 13:11 #344772 by tommylight
Replied by tommylight on topic Leave enabled pin active when leaving linuxcnc

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 :)

 

Hmmmm why are you switching the VFD power?
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.

More
26 Mar 2026 14:16 #344773 by PCW
Yes, all 7I76 output pins will be forced off when communication stops.

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

More
26 Mar 2026 15:14 #344777 by mooser
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

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

More
26 Mar 2026 15:18 #344778 by mooser
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

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
26 Mar 2026 15:30 #344780 by tommylight
Replied by tommylight on topic Leave enabled pin active when leaving linuxcnc

until now I've not really wanted the vfd powered without the control software running so it wasn't an issue

That is why the e-stop is used, no power till LinuxCNC is running and out of e-stop.

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

Time to create page: 0.099 seconds
Powered by Kunena Forum