Need to Invert Pin for Latching Estop

More
19 Oct 2019 21:10 #148366 by MakingStuff
I got this from another post on the forum, added the estop pin from my 7i96 board and it works if I use a normally open switch.

loadrt estop_latch
addf estop-latch.0 servo-thread
net estop-loopout iocontrol.0.emc-enable-in <= estop-latch.0.ok-out
net estop-loopin iocontrol.0.user-enable-out => estop-latch.0.ok-in
net estop-reset iocontrol.0.user-request-enable => estop-latch.0.reset
net remote-estop estop-latch.0.fault-in <= hm2_7i96.0.gpio.006.in

However, my estop switch is normally closed. I tried adding the -not parameter to the end of the pin like this:
hm2_7i96.0.gpio.006.in-not

But when I try to start LinuxCNC I get an error that says the pin does not exist.

What is the correct way to invert the pin so I can use a normally closed switch?

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

More
19 Oct 2019 23:01 #148374 by tommylight
Try this
hm2_7i96.0.gpio.006.in_not
The following user(s) said Thank You: MakingStuff

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

More
19 Oct 2019 23:53 #148377 by MakingStuff

Try this
hm2_7i96.0.gpio.006.in_not


That worked. Thanks!
The following user(s) said Thank You: tommylight

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

Time to create page: 0.064 seconds
Powered by Kunena Forum