Initial Homing issues - Sequence of Errors
-
@dc42 I will get back to this tonight and post the requested files. Thanks.
-
@dc42 As promised, here are my home config files;
config.g
; Configuration file for Duet WiFi (firmware version 1.17 to 1.19)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2 on Wed May 29 2019 19:19:18 GMT+0100 (British Summer Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 P"Removed" ; Set machine name
M551 P"Removed" ; Set password
M552 S1 ; Enable network
M587 S"Removed" P"Removed" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Physical drive 0 (X) goes forwards
M569 P1 S0 ; Physical drive 1 (Y) goes forwards
M569 P2 S1 ; Physical drive 2 (Z) goes backwards
M569 P3 S0 ; Physical drive 3 (E) goes forwards
M350 X128 Y128 Z128 E16 I0 ; Configure microstepping without interpolation
M92 X80.00 Y80.00 Z400.00 E100.00 ; 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 Z600.00 E600.00 ; Set maximum speeds (mm/min)
M201 X1000.00 Y1000.00 Z100.00 E5000.00 ; Set accelerations (mm/s^2)
M906 X855.00 Y855.00 Z855.00 E855.00 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 X200 Y200 Z180 S0 ; Set axis maxima; Endstops
M574 X1 Y1 Z1 S0 ; 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 X25:175 Y25:175 S20 ; Define mesh grid; Heaters
M305 P0 T100000 B3988 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S60 ; Set temperature limit for heater 0 to 60C
M305 P1 T100000 B3988 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S210 ; Set temperature limit for heater 1 to 210C; 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
M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Tools
M563 P0 D0 H1 ; 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 configured
; Miscellaneous
T0 ; Select first toolhomez.g
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v2 on Wed May 29 2019 19:19:18 GMT+0100 (British Summer Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 Z-185 F1800 ; move Z down until the endstop is triggered
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 S2 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioninghomey.g
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v2 on Wed May 29 2019 19:19:18 GMT+0100 (British Summer Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 Y-205 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y5 F6000 ; go back a few mm
G1 S1 Y-205 F360 ; move slowly to Y axis endstop once more (second pass)
G1 Z-5 F6000 S2 ; lower Z again
G90 ; absolute positioninghomex.g
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v2 on Wed May 29 2019 19:19:18 GMT+0100 (British Summer Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 X-205 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 X5 F6000 ; go back a few mm
G1 S1 X-205 F360 ; move slowly to X axis endstop once more (second pass)
G1 Z-5 F6000 S2 ; lower Z again
G90 ; absolute positioninghomeall.g
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v2 on Wed May 29 2019 19:19:18 GMT+0100 (British Summer Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 X-205 Y-205 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 X5 Y5 F6000 ; go back a few mm
G1 S1 X-205 Y-205 F360 ; move slowly to X and Y axis endstops once more (second pass)
G1 S1 Z-185 F1800 ; move Z down stopping at the endstop
G90 ; absolute positioning
G92 Z0 ; set Z to axis minimum (you may want to adjust this); Uncomment the following lines to lift Z after probing
G91 ; relative positioning
G1 S1 Z5 F100 ; lift Z relative to current position
G90 ; absolute positioning -
Your M208 and G1 commands say it should be allowed to move more than 80mm. Are you certain the steps/mm is correct?
-
@b0m0a0k said in Initial Homing issues - Sequence of Errors:
M587 S"Removed" P"Removed" ; Configure access point. You can delete this line once connected
Delete that line now that you've connected to the wifi router.
@b0m0a0k said in Initial Homing issues - Sequence of Errors:
M350 X128 Y128 Z128 E16 I0 ; Configure microstepping without interpolation
M92 X80.00 Y80.00 Z400.00 E100.00 ; Set steps per mmIt's a good idea to stick to x16 microstepping with interpolation to x256 and calculate your steps per mm based on x16 at least until everything is working properly, then if necessary you can experiment with other microstepping values, but generally, x16 interpolated will give the best results.
@b0m0a0k said in Initial Homing issues - Sequence of Errors:
M203 X6000.00 Y6000.00
100mm/s might be a little slow for travel moves.
@bearer said in Initial Homing issues - Sequence of Errors:
Are you certain the steps/mm is correct?
I think your microstepping being set to x128 is making your steps per mm value of 80 incorrect. 80 may be correct for x16 though. This would explain why the axis isn't moving as much as you are requesting.
-
OK, so thanks to the combined suggestions of @bearer and @Phaedrux we have progress. I changed the line;
M350 X128 Y128 Z128 E16 I0 ; Configure microstepping without interpolation
to
M350 X16 Y16 Z16 E16 I0 ; Configure microstepping without interpolation
as per your suggestions. The I re-ran all the home commands one axis at a time. Movement was much similar to what it had been with the old Melzi board setup. All axes homed to the stop switches, backed off a little and then slowly recontacted with the stop switches. They all stopped their movement with the stop switch activated (all red stop switches on the board active).
I'm not sure if this is a new feature that I need to get used to (and I can see it in the config files for each axis), but before starting the Home process on X & Y they all raise Z before proceeding.
The one that worries me here is the Z axis. When it triggers the stop switch it is pressed hard against the bed, so I need to back that off a little. I have tried lowering the bed as much as it will go and its still pressed hard.
-
@b0m0a0k said in Initial Homing issues - Sequence of Errors:
M350 X16 Y16 Z16 E16 I0
you'll get the same movement but smoother motion if you change the I0 to I1 to enable interpolation.
-
@bearer said in Initial Homing issues - Sequence of Errors:
M350 X16 Y16 Z16 E16 I0
you'll get the same movement but smoother motion if you change the I0 to I1 to enable interpolation.
Thanks, am giving that a try now.
-
I am wondering if the issue with the Z axis hitting the bed is because I am using a glass plate as the bed surface. The end stop switch was adjusted to allow for this, but I am wondering if there is a need to allow for that in the homez.g file?
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v2 on Wed May 29 2019 19:19:18 GMT+0100 (British Summer Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 Z-400 F1800 ; move Z down until the endstop is triggered
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 S2 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning -
@b0m0a0k said in Initial Homing issues - Sequence of Errors:
The one that worries me here is the Z axis. When it triggers the stop switch it is pressed hard against the bed, so I need to back that off a little. I have tried lowering the bed as much as it will go and its still pressed hard.
Not quite sure how this is built, but sounds like you need to move your z-switch. but strange if it worked before you replaced the board.
-
@bearer said in Initial Homing issues - Sequence of Errors:
.. but strange if it worked before you replaced the board.
Yes, that's what bothers me as well.
-
Not familiar with the printer, maybe you could add a picture showing the bed, the switch and the axis raised, and showing the bed, switch and axis lowered?
or maybe first double check that the switch triggers correctly again, it really shouldn't need any force at all.
-
I think I have fixed the Z-Axis issue. By moving the Z-Axis up by hand prior to each homing test I had inadvertently unbalanced the Z-Axis (the left hand was at a different level to the right). I have now re-balanced the Z-Axis and this time, when I tested homing I was still able to get the paper under with enough room to adjust the bed height.
I'm going to run that test a couple more times just to be sure.
-
It's there commands that are raising the z axis before each homing move.
G1 Z5 F6000 S2 ; lift Z relative to current position
This is to give the nozzle some clearance before moving things around.
In the Z homing files you can have it automatically raise the z axis again to give some clearance as well.
; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 S2 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
So if you remove the ; on those lines it will raise another 5mm for clearance.
@b0m0a0k said in Initial Homing issues - Sequence of Errors:
The one that worries me here is the Z axis. When it triggers the stop switch it is pressed hard against the bed, so I need to back that off a little. I have tried lowering the bed as much as it will go and its still pressed hard.
Is the endstop trigger height modifiable? Either with a set screw, or moving the switch mount position? You could also add a spacer if you need it to trigger sooner.
Does the switch stop movement if you trigger it by hand before the nozzle hits the bed?
-
@b0m0a0k said in Initial Homing issues - Sequence of Errors:
I think I have fixed the Z-Axis issue. By moving the Z-Axis up by hand prior to each homing test I had inadvertently unbalanced the Z-Axis (the left hand was at a different level to the right). I have now re-balanced the Z-Axis and this time, when I tested homing I was still able to get the paper under with enough room to adjust the bed height.
I'm going to run that test a couple more times just to be sure.
Yes that could definitely explain it. The X axis must be parallel to the bed.
If you have 2 Z motors you can hook each up to a separate driver and then use a self leveling routine to get them evened before printing. You'd need a Z probe for this to be most effective.
https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors
-
@phaedrux OK, so I wasn't going to mention this until I was happy that basic operation was working properly, but I have a BLTouch sitting here ready to be installed as well. Am looking forward to adding that once the basic operation with the new board has been confirmed.
Next step is to "Home All" and see what happens.
-
Is it normal for the printer to return to needing Home on all axes every time you move something on the bed. Seems like each time I move something and then go to use "Head Movement" I get this sort of thing;
M120
G91
G1 Z5 F6000
M121Error: G0/G1: insufficient axes homed
-
Did you send that sequence of commands?
-
That was the sequence I uncommented in an attempt to get the extruder to raise a little off the bed after homing.
-
I guess I'm confused by the M120 and M121.
So after homing all you can't move the axis with the jogging buttons on the machine control tab?
-
After you do Home All, do all of the homing buttons in DWC change colour from orange to blue (meaning that the axis has been homed)?