G28 X took too long to respond
-
Do you ever move the gantry by hand when power is off or the steppers are powered down?
Frederick
-
@fcwilt Nope, hadn't touched it for a couple of days and when I came back to it and homed the axis the X axis wouldn't budge. When I plug in the Y axis stepper into driver 0 and configure it to Y axis it homes fine. But when I then home the X using a different driver it gives me the same issues so I don't know if the drivers are to blame or not.
I have also tried moving the X axis using command M564 S0 H0 to by pass homing but then I get the same warning message "Warning: motor phase A may be disconnected reported by driver(s) 0
Warning: motor phase B may be disconnected reported by driver(s) 0". -
Well if the problem follows the stepper then the stepper or the wiring to the stepper must be the cause.
Did you check continuity of the phases from the connector to the stepper?
Frederick
-
@fcwilt said in G28 X took too long to respond:
continuity
I have checked the wiring and re-wired them to check the connection wasn't faulty, the stepper is fine when I configure it as a different axis however whenever it or any other working motor is assigned as the X axis it doesn't work which is the strange thing. The only thing I can think it could be is if there's an issue with my firmware.
-
So the problem follows the firmware configuration not the actual stepper.
Please post your config.g file using the </> tag.
Also post your homing files the same way.
Thanks.
-
@fcwilt said in G28 X took too long to respond:
</> tag.
<config.g>
; Configuration file for Duet 3 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Sat Jun 26 2021 12:17:58 GMT+0100 (British Summer Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"My Printer" ; set printer name; Network
M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0.0 S1 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S1 ; physical drive 0.2 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X133.33 Y133.33 Z5120.00 E420.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.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 X550 Y1054 Z800 S0 ; set axis maxima; Endstops
M574 X1 S1 P"io0.in" ; configure active-high endstop for low end on X via pin io0.in
M574 Y1 S1 P"io1.in" ; configure active-high endstop for low end on Y via pin io1.in
M574 Z2 S1 P"io2.in" ; configure active-high endstop for high end on Z via pin io2.in; Z-Probe
M950 S0 C"io6.out" ; create servo pin 0 for BLTouch
M558 P9 C"^io6.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X0 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"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
;M950 H0 C"out0" T0 ; create bed heater output on out2 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 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1
M950 H1 C"out1" 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
M307 H7 A-1 C-1 D-1 ; Unbind heater 7 pins for probe use.; Fans
M950 F0 C"out4" 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"out5" Q500 ; create fan 1 on pin out5 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
M950 F2 C"out6" Q500 ; create fan 2 on pin out6 and set its frequency
M106 P2 S1 H1 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
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss; Bed levelling using multiple independent Z motors
M584 X0 Y1 Z2:4 E3; two Z motors connected to driver outputs Z and E1
M671 X-20:220 Y0:0 S0.5 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis
M208 X-5:205 Y0:200 ; X carriage moves from -5 to 205, Y bed goes from 0 to 200<homeall.g>
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jul 04 2021 12:14:40 GMT+0100 (British Summer Time)
G91 ; relative positioning
;G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-555 Y-1005 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y5 F6000 ; go back a few mm
G1 H1 X-555 Y-1005 F360 ; move slowly to X and Y axis endstops once more (second pass)
G1 H1 Z805 F360 ; move Z up stopping at the endstop
G1 H2 Z-5 F6000 ; go back a few mm
G90 ; absolute positioning
G92 Z800 ; set Z position to axis maximum (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<homex.g>
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jul 04 2021 12:14:40 GMT+0100 (British Summer Time)
G91 ; relative positioning
G1 H1 X-555 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-555 F360 ; move slowly to X axis endstop once more (second pass)
G90 ; absolute positioning<homey.g>
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jul 04 2021 12:14:40 GMT+0100 (British Summer Time)
G91 ; relative positioning
G1 H1 Y-1059 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 H2 Y5 F6000 ; go back a few mm
G1 H1 Y-1059 F360 ; move slowly to Y axis endstop once more (second pass)
G90 ; absolute positioning<homez.g>
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jul 04 2021 12:14:40 GMT+0100 (British Summer Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Z805 F1800 ; move quickly to z axis endstop and stop there (first pass)
G1 H2 Z-5 F6000 ; go back a few mm
G92 Z800 ; set Z position to axis maximum (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 positioningHope this helps, let me know if you need anything else.
-
Hi,
I posted your files using the </> tag as requested - it makes it easier to view.
; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sat Jun 26 2021 12:17:58 GMT+0100 (British Summer Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"My Printer" ; set printer name ; Network M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 ; physical drive 0.0 goes forwards M569 P0.1 S1 ; physical drive 0.1 goes forwards M569 P0.2 S1 ; physical drive 0.2 goes forwards M569 P0.3 S1 ; physical drive 0.3 goes forwards M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X133.33 Y133.33 Z5120.00 E420.00 ; set steps per mm M566 X900.00 Y900.00 Z60.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 X550 Y1054 Z800 S0 ; set axis maxima ; Endstops M574 X1 S1 P"io0.in" ; configure active-high endstop for low end on X via pin io0.in M574 Y1 S1 P"io1.in" ; configure active-high endstop for low end on Y via pin io1.in M574 Z2 S1 P"io2.in" ; configure active-high endstop for high end on Z via pin io2.in ; Z-Probe M950 S0 C"io6.out" ; create servo pin 0 for BLTouch M558 P9 C"^io6.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X0 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"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0 ;M950 H0 C"out0" T0 ; create bed heater output on out2 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 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" 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 M307 H7 A-1 C-1 D-1 ; Unbind heater 7 pins for probe use. ; Fans M950 F0 C"out4" 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"out5" Q500 ; create fan 1 on pin out5 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"out6" Q500 ; create fan 2 on pin out6 and set its frequency M106 P2 S1 H1 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 M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss ; Bed levelling using multiple independent Z motors M584 X0 Y1 Z2:4 E3; two Z motors connected to driver outputs Z and E1 M671 X-20:220 Y0:0 S0.5 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis M208 X-5:205 Y0:200 ; X carriage moves from -5 to 205, Y bed goes from 0 to 200
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jul 04 2021 12:14:40 GMT+0100 (British Summer Time) G91 ; relative positioning ;G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-555 Y-1005 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H2 X5 Y5 F6000 ; go back a few mm G1 H1 X-555 Y-1005 F360 ; move slowly to X and Y axis endstops once more (second pass) G1 H1 Z805 F360 ; move Z up stopping at the endstop G1 H2 Z-5 F6000 ; go back a few mm G90 ; absolute positioning G92 Z800 ; set Z position to axis maximum (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
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jul 04 2021 12:14:40 GMT+0100 (British Summer Time) G91 ; relative positioning G1 H1 X-555 F1800 ; move quickly to X axis endstop and stop there (first pass) G1 H2 X5 F6000 ; go back a few mm G1 H1 X-555 F360 ; move slowly to X axis endstop once more (second pass) G90 ; absolute positioning
; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jul 04 2021 12:14:40 GMT+0100 (British Summer Time) G91 ; relative positioning G1 H1 Y-1059 F1800 ; move quickly to Y axis endstop and stop there (first pass) G1 H2 Y5 F6000 ; go back a few mm G1 H1 Y-1059 F360 ; move slowly to Y axis endstop once more (second pass) G90 ; absolute positioning
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jul 04 2021 12:14:40 GMT+0100 (British Summer Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Z805 F1800 ; move quickly to z axis endstop and stop there (first pass) G1 H2 Z-5 F6000 ; go back a few mm G92 Z800 ; set Z position to axis maximum (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
-
I'm having trouble understanding this from your config.g file:
; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X550 Y1054 Z800 S0 ; set axis maxima ; Z probe G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height M557 X15:215 Y15:195 S20 ; define mesh grid M307 H7 A-1 C-1 D-1 ; Unbind heater 7 pins for probe use. M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping M584 X0 Y1 Z2:4 E3; two Z motors connected to driver outputs Z and E1 M208 X550 Y1054 Z800 S0 ; set axis maxima M208 X-5:205 Y0:200 ; X carriage moves from -5 to 205, Y bed goes from 0 to 200
1 - is your probe truly in the same XY location as the nozzle?
2 - why are you defining the mesh grid to only cover a small part of the bed?
3 - that M307 should not be needed - why is it there?
4 - you have two M584 - why?
5 - you have two M208 - why?
I think that is enough questions for now.
Frederick
-
I hadn't got round to sorting the probe and mesh grid yet as I was having some issues setting up my BLTouch but before I got to that the X axis issues occurred.
The M307 was added as I was trying to follow a guide to get the BLTouch working.
The additional M584 was added to drive both leadscrews for the Z and I forgot to clean that up so have done now
I have got rid of the additional M208 command on line 15.
I'm fairly new to the software side of things so thank you for your patience and help. If you have any other advice it would be greatly apricated.
By removing those duplicates this issue still persists.
-
You have this: M671 X-20:220 Y0:0 S0.5 and this M208 X-5:205 Y0:200
According to that your leadscrews are at the front edge of the bed.
Is that correct?
And your Z endstop is at the very bottom of the Z axis?
Frederick
-
My lead screws are offset about 400mm from the front edge of the bed with the (Y axis homed) and my Z endstop is at the top of the printer, I wanted the home position to be at the top and set to maximum position then use the z probe to find the minimum.
If you could let me know how I can change those value to fit the above that would be great.
With regards to the original issue would these tweaks make a difference to fixing the X axis issue or is their a fault with the board? I only ask because it seemed to be working fined despite the duplicated code etc.
-
Is your printer a bed slinger - that is to say the bed moves back and forth on the Y axis?
Frederick
-
@fcwilt That's correct
-
@eegroeg said in G28 X took too long to respond:
@fcwilt That's correct
Hmm...
I've not dealt with that type before - I'm not sure how to set M671 when the Y position of the lead screws is variable. But it may make no difference since you can only level the bed on the X axis so perhaps Y0:0 is correct.
So if bed leveling is working let's move on.
Since you may have made changes to config.g please post it again.
Thanks.
Frederick
-
Please see config.g below
The X axis is still giving the same error when I try to home it. It worked fine before with this config.g file so I am concerned if there is an issue with my board.
; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sat Jun 26 2021 12:17:58 GMT+0100 (British Summer Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"My Printer" ; set printer name ; Network M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 ; physical drive 0.0 goes forwards M569 P0.1 S1 ; physical drive 0.1 goes forwards M569 P0.2 S1 ; physical drive 0.2 goes forwards M569 P0.3 S1 ; physical drive 0.3 goes forwards M584 X0.0 Y0.1 Z0.2:0.4 E0.3 ; set drive mapping two Z motors connected to driver outputs Z and E1 M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X133.33 Y133.33 Z5120.00 E420.00 ; set steps per mm M566 X900.00 Y900.00 Z60.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 X550 Y1054 Z800 S0 ; set axis maxima ; Endstops M574 X1 S1 P"io0.in" ; configure active-high endstop for low end on X via pin io0.in M574 Y1 S1 P"io1.in" ; configure active-high endstop for low end on Y via pin io1.in M574 Z2 S1 P"io2.in" ; configure active-high endstop for high end on Z via pin io2.in ; Z-Probe M950 S0 C"io6.out" ; create servo pin 0 for BLTouch M558 P9 C"^io6.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X0 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"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0 ;M950 H0 C"out0" T0 ; create bed heater output on out2 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 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" 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 ; Fans M950 F0 C"out4" 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"out5" Q500 ; create fan 1 on pin out5 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"out6" Q500 ; create fan 2 on pin out6 and set its frequency M106 P2 S1 H1 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 M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss ; Bed levelling using multiple independent Z motors M671 X-20:220 Y0:0 S0.5 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis
-
Curious.
If it was a board problem then swapping, say, X and Y connections to the board and updating the configuration to reflect that change, should move the problem to the Y stepper.
But you say that doesn't happen?
Frederick
-
That's right, it's really got me stuck.
-
@eegroeg said in G28 X took too long to respond:
That's right, it's really got me stuck.
And you checked the connections for the X stepper as I recall.
Do you have another stepper you could connect to the board for X to see if the problem is the stepper itself?
Frederick
-
Was going through the very basics and tried re configuring drivers again and looks like I'm getting nothing now from driver 0 now...
With the board being under warranty would this be able to be replaced?
-
I have got the X axis moving now via the other drivers which is strange, haven't done anything different than when I did this last time and got nothing!? No luck so far with anything on driver 0