Hi all,
when you move your spindle encoder to the pin8, pin12, pin13 on the encoder connector it will be the better.
so you have the pin 1 and 2 for your pedand. look on page 8 from the pokey57cnc.
The Pedand connector is in this case free for use.
https://www.poscope.com/index.php?route=product/product/download&download_id=118&product_id=87When you like to use the switches,have you tried an pull down resistor for test?
Example when your prox. switch bring hig level, then are the 5v direktly on, but on pokey57 the hig level is on 0v.
The current can not flow through the switch but over an pull down resistor.
Cause on Pokey it is an negative logig. But you can use an pull down resistor betwen the input and the GND.
just for the test begin with an 10k Ohm resistor it could be enought but don“t use an resistor under 4,7k ohm for the test.
wenn your signal comes in, it is just negated.
one question can you tell me the exactly type and the name of your switch?