I was wondering if someone could help me?
I build a gantry CNC machine and added limit switches. I wired them NC in series to the input pin (12) one one side the other to +5V of my breakout board. Everything seems great. When I trip the limit switch AXIS displays the limit icon.
The issue is that I'm getting "noise" on the line. HAL scope is showing little spikes. As a result AXIS shuts down with a "Joint 0 on limit switch error". I'm thinking it's because the wire is so long (over 10'). Not being an EE person does anybody know how I can filter these spikes out? I would really appreciate it.