Second Layer Off & Offsets Question



  • So I've had a few interesting troubles getting my idex going with the duet 3.

    The first is that my offsets only seem to allow for a negative offset and not a positive one. No error happens when I start a print with a positive offset on an axis, but it pretends like they don't exist. I've managed to make it work but it is a bit of a pain and I wonder why that would be?

    The second problem is that my second layer height is printing too high above the print bed. I kind of wonder if it is related to my babystepping or if it is related to my z offset.

    The third problem is that if I pause and then restart a print, the z height seems to change. not by a lot... probably less than .5mm but it definitely does change. and happens every time I pause then start the print again on the first layer.

    config (1).g
    pause.g resume.g



  • Hi,

    I've re-posted your files using the </> tag - it saves folks the trouble of downloading your files.

    Frederick

    config.g

    ; Configuration file for Duet 3 (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.2 on Mon Feb 08 2021 10:27:51 GMT-0500 (Eastern Standard Time)
    
    ; General preferences
    G90                                                     ; send absolute coordinates...
    M83                                                     ; ...but relative extruder moves
    M550 P"Duet 3"                                          ; set printer name
    
    ; Drives
    M569 P0.1 S0                                            ; physical drive 0.0 goes forwards
    M569 P0.2 S1                                            ; physical drive 0.2 goes forwards
    M569 P0.3 S1                                            ; physical drive 0.3 goes forwards
    M569 P0.0 S0                                            ; physical drive 0.1 goes forwards
    M569 P0.4 S0                                            ; physical drive 0.4 goes forwards
    M569 P0.5 S0                                            ; physical drive 0.5 goes forwards
    M584 X0.1 Y0.2 Z0.3 U0.0 E0.5:0.4                       ; set drive mapping
    M350 X16 Y16 Z16 U16 E16:16 I1                          ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 U80.00 E840.00:840.00         ; set steps per mm
    M566 X200.00 Y200.00 Z60.00 U200.00 E900.00:900.00      ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 U6000.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
    M201 X1000.00 Y1000.00 Z20.00 U1000.00 E3000.00:3000.00      ; set accelerations (mm/s^2)
    M906 X1000 Y1500 Z1600 U1000 E800:800 I30                   ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                                 ; Set idle timeout
    
    ; Axis Limits
    M208 X-41 Y-18 Z0 U0 S1                                      ; set axis minima
    M208 X310 Y310 Z285 U345 S0                                  ; set axis maxima
    
    ; Endstops
    M574 X1 S1 P"io1.in"                                    ; configure active-high endstop for low end on X via pin io0.in
    M574 U2 S1 P"io0.in"                                    ; configure active-high endstop for high end on U via pin io1.in
    M574 Y1 S3                                              ; configure sensorless endstop for low end on Y
    M915 Y R0 F0                                            ; configure sensorless endstop
    M574 Z1 S2                                              ; configure Z-probe endstop for low end on Z
    
    ; Z-Probe
    M950 S0 C"io7.out"                                      ; create servo pin 0 for BLTouch
    M558 P9 C"^io7.in" H5 F120 T6000                        ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X-29.75 Y-14.5 Z4.7                            ; set Z probe trigger value, offset and trigger height, was 4.1
    M557 X15:280 Y15:280 S20                                ; define mesh grid
    
    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T100000 B4138            ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out0" T0                                      ; create bed heater output on out0 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 S115                                            ; set temperature limit for heater 0 to 115C
    M308 S1 P"temp2" Y"thermistor" T100000 B4138            ; configure sensor 1 as thermistor on pin temp1
    M950 H1 C"out2" T1                                      ; create nozzle heater output on out1 and map it to sensor 1
    M307 H1 B0 S1.00                                        ; disable bang-bang mode for heater  and set PWM limit
    M143 H1 S280                                            ; set temperature limit for heater 1 to 280C
    M308 S2 P"temp1" Y"thermistor" T100000 B4138            ; configure sensor 2 as thermistor on pin temp2
    M950 H2 C"out1" T2                                      ; create nozzle heater output on out2 and map it to sensor 2
    M307 H2 B0 S1.00                                        ; disable bang-bang mode for heater  and set PWM limit
    M143 H2 S280                                            ; set temperature limit for heater 2 to 280C
    
    ; Fans
    M950 F0 C"out8" Q500                                    ; create fan 0 on pin out4 and set its frequency
    M106 P0 S0 H-1                                          ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"out7" Q500                                    ; create fan 1 on pin out7 and set its frequency
    M106 P1 S0 H-1                                          ; set fan 1 value. Thermostatic control is turned on
    M950 F2 C"out4" Q500                                    ; create fan 2 on pin out5 and set its frequency
    M106 P2 S1 H2 T45                                       ; set fan 2 value. Thermostatic control is turned off
    M950 F3 C"out5" Q500                                    ; create fan 3 on pin out8 and set its frequency
    M106 P3 S1 H1 T45                                       ; set fan 3 value. Thermostatic control is turned on
    
    ; Tools
    M563 P0 S"Pinky" D0 H1 F0                               ; define tool 0
    G10 P0 X0 Y0 Z-0.325 R0 S195                                 ; set tool 0 axis offsetsset initial tool 0 active and standby temperatures to 195C
    M563 P1 S"The Brain" D1 H2 X3 F1                        ; define tool 1
    G10 P1 X0.2 Y0 Z0.00 R0 S195                              ; set tool 1 axis offsetsset initial tool 1 active and standby temperatures to 195C
    
    ;Create a tool that prints 2 copies of the object using both carriages
    M563 P2 S"Pinky & The Brain" D0:1 H1:2 X0:3 F0:1        ; tool 2 uses both extruders, hot end heaters and fans, and maps X to both X and U
    G10 P2 X50 Y0 U-50 S0 R0                                ; set tool offsets and temperatures
    M567 P2 E1:1                                            ; set mix ratio 100% on both extruders
    ; Custom settings are not defined
    
    ; Miscellaneous
    M572 D0:1 S0.03:0.03                                    ; pressure advance. no more than .1 for the S value
    M501                                                    ; load saved parameters from non-volatile memory
    
    

    pause.g

    ; pause.g
    ; called when a print from SD card is paused
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.2 on Mon Feb 08 2021 10:27:52 GMT-0500 (Eastern Standard Time)
    M83            ; relative extruder moves
    G1 E-.5 F3600   ; retract 2mm of filament
    G91            ; relative positioning
    G1 Z5 F100     ; lift Z by 5mm
    G90            ; absolute positioning
    G1 H2 X-41 U345 F6000 ; park both heads
    

    resume.g

    ; resume.g
    ; called before a print from SD card is resumed
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.2 on Mon Feb 08 2021 10:27:52 GMT-0500 (Eastern Standard Time)
    G1 R1 X0 Y0 Z5 F6000 ; go to 5mm above position of the last print move
    G1 R1 X0 Y0          ; go back to the last print move
    M83                  ; relative extruder moves
    G1 E.5 F3600          ; extrude 2mm of filament
    


  • @fcwilt

    thanks... hows that work? do i upload the file then put it in like this: "<download link>" or do i copy past the text in "<text>"?



  • @warbunnies said in Second Layer Off & Offsets Question:

    @fcwilt

    thanks... hows that work? do i upload the file then put it in like this: "<download link>" or do i copy past the text in "<text>"?

    You use the </> tag and paste your code between the two sets of ``` characters.

    Frederick



  • @fcwilt said in Second Layer Off & Offsets Question:

    M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0

    all your thermistor settings are incorrect. find the correct beta value in your thermistor documentation

    also what firmware verion are you running? there were some bugfixes regarding offset of tools in the last update.



  • @Veti I'll look into the thermistors... they are performing great though and not really an issue... if i was printing anything but pla on this machine for work it'd probably be more critical.

    the firmware is: RepRapFirmware for Duet 3 MB6HC 3.01-RC9 (2020-04-21b1)



  • @warbunnies said in Second Layer Off & Offsets Question:

    the firmware is: RepRapFirmware for Duet 3 MB6HC 3.01-RC9 (2020-04-21b1)

    please update to 3.2
    https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware



  • @Veti Will do.... as soon as i figure out how. I've never actually used a pi before and I don't really understand how to send the "sudo apt update
    sudo apt upgrade" commands. is there a way to initiate that from the duet ui or do i have to find a way to plug in the pi to a screen and keyboard?





  • but if you are not familiar with linux, why are you running the duet in sbc mode and not standalone mode?



  • @Veti honestly cause that seemed like it was the suggested way of doing it... the instructions as i understood them made standalone sound like a dated alternative.



  • its not dated at all and works quite well.
    some say it runs better in standalone.



  • @Veti okay the ssh instructions seem clear enough. i should be fine pulling that off.


Log in to reply