@Danal I'm giving you my config.g, customconfig.g, homex.g, homey.g, homez.g, and homeall.g.
config.g
; Configure Drives
M569 P0 S0 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M584 X0 Y1:3 Z2 ; Apply drive mapping to axes
; Configure Axes
M92 X400 Y400 Z400 ; Set steps per mm
M350 X16 Y16 Z16 I1 ; Configure microstepping
M566 X500 Y500 Z500 ; Set maximum instantaneous speed changes (mm/min)
M203 X2500 Y2500 Z2500 ; Set maximum speeds (mm/min)
M201 X150 Y150 Z150 ; Set accelerations (mm/s^2)
M906 X2400 Y2400 Z2400 I100 ; Set motor currents (mA)
; Configure Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X800 Y770 Z94 S0 ; Set axis maxima
; Configure Endstops
M574 X2 Y2 Z2 S0 ; Set active low endstops
; Other Settings
M140 H-1 ; Disable heated bed
M564 S1 H1 ; Disable jog commands when not homed
M911 S21.0 R23 P"G91 G1 Z3 F1000" ; Configure power loss resume
M501 ; Load Stored Parameters
M98 Pcustomconfig.g ; Execute custom config settings
customconfig.g
; ADD ANY CUSTOM SETTINGS BELOW
; Configure Drives
M569 P0 S0 ; Drive 0 (X) goes forwards
M569 P1 S1 ; Drive 1 (Y1) goes forwards
M569 P2 S0 ; Drive 2 (Z) goes forwards
M569 P3 S1 ; Drive 3 (Y2) goes forwards
; Configure Axis
M906 X1000 Y1000 Z1000 I100 ; Set motor currents (mA)
; Configure Endstops
M574 X2 Y2 Z1 S1 ; Set active high endstops
homex.g
; homex.g
; called to home the X axis
G91 ; relative positioning
G21 ; Set units to mm
G1 H1 Z94 F900 ; move quickly to Z axis endstop and stop there (first pass)
G1 Z-3 F2400 ; go back a few mm
G1 H1 Z94 F300 ; move slowly to z axis endstop once more (second pass)
G1 H1 X1500 F2400 ; move quickly to X and Y axis endstops and stop there (first pass)
G92 X800 Z94 ; Set Home Position please - to your machine size.
G1 X-3 F2400 ; go back a few mm
G1 H1 X1500 F300 ; move slowly to X and Y axis endstops once more (second pass)
G92 X800 Z94 ; Set Home Position please - to your machine size.
G90 ; absolute positioning
homey.g
; homey.g
; called to home the Y axis
G91 ; relative positioning
G21 ; Set units to mm
G1 H1 Z94 F900 ; move quickly to Z axis endstop and stop there (first pass)
G1 Z-3 F2400 ; go back a few mm
G1 H1 Z94 F300 ; move slowly to z axis endstop once more (second pass)
G1 H1 Y1500 F2400 ; move quickly to X and Y axis endstops and stop there (first pass)
G92 Y770 Z94 ; Set Home Position - change to your machine size.
G1 Y-3 F2400 ; go back a few mm
G1 H1 Y1500 F300 ; move slowly to X and Y axis endstops once more (second pass)
G92 Y770 Z94 ; Set Home Position - change to your machine size.
G90 ; absolute positioning
homez.g
; homez.g
; called to home the Z axis
G91 ; relative positioning
G21 ; Set units to mm
G1 H1 Z94 F1500 ; move quickly to Z axis endstop and stop there (first pass)
G92 Z94 ; Set Home Position - change to your machine size.
G1 Z-3 F2400 ; go back a few mm
G1 H1 Z94 F300 ; move slowly to X axis endstop once more (second pass)
G92 Z94 ; Set Home Position - change to your machine size.
G90 ; absolute positioning
homeall.g
; homeall.g
; called to home all axes
G91 ; relative positioning
G21 ; Set units to mm
G1 H1 Z94 F900 ; move quickly to Z axis endstop and stop there (first pass)
G1 Z-3 F2400 ; go back a few mm
G1 H1 Z94 F300 ; move slowly to z axis endstop once more (second pass)
G1 H1 X1500 Y1500 F2400 ; move quickly to X and Y axis endstops and stop there (first pass)
G92 X800 Y770 Z94 ; Set Home Position - change to your machine size.
G1 X-3 Y-3 F2400 ; go back a few mm
G1 H1 X1500 Y1500 F300 ; move slowly to X and Y axis endstops once more (second pass)
G92 X800 Y770 Z94 ; Set Home Position please change to your machine size.
G90 ; absolute positioning