How Can I Make My Machine Home Towards the High Limit Switch
Normally, a CNC machine searches for machine zero in the direction of the low limit switch. For example, in most cases, the X axis would move in the negative direction to find its home sensor (or switch). Sometimes it is advantageous to home in the opposite direction. In the case of our example, this means we want to have the X move in the positive direction to find home.
So, assuming we have a line like this in our wincnc file for the X axis:
[X Axis Settings]
...
axishi=p#b#
… all we have to do is change the homing distance in the G28move= line of the wincnc.ini file. from this…
G28move=x0.250 y2.5
…to this…
G28move=x-0.250 y2.5
Now when you home the X axis (using the G28 command, or some macro command based on G28), the machine will seek the limit switch by heading in the direction of the positive limit sensor, rather than the low. Then, once it hits the sensor, it will back off 0.25 inches from the sensor.





