Wrong cube calibration 20x20x80



  • HI again guys, I have a problem that I can't solve. I have cartesian.
    It is Z axis, would calibrate with a cube that is 20x20x20 mm slice with Cura4.5, but it becomes after printing 20x20x80mm 80mm is Z axis. i have Nema 1.8, motor curent 800mA, lead screw M8, 2mm pitch, 1600.00 at x16 microstepping.
    what I'm doing wrong.
    attach the config.h and the Cura file.
    Thanks for the help

    ;FLAVOR:RepRap
    ;TIME:3500
    ;Filament used: 2.41289m
    ;Layer height: 0.1
    ;MINX:109.7
    ;MINY:99.7
    ;MINZ:0.3
    ;MAXX:150.3
    ;MAXY:140.3
    ;MAXZ:25
    ;Generated with Cura_SteamEngine 4.5.0
    T0
    M190 S60
    M104 S200
    M109 S200
    M82 ;absolute extrusion mode
    G21 ;metric values
    G90 ;absolute positioning
    M82 ;set extruder to absolute mode
    M107 ;start with the fan off
    M109 S180 B210 F1;activate auto temp min 180 max 210 scaling factor 1 (for PLA)
    G28; Home Axis
    G1 Z5.0 F9000 ;move the head 5mm up for CYA clearance
    G92 E0 ;zero the extruded length
    G1 X100 Y0 F4000 ; move half way along the front edge
    G1 Z1 ; move nozzle close to bed
    M109 S200 ; heat nozzle to 200 degC and wait until reached
    G4 P10000 ; wait 10 seconds for nozzle length to stabilize
    G1 E10 ; extrude 10 mm of filament
    G1 z15 F12000 E5 ; move 15 mm up, fast, while extruding 5mm
    G92 E0 ; reset extruder
    M117 Printing...;Put printing message on LCD screen
    M141 S28
    M83 ;relative extrusion mode
    G1 F1500 E-6.5
    ;LAYER_COUNT:248
    ;LAYER:0
    M107
    G0 F3600 X111.58 Y102.422 Z0.3
    ;TYPE:SKIRT
    G1 F1500 E6.5
    G1 F1800 X112.123 Y101.849 E0.03938
    G1 X112.722 Y101.334 E0.03941
    G1 X113.37 Y100.883 E0.03939
    G1 X114.061 Y100.499 E0.03944
    G1 X114.786 Y100.187 E0.03938
    G1 X115.539 Y99.95 E0.03938
    G1 X116.313 Y99.791 E0.03942
    G1 X117.098 Y99.71 E0.03937
    G1 X142.5 Y99.7 E1.26731
    G1 X143.289 Y99.74 E0.03941
    
    ; Configuration file for Duet WiFi (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sat Mar 07 2020 00:00:28 GMT+0100 (centraleuropeisk normaltid)
    
    ; General preferences
    G90                                     ; send absolute coordinates...
    M83                                     ; ...but relative extruder moves
    M550 P"My Printer"                      ; set printer name
    
    ; Network
    M552 S1                                 ; enable network
    M586 P0 S1                              ; enable HTTP
    M586 P1 S0                              ; disable FTP
    M586 P2 S0                              ; disable Telnet
    
    ; Drives
    M569 P0 S1                              ; physical drive 0 goes forwards
    M569 P1 S1                              ; physical drive 1 goes forwards
    M569 P2 S0                              ; physical drive 2 goes backwards
    M569 P3 S0                              ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E3                        ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                 ; configure microstepping with interpolation
    M92 X160.00 Y160.00 Z1600.00 E837.08     ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00     ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E250.00     ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800 I30            ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                 ; Set idle timeout
    
    ; Axis Limits
    M208 X0 Y0 Z0 S1                        ; set axis minima
    M208 X260 Y240 Z240 S0                  ; set axis maxima
    
    ; Endstops
    M574 X1 Y1 Z1 S1                        ; set active low and disabled endstops
    
    ; Z-Probe
    M558 P0 H5 F120 T6000                   ; disable Z probe but set dive height, probe speed and travel speed
    M557 X15:215 Y15:195 S20                ; define mesh grid
    
    ; Heaters
    M305 P0 T100000 B4138 R4700             ; set thermistor + ADC parameters for heater 0
    M143 H0 S120                            ; set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R4700             ; set thermistor + ADC parameters for heater 1
    M143 H1 S280                            ; set temperature limit for heater 1 to 280C
    
    ; Fans
    M106 P0 S0 I0 F500 H-1                  ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45               ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    
    ; Tools
    M563 P0 D0 S"TitanAero" H1 F0           ; 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
    
    

  • Moderator

    @chris4 I’d guess you’ve actually got 4-start, 8mm pitch leadscrew. Doesn’t really matter, just set M92 Z400.

    Ian



  • @droftarts said in Wrong cube calibration 20x20x80:

    I’d guess you’ve actually got 4-start, 8mm pitch leadscrew. Doesn’t really matter, just set M92 Z400

    Thanks ,
    have tried with the M92 Z400 it too but it will be the same height on the Z axis.


  • administrators

    @chris4 said in Wrong cube calibration 20x20x80:

    @droftarts said in Wrong cube calibration 20x20x80:

    I’d guess you’ve actually got 4-start, 8mm pitch leadscrew. Doesn’t really matter, just set M92 Z400

    Thanks ,
    have tried with the M92 Z400 it too but it will be the same height on the Z axis.

    Send M92 without parameters and check that the Z parameter it reports matches the value you have set it to. Changing the Z steps/mm from 1600 to 400 cannot fail to reduce the Z height by a factor of 4.



  • @dc42 said in Wrong cube calibration 20x20x80:

    M92 without parameters

    Should now try M92 without parameters in config.h



  • Homing failed without M92 parameters on config.h file, have tried to send M92 on G code but nothing happens



  • noticed that when I move Z axis +0,5 =2mm, +5 = 20mm, +25 = 100mm up is it correct?



  • @chris4 said in Wrong cube calibration 20x20x80:

    M92 X160.00 Y160.00 Z1600.00 E837.08

    Your M92 command in config.g file should looks like this M92 X160.00 Y160.00 Z400.00 E837.08



  • Have tried it with M92 X160.00 Y160.00 Z1600.00 E837.08,
    but it will be the same


  • administrators

    No, send M92 without parameters from the console. It will report the current M92 settings. Use this to check that the value that you think you have set in config.g is the value being used by the firmware.



  • @chris4 said in Wrong cube calibration 20x20x80:

    Have tried it with M92 X160.00 Y160.00 Z1600.00 E837.08,
    but it will be the same

    It is same, if your Z value is 1600. You should change it to 400.



  • @dc42 said in Wrong cube calibration 20x20x80:

    No, send M92 without parameters from the console. It will report the current M92 settings. Use this to check that the value that you think you have set in config.g is the value being used by the firmware.

    The answer from the console :
    M92
    Steps/mm: X: 160.000, Y: 160.000, Z: 1600.000, E: 837.080

    And from config.h
    M92 X160.00 Y160.00 Z1600 E837.08 ; set steps per mm


  • Moderator

    Change your config.g

    M92 Z1600 should be M92 Z400


  • Moderator

    @Phaedrux that’s six times now we’ve told him to change Z1600 to Z400!

    Ian


  • Moderator

    @droftarts Ten if you count the times I've shouted it at the screen. 😛



  • @droftarts
    have tried with the M92 Z400 it too but it will be the same height on the Z axis.
    Changing the Z steps/mm from 1600 to 400 cannot fail to reduce the Z height by a factor of 4.



  • @droftarts
    have tried with the M92 Z400 it too but it will be the same height on the Z axis.
    Changing the Z steps/mm from 1600 to 400 cannot fail to reduce the Z height by a factor of 4.



  • @Phaedrux
    have tried with the M92 Z400 it too but it will be the same height on the Z axis.
    Changing the Z steps/mm from 1600 to 400 cannot fail to reduce the Z height by a factor of 4.



  • How have you "tried" this? Have you changed your config file? Btw its config.g, not config.h



  • @aidar said in Wrong cube calibration 20x20x80:

    Btw its config.g, not config.h

    @chris4 Repeat - Change the M92 in CONFIG.G from 1600 to 400



  • @deckingman
    As I had written earlier in posts I have tried with the Z400 in config.g
    And it became the same height on the Z axis (80mm).
    because you said, I have tested again and it became the same height (80 mm)


  • Moderator

    Post your entire config.g please.



  • ; Configuration file for Duet WiFi (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sat Mar 07 2020 00:00:28 GMT+0100 (centraleuropeisk normaltid)
    
    ; General preferences
    G90                                     ; send absolute coordinates...
    M83                                     ; ...but relative extruder moves
    M550 P"My Printer"                      ; set printer name
    
    ; Network
    M552 S1                                 ; enable network
    M586 P0 S1                              ; enable HTTP
    M586 P1 S0                              ; disable FTP
    M586 P2 S0                              ; disable Telnet
    
    ; Drives
    M569 P0 S1                              ; physical drive 0 goes forwards
    M569 P1 S1                              ; physical drive 1 goes forwards
    M569 P2 S0                              ; physical drive 2 goes backwards
    M569 P3 S0                              ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E3                        ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                 ; configure microstepping with interpolation
    M92 X160.00 Y160.00 Z400 E837.08       ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00     ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E250.00     ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800 I30            ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                 ; Set idle timeout
    
    ; Axis Limits
    M208 X0 Y0 Z0 S1                        ; set axis minima
    M208 X260 Y240 Z240 S0                  ; set axis maxima
    
    ; Endstops
    M574 X1 Y1 Z1 S1                        ; set active low and disabled endstops
    
    ; Z-Probe
    M558 P0 H5 F120 T6000                   ; disable Z probe but set dive height, probe speed and travel speed
    M557 X15:215 Y15:195 S20                ; define mesh grid
    
    ; Heaters
    M305 P0 T100000 B4138 R4700             ; set thermistor + ADC parameters for heater 0
    M143 H0 S120                            ; set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R4700             ; set thermistor + ADC parameters for heater 1
    M143 H1 S280                            ; set temperature limit for heater 1 to 280C
    
    ; Fans
    M106 P0 S0 I0 F500 H-1                  ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45               ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    
    ; Tools
    M563 P0 D0 S"TitanAero" H1 F0           ; 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
    
    
    

  • Moderator

    @chris4 your config.g is correct, with z400 in the M92 command. But have you reset the printer, or power off/power on, or sent M999, or pressed emergency stop in DWC, or sent M98 P”config.g”?

    Because the settings in config.g won’t take effect until the machine is rebooted, or the config.g is run again.

    I suggested you sent M92 Z400. I didn’t specify how to do this, unfortunately. You can send gcode commands directly in the DWC, in the console window, to see the response. This is also where you can send M92 on its own to see the current setting.

    I’m sorry if this is not obvious to someone who is new to Duet, but most of these basic interactions are covered in the documentation.

    Ian



  • @droftarts said in Wrong cube calibration 20x20x80:

    M92

    Yes, have done.
    This is from G console :
    21:45:11M92
    Steps/mm: X: 160.000, Y: 160.000, Z: 400.000, E: 837.080
    21:44:47Connection established!
    21:44:43Disconnected.
    21:44:05M92 Z400.
    will try printing again afterwards


Log in to reply