Setting bed origin



  • I don't know why but I have problems setting my bed origin which should be in the front left corner. Printer is a Corexy with Duet 3 running the latest version. X and Y stop is at min. When I move the nozzle to the front left corner coordinates are X77 Y84. What do I have to do to define this point as 0,0? I already read the "Centering_the_bed_or_setting_the_bed_origin" Wiki guide but for any reason I don't get it to work. I think my brain is just a little bit twisted 🤒

    IMG_0045.png

    config.g

    ; Configuration file for Duet 3 (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Mon Aug 10 2020 22:00:49 GMT+0200 (Central European Summer Time)
    
    ; General preferences
    G90                                                      ; send absolute coordinates...
    M83                                                      ; ...but relative extruder moves
    M550 P"duet3"                                            ; set printer name
    M669 K1                                                  ; select CoreXY mode
    
    ; Drives                                                 ; X:0.0, Y:0.1, E:0.2, Z_left_rear:0.3, Z_left_front:0.4, Z_right:0.5
    M569 P0.0 S0                                             ; physical drive 0.0 goes forwards
    M569 P0.1 S0                                             ; physical drive 0.1 goes forwards
    M569 P0.2 S1                                             ; physical drive 0.2 goes forwards
    M569 P0.3 S0                                             ; physical drive 0.3 goes forwards
    M569 P0.4 S1                                             ; physical drive 0.4 goes forwards
    M569 P0.5 S1                                             ; physical drive 0.5 goes forwards
    
    M584 X0.0 Y0.1 Z0.3:0.4:0.5 E0.2                         ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                                  ; configure microstepping with interpolation
    M92 X200.00 Y200.00 Z800.00 E405.18                      ; set steps per mm
    M566 X600.00 Y600.00 Z24.00 E120.00                      ; set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z6000.00 E1200.00               ; set maximum speeds (mm/min)
    M201 X3000.00 Y3000.00 Z100.00 E5000.00                  ; set accelerations (mm/s^2)
    M906 X1600 Y1600 Z1600 E1600 I30                         ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                                  ; Set idle timeout
    
    ; Three axis setup - leadscrew positions
    M671 X11:11:426 Y355:51:205 S20			                 ; Set up three Z-axis location
    
    ; Axis Limits
    M208 X77 Y84 Z0 S1                                       ; set axis minima
    M208 X391 Y374 Z400 S0                                   ; set axis maxima
    
    ; Endstops
    M574 X1 S1 P"io3.in"                                     ; configure active-high endstop for low end on X via pin io3.in
    M574 Y1 S1 P"io4.in"                                     ; configure active-high endstop for high end on Y via pin io4.in
    
    ; Z-Probe
    M950 S0 C"io7.out"                                       ; create servo pin 0 for BLTouch
    M558 P9 C"^io7.in" H10 F500 T6000                        ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X36.47 Y-4 Z1.030                               ; set Z probe trigger value, offset and trigger height
    M557 X70:335 Y55:335 P6:6                                ; define mesh grid
    
    ; Heaters
    M308 S0 P"temp1" Y"thermistor" T95000 B3950              ; configure sensor 0 as thermistor on pin temp1
    M950 H0 C"out2" T0                                       ; create bed heater output on out1 and map it to sensor 0
    M307 H0 B0 S1.00                                         ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0                                                  ; map heated bed to heater 0
    M143 H0 S120                                             ; set temperature limit for heater 0 to 120C
    M308 S1 P"temp0" Y"thermistor" T500000 B4723 C1.19622e-7 ; configure sensor 1 as thermistor on pin temp0
    M950 H1 C"out3" T1                                       ; create nozzle heater output on out2 and map it to sensor 1
    M307 H1 B0 S1.00                                         ; disable bang-bang mode for heater  and set PWM limit
    
    ; Fans
    ;M950 F0 C"out4" Q25000                                   ; create fan 0 on pin out4 and set its frequency
    M950 F0 C"!out4+out4.tach"
    M106 P0 S1 H-1 I1 C"Hotend"                              ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"out5" Q500                                     ; create fan 1 on pin out5 and set its frequency
    M106 P1 S0 H-1 C"Bed".                                   ; set fan 1 value. Thermostatic control is turned on
    M950 F2 C"out6" Q500                                     ; create fan 2 on pin out6 and set its frequency
    M106 P2 S0.5 H-1 C"Board"                                ; set fan 2 value. Thermostatic control is turned off
    M950 F3 C"out7" Q500                                     ; create fan 3 on pin out7 and set its frequency
    M106 P3 S1 H-1 C"SBC"                                    ; set fan 3 value. Thermostatic control is turned off
    
    ; Tools
    M563 P0 S"Hotend" D0 H1 F1                               ; define tool 0
    G10 P0 X0 Y0 Z0                                          ; set tool 0 axis offsets
    G10 P0 R0 S0                                             ; set initial tool 0 active and standby temperatures to 0C
    
    ; Custom settings are not defined
    
    ; Miscellaneous
    M575 P1 S1 B115200                                       ; enable support for PanelDue
    M501                                                     ; load saved parameters from non-volatile memory
    T0                                                       ; select first tool
    
    


  • when you home, the values are taken from M208.
    Your M208 minima value is X77 and Y84. You should change these to X0 Y0



  • @jay_s_uk said in Setting bed origin:

    when you home, the values are taken from M208.
    Your M208 minima value is X77 and Y84. You should change these to X0 Y0

    OK thanks, but what's about the offset I have. The bed starts at 77,84 and not at 0,0? Where do I have to set this?



  • @MartinNYHC M208 X0 Y0 Z0 S1 instead of M208 X77 Y84 Z0 S1



  • @MartinNYHC
    If when you home, it is 77mm away from the bed, set the minima as X-77 and then 0 would be at the bed edge. Same as with Y. This is how I deal with it on my machines, although I use centre origin.

    This of course would throw out all your screw locations etc.



  • Got it and it works. Thanks!


Log in to reply