I want to control one motor and detect 3 limit switches for a simple conveyor belt.
As the belt moves an object on it will be detected by the limit switch/sensor and stop the motor and wait for another limit switch to start again.
My problem is how to detect the limit switches on/off in the code.
I have searched a lot but cannot find in any Gcode lists on how to detect the limit switches.
Any help please!
Thanks ytliu but then why are there inputs?
DDCSV2.1 has made the following changes on the basis of DDCSV1.1:
1: The input signal is modified to support the NPN switch;
2: Support limit and the home share the input port;
So I have NPN limit switch that I want to detect - how?
I want to use home/limit port - how do I detect a signal?
How can these inputs be used?
The limit switches are used by the firmware to home the axes and prevent crashes [the hard limits]. There is no interface to g-code as implemented in this controller. Use an Arduino or Raspberry Pi
Well I already bought one based on the details shown.
So parameter #116-#119 set HOME, LIMIT++, LIMIT-- cant be used to change HOME to LIMIT?
There really is no way to use this with any inputs?
What about using the MPG inputs - could I use any of those?