please help z axis confusion
-
hey guys I'm having some issues and don't know what to do. i can home my printer fine and run mesh bed leveling and every thing but every time i go to print it runs straight in to my bed and when I compensate for that with babysteps on layer 2 it jumps up like 5mm for second layer on print and i don't know what could be wrong. i will add my config and a example print to see if maybe someone may be able to help I'm running a longer lk1 its a 300x300x400 Cartesian. thanks in advance.```
undefined; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.0 on Wed Aug 25 2021 16:58:52 GMT-0700 (Pacific Daylight Time); 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 S0 ; physical drive 1 goes backwards
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 X80.00 Y80.00 Z4000.00 E67.91 ; set steps per mm
M566 X4500.00 Y4500.00 Z60.00 E6000.00 ; set maximum instantaneous speed changes (mm/min)
M203 X30000.00 Y30000.00 Z600.00 E6000.00 ; set maximum speeds (mm/min)
M201 X800.00 Y800.00 Z20.00 E2500.00 ; set accelerations (mm/s^2)
M906 X1300 Y1300 Z1300 E1000 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S10 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X300 Y300 Z400 S0 ; set axis maxima; Endstops
M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin !xstop
M574 Y2 S1 P"!ystop" ; configure active-high endstop for high end on Y via pin !ystop
M574 Z2 S2 ; configure Z-probe endstop for high end on Z; Z-Probe
M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H10 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X-30 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4500 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat 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 S150 ; set temperature limit for heater 0 to 150C
M308 S1 P"e0temp" Y"thermistor" T100000 B4000 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S300 ; set temperature limit for heater 1 to 300C; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on; Tools
M563 P0 D0 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
; Miscellaneous
M501 ; load saved parameters from non-volatile memoryundefined[NEW BLTOUCH GODE DUET.gcode](/assets/uploads/files/1629986504957-new-bltouch-gode-duet.gcode)
-
This post is deleted! -
@arnold_r_clark my bl touch all works perfect but here is home all```
undefined; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.3.0 on Wed Aug 25 2021 16:58:52 GMT-0700 (Pacific Daylight Time)
G91 ; relative positioning
G1 H2 Z10 F6000 ; lift Z relative to current position
G1 H1 X-305 Y305 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y-5 F6000 ; go back a few mm
G1 H1 X-305 Y305 F360 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioning
G1 X45 Y15 F6000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z10 F100 ; lift Z relative to current position
;G90 ; absolute positioningand here is home z```; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.3.0 on Wed Aug 25 2021 16:58:52 GMT-0700 (Pacific Daylight Time)
G91 ; relative positioning
G1 H2 Z10 F6000 ; lift Z relative to current position
G90 ; absolute positioning
G1 X45 Y15 F6000 ; go to first probe point
G30 ; home Z by probing the bed; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z10 F100 ; lift Z relative to current position
;G90 ; absolute positioningundefined
here is even my cura start gcode i got from longer for bl touch
undefined-- BL-TOUCH START GCODE --
G21 ; metric values
G90 ; absolute positioning
M82 ; set extruder to absolute mode
M107 ; start with the fan off
; confirm BL-touch safety
M280 P0 S160 ; BL-Touch Alarm release
G4 P100 ; Delay for BL-Touch homing
G28 X0 Y0 ; move X/Y to min endstops
G28 Z0 ; move Z to min endstops
; reconfirm BL-touch safety
M280 P0 S160 ; BL-Touch Alarm realease
G4 P100 ; Delay for BL-Touch
; bed leveling
G29; Auto leveling
M420 Z5 ; set LEVELING_FADE_HEIGHT
M500 ; save data of G29 and M420
M420 S1 ; enable bed leveling
; prepare hot-end
G92 E0 ; zero the extruded length
G1 F200 E3 ; extrude 3mm of feed stock
G92 E0 ; zero the extruded length again
M117 Printing
; -- end of BL-TOUCH START GCODE --anything else you can think of?
-
and im runnind duet 2 wifi and rrf 2.2 and web 1.26
-
@kevinlallshouse said in please help z axis confusion:
and im runnind duet 2 wifi and rrf 2.2 and web 1.26
When using the </> tag you should see:
- a row of three ` characters
- a row with just the word undefined
- a row of three ` characters
Paste the code over the word undefined being sure to not disturb the rows of ` characters.
-
i think i figured out the issue i disabled axis limits and adjusted trigger hight and re zero z axis and it seems to be working but my cura code is causeing a auto level before each print can anyone see mistakes in it that i posted?
-
@kevinlallshouse said in please help z axis confusion:
i think i figured out the issue i disabled axis limits and adjusted trigger hight and re zero z axis and it seems to be working but my cura code is causeing a auto level before each print can anyone see mistakes in it that i posted?
Could you go back and edit your post with the files? You didn't get the use of the </> tag correct.
Frederick
-
@kevinlallshouse said in please help z axis confusion:
M92 X80.00 Y80.00 Z4000.00 E67.91 ; set steps per mm
Is 4000 for sure correct for your Z axis steps per mm?
@kevinlallshouse said in please help z axis confusion:
M420 Z5 ; set LEVELING_FADE_HEIGHT
M500 ; save data of G29 and M420
M420 S1 ; enable bed levelingM420 isn't a valid gcode in reprapfirmware. And M500 isn't doing what you think there and should be removed. This looks like marlin specific gcodes not applicable on a Duet.
-
@phaedrux ok great thank you i have the Cura fixed but I'm having issues with my z steps like u said. my problem is I have a longer lk1 lead screw that's 8mm and I cant find any info on it so I'm quite sure its wrong. an ideas were I could start to calculate them correctly or how to identify my lead screw?
-
Well if you have absolutely no idea what your lead screw is you can just tell it to move a small amount that you can measure and see how much it differs. Then do the math to see how much you're off. Similar to how with extruder is calibrated. You tell it to move 100mm and then measure how much it actually moved and then adjust the steps as needed.
-
Ok that was my thought as well. I'm in the process of going dual z leads so I'm just waiting on new leads then I will know for sure. I don't need to change any settings for dual z correct? just wire in place of z jumpers and good to go from my understanding? or am I'm I mistaken? and thanks for taking time to answer all my questions
-
Yes you can use the dual output Z driver to run the two z motors together without any other configuration.
If you have a spare driver free you could use a separate driver for the second motor and then use it for auto leveling.
https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors