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.

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
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.

Time to create page: 0.092 seconds
Powered by Kunena Forum