DigitalWaxPrint__help

GCode references

M114: get current position
M119: check endstop status
G28: auto home (i.e. to home the X axis use the command G28 X)
G92: set a position (i.e. to define the current X position to be 20 use the command G28 X20)
M92: set step per unit (i.e. to set the step per unit to 8.96 for X axis, issue the command M92 X8.96)

Calibrate the motors

- make the axis move 100mm
- mesure the actual distance travelled
- use the following formula to calculate the new step per unit to apply

NewStepsPerUnit = TraveledDist / ActualTravelDist x OldStepsPerUnit

- issue the command to the printer to use the new value

Firmware variables

X_MAX_POS in configuration.h is the maximum position reachable on the X axis