On 01/26/2020 08:04 PM, John Dammeyer wrote:
I set my BBB aside when the Xylotex cape I had forced normally open limit 
switches.
The limit switch polarity can be set in software. In the configs file directory, in file
CRAMPS.hal there is this :

# Adjust as needed for your switch polarity
setp bb_gpio.p8.in-08.invert 1
setp bb_gpio.p8.in-07.invert 1
setp bb_gpio.p8.in-10.invert 1
setp bb_gpio.p8.in-09.invert 1
setp bb_gpio.p9.in-11.invert 1
setp bb_gpio.p9.in-13.invert 1

If you change these lines to end in zero, it inverts the sensing of the switches.

Jon



_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to