Strangest issue yet, Z not moving during print
-
So I have been printing for about a week with no issues until today. For the life of me I could not get past the first few layers without the print turning to crap until I realized that the Z axis is not moving during print for layer change, it is printing the first 3-4 layers at the first layer height.
To test this I disabled bed transform so that I could tell if the Z axis indeed was not moving for the layer change and sure enough it wasn't.
All moves fine during the homing and Z-probe and Z-hope during the print but when it comes time to go to the next layer, nothing.As far as I know I have not made any changes to anything in the slicer or config other than offsets for the tools.
Any ideas what would be causing this? I have never encountered this one before.
-
Post your configs and homing files and your slicer start g code.
-
@Phaedrux
Slicer Start G-code:T-1
G28 ; home XY axes
M561 ; Clear any bed transform that might be in place
;M375 ; Load height map
M116 ; Wait to temps
T1 ; Select tool 1
G1 X0 Y0 ; Move to Purge extruder
G1 E15 F500 ;Purge extruderConfig:
;General preferences*******************************************************************
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"BOXX" ; set printer name
M584 U9 ; Drive mapping;Z-Probe*******************************************************************
M307 H7 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
M558 P9 F100 H5 R0.2 T6000 B0 ; Set Z probe type to BLTouch and the dive height + speeds
G31 P25 X-3 Y-39.3 Z0.00 ; Set Z probe trigger value, offset and trigger height
M557 X15:350 Y20:276 S20 ; Define mesh grid;Drives*******************************************************************
M584 X0 Y1 Z2:3 E4:5 ; Drive mapping
M584 U9M569 P0 S0 ; X Drive 0 goes forwards
M569 P1 S1 ; Y Drive 1 goes backwardsM569 P2 S1 ; Z1 Drive 2 goes backwards
M569 P3 S1 ; Z2 Drive 3 goes backwardsM569 P4 S0 ; E0 Drive 4 goes forwards
M569 P5 S0 ; E1 Drive 5 goes forwards
;M569 P6 S0 ; NOT USED;M569 P7 S0 ; NOT USED
;M569 P8 S0 ; NOT USED
M569 P9 S0 ; U Drive 4 goes backwardsM669 K1 ; Select CoreXY mode
M350 X16 Y16 Z16 E16:16 U8 I1 ; Configure microstepping with interpolation
M92 X66 Y66 Z1600 E443.62:443.62 U200 ; Set steps per mmM566 X200 Y200 Z300 E1000:1000 U100 ; Set maximum instantaneous speed changes (Jerk) (mm/min)
M203 X30000 Y30000 Z400 E4000:4000 U5000 ; Set maximum speeds (mm/min)
M201 X800 Y800 Z80 E1000:1000 U800 ; Set accelerations (mm/s^2)M906 X1200 Y1200 Z1300 E400:600 U1200 I30 ; Set motor currents (mA) and motor idle factor in percent
M84 S30 ; Set idle timeout;Heaters*******************************************************************
M305 P0 S"BED" T100000 B4138 C0 ; Set thermistor
M143 H0 S100 ; Set temperature limit for heater 0 to 225CM305 P1 R4700 T100000 B4388 ; Set thermistor
M143 H1 S280 ; Set temperature limit for heater 3 to 300C
M307 H1 A934.7 C268.4 D7.9 V24.1 ; Set PID parameters for heater 1M305 P2 R4700 T100000 B4388 ; Set thermistor
M143 H2 S280 ; Set temperature limit for heater 4 to 300C
M307 H2 A752.5 C253.0 D6.6 V24.1 ; Set PID parameters for heater 2;Tools*******************************************************************
M563 P0 D0 H1 F4 ; Define tool 0
G10 P0 X0 Y0 Z0.69 ; Reset tool 0 axis offsets
G10 P0 R0 S0 ; Reset initial tool 0 active and standby temperatures to 0CM563 P1 D1 H2 F6 ; Define tool 1
G10 P1 X0.99 Y1.2 Z0.8 ; Reset tool 1 axis offsets
G10 P1 R0 S0 ; Reset initial tool 1 active and standby temperatures to 0C;Fans*******************************************************************
;M106 P0 S0 I0 F500 H-1 ; UNUSED
M106 C"T0 FAN" P3 S1 I0 F500 H1 T70 ; T0 HE
M106 C"T0 LAY FAN" P4 S0 ; T0 PCF
M106 C"T1 FAN" P5 S1 I0 F500 H2 T70 ; T1 HE
M106 C"T1 LAY FAN" P6 S0 ; T1 PCF
;M106 P7 S0 H3 T70 ; T2 HE
;M106 P8 S0 ; T2 PCF;Axis Limit*******************************************************************
M208 X0:358 Y0:361 Z0:400 ; Set axis min/max
M208 U0:200 ; Set axis min/max;Endstop Settings*******************************************************************
M574 Z1 S2 ; Set endstops controlled by probe
M574 X1 Y1 S1 ; Set active high endstops
M574 U1 S1 ; Set homing switch configuration for toolchange lock. Both switches should be wired NC and in series.;Resume after power loss*******************************************************************
M911 S21.0 R23.0 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"Homing files:
; homez.g
; called to home the Z axis
M98 P"/macros/BL_TOUCH/Alarm_release.g" ; Clear any faults
M400
G4 P500
G91
G1 S1 Z10 F6000 ; Lift z so we don't crash
G90
G1 X178 Y165 F6000 ; Move probe to middle of bed
M558 F500 ; Set the probing speed
G30 ; Do a single FAST probe to home Z axis
M558 F50 ; Set slower probing speed
G30 ; Do a single SLOW probe to home Z axis; homey.g
; called to home the Y axis
G91 ; relative positioning
G1 S1 Z2 F6000 S2 ; lift Z relative to current position
G1 S1 Y-350 F6000 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y5 F600 ; go back a few mm
G1 Y-10 F360 ; move slowly to Y axis endstop once more (second pass)
G1 Z-2 F6000 S2 ; lower Z again
G90 ; absolute positioning; homex.g
; called to home the X axis
G91 ; relative positioning
G1 S1 Z2 F6000 S2 ; lift Z relative to current position
G1 S1 X-350 F6000 ; move quickly to X axis endstop and stop there (first pass)
G1 X5 F600 ; go back a few mm
G1 X-10 F360 ; move slowly to X axis endstop once more (second pass)
G1 Z-2 F6000 S2 ; lower Z again
G90 ; absolute positioning; homeu.g
G91 ; Set relative mode
G1 U-360 F6000 S1 ; Big negative move to search for home endstop
G1 U4 F600 ; Back off the endstop
G1 U-10 F600 S1 ; Find endstop again slowly
G90 ; Set absolute mode; homeall.g
; Home y, x, z, and Toolchanger Lock axes
M98 P"homeu.g
M98 P"homey.g"
M98 P"homex.g"
M98 P"homez.g" -
How bout the first 50 lines or so of a sliced gcode file.
-
@Phaedrux
Looking at the gcode file looks like the z height does not change for this one until layer 3.
Marvin_Head-1.gcode -
@cdl1701yahoo-com said in Strangest issue yet, Z not moving during print:
Looking at the gcode file looks like the z height does not change for this one until layer 3.
try a different slicer
-
I just tried a g-code file that I printed last week and worked fine now it does the same thing. It's almost as if the Duet is ignoring the z height.
I have Cura installed although I have never used it before, I may give that a try although I don't see why a g-code file that worked last week just fine doesn't work now. I have been using S3D.
-
Verified, Cura does the same thing.
-
Likely not the issue here since you tried a different slicer but at one point I accidentally changed the dialect for the slicer and things started to go real weird. Some instructions where fine but others were ignored.
Just mentioning it here for completeness sake. -
Please post the first 50 lines, not counting any initial "; comment" lines, of a file that worked last week.
-
@Danal
First 50 lines does not give much but here it is.G90
M83
M106 S0
M140 S65
M190 S65
M104 S0 T0
M104 S240 T1
T-1
G28 ; home XY axes
M561 ; Clear any bed transform that might be in place
M375 ; Load height map
T1
M116
G1 X0 Y0 ; Move to Purge extruder
G1 E10 F500 ;Purge extruder
; process 0.2 (PLA)(1)
; layer 1, Z = 0.200
T1
G1 E-1.0000 F2400
; feature skirt
; tool H0.200 W0.400
G1 Z0.250 F1002
G1 X165.432 Y153.219 F18000
G1 Z0.200 F1002
G1 E1.0000 F2400
G1 X166.378 Y152.243 E0.0452 F2400
G1 X166.427 Y152.195 E0.0023
G1 X167.429 Y151.281 E0.0451
G1 X167.481 Y151.237 E0.0022
G1 X168.540 Y150.385 E0.0452
G1 X168.594 Y150.344 E0.0023
G1 X169.701 Y149.561 E0.0451
G1 X169.758 Y149.523 E0.0023
G1 X170.913 Y148.807 E0.0452
G1 X170.972 Y148.774 E0.0022
G1 X172.167 Y148.132 E0.0451
G1 X172.228 Y148.101 E0.0023
G1 X173.463 Y147.533 E0.0452
G1 X173.525 Y147.507 E0.0022
G1 X174.791 Y147.017 E0.0452
G1 X174.855 Y146.994 E0.0023
G1 X176.149 Y146.582 E0.0452
G1 X176.214 Y146.564 E0.0022
G1 X177.532 Y146.232 E0.0452
G1 X177.598 Y146.218 E0.0023
G1 X178.932 Y145.969 E0.0451
G1 X178.999 Y145.958 E0.0022
G1 X180.348 Y145.791 E0.0452
G1 X180.416 Y145.785 E0.0023
G1 X181.770 Y145.701 E0.0451 -
@cdl1701yahoo-com said in Strangest issue yet, Z not moving during print:
Z1600
just for testing, can you half the z acceleration, jerk and max speed. 1600 is a lot of steps
-
@Veti
Done, no changes.
I have another printer that is down right now for a rebuild, I am thinking of taking the Duet Wifi out of that one and putting it in this machine to see if that makes any difference. I assume all I need to do is swap the SD cards? -
Do you have anything in your tool change files? Tpre tpost etc.
Yes you can swap the SD card for testing. I was going to suggest trying different drivers but if they move normally during other moves just not a print something else must be wrong.
Can you send m906 and m913 during a print to check motor currents?
-
@cdl1701yahoo-com said in Strangest issue yet, Z not moving during print:
M208 X0:358 Y0:361 Z0:400 ; Set axis min/max
M208 U0:200 ; Set axis min/maxthats not how M208 works in rrf.
M208 X0 Y0 Z0 U0 S1 ; set axis minima
M208 X358 Y361 Z400 U200 S0 ; set axis maxima -
@cdl1701yahoo-com said in Strangest issue yet, Z not moving during print:
G31 P25 X-3 Y-39.3 Z0.00 ; Set Z probe trigger value, offset and trigger height
G10 P0 X0 Y0 Z0.69 ; Reset tool 0 axis offsets
G10 P1 X0.99 Y1.2 Z0.8 ; Reset tool 1 axis offsetsi think that is causing the problem.
G10 P0 X0 Y0 Z0.69 ; Reset tool 0 axis offsets
should be
G10 P0 X0 Y0 Z0 ; Reset tool 0 axis offsetsand the offset should be defined in G31
and the difference for the second one should be defined in G10 P1 -
@Veti
You were on to something Veti, I removed the Z Offset for tool 0, no change, so I removed the offset for tool 1 as well now it works fine. I know there is a way to set tool offsets in the tool change files but not sure how to do that.@Phaedrux
Here is what is in my tool change files. The tool 0 files are the same aside from to tool pickup/drop off locations.tfree1.g
G53 G0 X350 Y278 F25000 ; Rapid to the approach position with tool-0. (park_x, park_y - offset)
G53 G1 Y357 F2000 ; Controlled move to the park position with tool-0. (park_x, park_y)
M98 P"/macros/TOOL_CHANGE/Tool_Unlock.g" ; Unlock the tool
M400
G4 P500
G53 G1 Y278 F6000 ; Retract the pin.
M106 P6 S0 ; Fan offtpost1.g
M106 R2 ; restore print cooling fan speedtpre1.g
G0 X350 Y278 F25000 ; Rapid to the approach position without any current tool.
G1 Y357 F2000 ; Controlled move to the pickup position with tool-0.
M400
G4 P500
M98 P"/macros/TOOL_CHANGE/Tool_Lock.g" ; Lock the tool
M400
G4 P500
G1 Y278 F6000 ; Retract the entire tool.
M98 P"/macros/TOOL_CHANGE/Tool_Lock.g" ; Lock the tool
G60 S2 ; Save this position as the reference point from which to later apply new tool offsets. -
@Veti said in Strangest issue yet, Z not moving during print:
G10 P1 X0.99 Y1.2 Z0.8 ; Reset tool 1 axis offsets
what you are configuring there is that the nozzle is 0.8mm above 0.
so in order to print it would have to move 0.6 (assuming 0.2 layer height) below zero.
yet normaly movement below 0 is forbidden (for good reasons) -
@Veti
Yes, so I have two tools that get picked up by the tool head like what is done in the E3D tool changer. I am using a Bltouch as my Z-probe and it triggers the nozzle is around 0.4 to 0.6 above the bed so I applied those Z offsets in the G10. I may not be doing it right though.... -
@Veti said in Strangest issue yet, Z not moving during print:
@cdl1701yahoo-com said in Strangest issue yet, Z not moving during print:
M208 X0:358 Y0:361 Z0:400 ; Set axis min/max
M208 U0:200 ; Set axis min/maxthats not how M208 works in rrf.
M208 X0 Y0 Z0 U0 S1 ; set axis minima
M208 X358 Y361 Z400 U200 S0 ; set axis maxima@Veti
It was changed in rrf to allow you to set the min and max in a single line and that is how I do it on my CoreXY printer. This is my m208 line which works perfectlyM208 X-5:340 Y0:334 Z450