Limit switches are used to reference your machine(homing procedure) as also for safety reasons.
If you use only one limit switch for axis X motor (positive direction), connected to controllers limit input 1:
If you have two limit switches for axis X motor (negative and positive direction), connected to same limit input of controller:
If you have two limit switches on X axis(negative and positive direction), connected to separate limit inputs of controller:
Switch hysteresis:
This is the distance from the moment when limit switch is activated to when limit switch is released. Usually around 2-5mm. Test this on your machine.
Same principles that were shown above for X axis can be used for all other axes.
Limit switch test:
When your limit switches are connected to limit inputs of controller, you can test if PlanetCNC TNG software senses the limit switch activation. On main screen click the “IO” tab and observe controllers Limit status bar behaviour:
Invert option:
If you use normally closed type of limit switches then you can invert controller limit input in settings: File/Settings/Limit
Click round button next to limit pin that you wish to invert:
The post How to configure limit switch inputs of controller in PlanetCNC TNG software appeared first on Planet CNC.