Not sure how else to help you without knowing all about your machine, the homing/limit switch setup and how you zero your Z axis for the material being cut.

Kit