M84to stop the idle hold of the motors. Watch out as this will disable all motors, and could cause the bed to drop. Remove all items from inside of the printer before homing. The PTFE filament tubes on the extruder carriage cable assembly should be clicked in place (shown in the image below), or they could cause problems when homing the X-axis.
M84command to temporarily disable idle hold current on your stepper motors, allowing you to move the motors. Your (0,0,0) is located at the top-front-left of the printer.
G1 X0 Y0 Z0(telling the printer to go to (0,0,0)) the print bed will touch the nozzle. However, as outlined above, the difference between the bed and the nozzle varies depending on your setup.
G92command at the end of the file. This command sets the z-axis height.
M208command at the end of the file.The one that says
Set axis maximain the comment.