With limit switches you can set a machine zero, which is a fixed repeatable location.
From there you use G code to tell the machine where the edge/corner of your part/stock is (G54)
Check out this video it’s pretty easy to understand the concept
1 Like