also I would like to report a bug. when the endstop is positioned upwards for the z axis the platter stops when it touches the endstop but if you give the command again it continues to rise ignoring that the limit switch was already pressed
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Sep 26 2020 13:33:30 GMT+0200 (Ora legale dell’Europa centrale)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-235 Y-215 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-235 ; home X axis
G1 H1 Y-215 ; home Y axis
G1 X5 Y5 F6000 ; go back a few mm
G1 H1 X-235 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y-215 ; then move slowly to Y axis endstop
G1 H1 Z205 F360 ; move Z up stopping at the endstop
G90 ; absolute positioning
G92 Z0 ; set Z position to axis maximum (you may want to adjust this)
; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Sep 26 2020 13:34:47 GMT+0200 (Ora legale dell’Europa centrale)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Z205 F1800 ; move Z up until the endstop is triggered
G92 Z0 ; set Z position to axis maximum (you may want to adjust this)
; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning
config.g
; Axis Limits
M208 X0 Y0 Z-200 S1 ; set axis minima
M208 X230 Y210 Z0 S0 ; set axis maxima
; Endstops
M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
M574 Z2 S1 P"zstop" ; configure active-high endstop for high end on Z via pin zstop