[SOLVED]Z height and M208 from v1 RRF web config



  • Been scratching my head how to get my Z axis to home at Z=120.

    I used v1 RRP configurator as I had issues with the new one and PT100 inputs.

    I enter No Z probe, Zmin 0, Zmax 120. Limit switch at Zmax

    ; Axis Limits
    M208 X0 Y0 Z0 S1                                     ; Set axis minima
    M208 X123 Y128 Z120 S0                               ; Set axis maxima
    
    ; Endstops
    M574 X1 Y1 S1                                        ; Set active high endstops
    
    ; Z-Probe
    M558 P0 H5 F120 T6000                                ; Disable Z probe but set dive height, probe speed and travel speed
    M557 X0:120 Y15:105 S30                              ; Define mesh grid
    

    Is the generated config, but if I run G28 machine correctly moves bed down and hits the switch, but the axis is set to Z=0 and not Z=120.

    After a heavy detour with adding G92 to homeall.g I changed the M208 by hand to M208 X123 Y128 Z120:0 S0 and that seems to get me the desired result.

    Is there a way to input this into the RRF and produce the desired output, so the config.json file is valid for future changes?



  • Seems you didnt configure endstop for Z axis. So you should add:
    M574 Z2 Sx - where x is 0 or 1 depends your switch type. Z2 means endstop on high end of Z axis.



  • I did see that, but between having clicked the relevant buttons in RRF and the board actually responding to the Z switch I presumed magic was involved.
    0_1552135839707_ac5d3f47-e224-4da6-9169-fad4fb66b35d-image.png
    But adding M574 Z2 S1 and leaving M208 as it was originally certainly fixed it, homes correctly and sets the Z height as I want.

    Thank you for your help!


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.