Z axis printing from the top
-
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.2 on Fri Sep 17 2021 19:01:14 GMT-0400 (Eastern Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Ender 3 Pro" ; set printer name M918 P1 E4 F2000000 ; configure direct-connect display ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes backwards M569 P1 S0 ; physical drive 1 goes backwards M569 P2 S1 ; physical drive 2 goes forwards 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 Z400.00 E93.00 ; set steps per mm M566 X1200.00 Y1200.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min) M203 X9000.00 Y9000.00 Z180.00 E6000.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z100.00 E5000.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E1000 I50 ; 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 X235 Y235 Z260 S0 ; set axis maxima ; Endstops M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop M574 Z1 S1 P"zstop" ; configure active-high endstop for low end on Z via pin zstop ; 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 M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; 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 B1 S1.00 ; enable 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 B4092 ; 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 S275 ; set temperature limit for heater 1 to 275C ; 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 M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H1:0 T45 ; set fan 2 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 memory M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
homez.g homey.g homex.g homeall.g
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.3.2 on Fri Sep 17 2021 19:01:14 GMT-0400 (Eastern Daylight Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X240 Y240 F3000 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H2 X-5 Y-5 F6000 ; go back a few mm G1 H1 X240 Y240 F240 ; move slowly to X and Y axis endstops once more (second pass) G1 H1 Z-265 F240 ; move Z down stopping at the endstop G90 ; absolute positioning G92 Z0 ; set Z position to axis minimum (you may want to adjust this) ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
-
@messiahman so the Z homes to the endstop at the bottom of the Z axis?
-
@t3p3tony yup, it homes to the bottom of the z axis just fine
-
@Messiahman after homing I assume normal jogging of the Z axis works as expected? I cant see any reason on the config or homeall.g for that not to be the case.
What is the first few lines of the gcode file you are printing, up to the first movements of the first layer?
-
@t3p3tony I'm not sure of how to send that as I only upload files from cura, and when I try to upload the sliced benchy it tells me the file is too big.
-
@messiahman just copy out the first 50 lines or so
-
@messiahman open the gcode file in a text editor and then as @jay_s_uk says, copy the top 50 or so lines.
-
@t3p3tony
;FLAVOR:Marlin
;TIME:6716
;Filament used: 6.14124m
;Layer height: 0.3
;MINX:76.346
;MINY:93.893
;MINZ:0.12
;MAXX:139.762
;MAXY:126.159
;MAXZ:48.12
;Generated with Cura_SteamEngine 4.10.0
M140 S70
M105
M190 S70
M104 S200
M105
M109 S200
M82 ;absolute extrusion mode
; Ender 3 Custom Start G-code
G92 E0 ; Reset Extruder
G28 ; Home all axes
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line
G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line
G92 E0 ; Reset Extruder
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish
G92 E0
G92 E0
G1 F1500 E-6.5
;LAYER_COUNT:161
;LAYER:0
M107
G0 F6000 X79.978 Y97.614 Z0.12
;TYPE:SKIRT
G1 F1500 E0
G1 F1200 X80.242 Y97.413 E0.00662
G1 X80.894 Y96.967 E0.02239
G1 X81.572 Y96.596 E0.03781
G1 X81.843 Y96.465 E0.04382
G1 X82.23 Y96.291 E0.05228
G1 X83.147 Y95.971 E0.07167
G1 X83.421 Y95.894 E0.07735
G1 X84.556 Y95.664 E0.10046
G1 X84.818 Y95.631 E0.10573
G1 X85.323 Y95.584 E0.11585
G1 X108.992 Y94.155 E0.58905
G1 X109.292 Y94.143 E0.59504 -
Is the Z drive running into the right direction?
M569 P2 S1 ; physical drive 2 goes forwards
-
@messiahman there is nothing obvious in that file to command the Z axis up to the top. I asked previously if after homing I assume normal jogging of the Z axis works as expected?
At what point in the print file that you put the first few lines above does it move up to the top?
You can see it heats the extruder and bed.
Then homes (G28)
Then moves Z up 2mm (G1 Z2.0 F3000)
Then draws a purge line etc -
@t3p3tony I would say it happens at the part where z moved up 2 mm because it homes fine but also it’s been a couple of days. I’ll try reversing the direction the motors turn in in a little while and see if that helps but I can’t entirely imagine that’s what it’s supposed to do
-
@martinnyhc are they supposed to be running backwards? I can try that in a little while and let both of you know if that’s what works
-
@messiahman I don't think its a motor direction issue if it homes correctly to the bottom endstop.
Try
- homing the machine.
- Jogging the Z axis using the dashboard on DWC up and down a bit, confirm it works as expected and the postion reported by DWC is as expected. (0 when homed down to the Bed etc).
then try running the print and see at what point it moved up to the top.
-
@t3p3tony it was the motor direction, I tried it again just now and it started printing at almost the right height, only its a couple millimeters off the bed now
-
@messiahman ahh ok interesting that it still homed the right way. glad you got it sorted.
-
@t3p3tony thank you so much for your help. Any chance you know how I could get it to print at the correct height now? lol
-
@messiahman as you don't have a Z probe the easiest way is to set the home position to what it actually is relative to the bed. so if you home and it is 0.21 mm higher than you want it, adjust your homeall.g and homez.g files to set the Z axis to 0.21 when homing is complete.
The easiest way to find out what the correct abound of adjustment is is to use babystepping to nudge the head down until you get a good first layer.