Need to Invert Pin for Latching Estop

More
7 years 1 week ago #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 to join the conversation.

More
7 years 1 week ago #148374 by tommylight
Try this
hm2_7i96.0.gpio.006.in_not

Please Log in to join the conversation.

More
7 years 1 week ago #148377 by MakingStuff

Try this
hm2_7i96.0.gpio.006.in_not


That worked. Thanks!

Please Log in to join the conversation.

Time to create page: 2.089 seconds
Powered by Kunena Forum