Issues with Z movment
-
I am having a wired issues since i upgraded to the newest firmware.
uet Web Control 2.0.0-RC3
Electronics: Duet WiFi 1.02 or later
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 2.02(RTOS) (2018-12-24b1)
Duet WiFi Server Version: 1.21When i set a move order to 50mm Z one of the Z steppers continues and miss aligns the carriage. If i do the same in small movements then there is no issue.
-
Are you using two Z motors connected them to the Za and Zb connector? If so, are they low-current motors, and is your VIN 12V or 24V? It may be that you are trying to move them too fast.
-
Are you using two Z motors connected them to the Za and Zb connector?
I am using 2 Z steppers connected to Za and Zb.If so, are they low-current motors, and is your VIN 12V or 24V?
I am using the following steppers:
STEPPERONLINE 0.9deg Nema 17 Stepper Motor Bipolar 2A 46Ncm/65oz.in 42x42x48mmI am using 1000 watt 24 volt power supply.
It may be that you are trying to move them too fast.
Prior to the update I did not have the issue extremely odd.
-
If they are 2A motors then wiring them in series is the correct thing to do.
I suspect that it is coincidence that the problem occured after a firmware update, because there have been no changes I can think of that would affect the behaviour in that way.
What is your Z steps/mm, and what is the Z maximum speed set in your M203 command?
-
Thank you for all the replies. here is the response from the command and the full config.
M203
Maximum feedrates: X: 54000.0, Y: 54000.0, Z: 2400.0, E: 3000.0:3000.0full config:
; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2 on Sat Dec 29 2018 04:30:16 GMT-0500 (Eastern Standard Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 P"MOD-I3-Printer" ; Set machine name
M552 S1 ; Enable network
M587 S"XXXXXX" P"XXXXXXX" ; Configure access point and IP addresses. 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 S0 ; Drive 0 goes backwards
M569 P1 S0 ; Drive 1 goes backwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes forwards
M350 X256 Y256 Z256 E256 I0 ; Configure microstepping without interpolation
M92 X3200.00 Y3200.00 Z51200.00 E3069.20 ; Set steps per mm
M566 X900.00 Y900.00 Z48.00 E240.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X54000.00 Y54000.00 Z2400.00 E3000.00 ; Set maximum speeds (mm/min)
M201 X1600.00 Y1600.00 Z200.00 E2000.00 ; Set accelerations (mm/s^2)
M906 X1500.00 Y1500.00 Z1500.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y5 Z0 S1 ; Set axis minima
M208 X195 Y210 Z180 S0 ; Set axis maxima; Endstops
M574 X1 Y1 S0 ; Set active low and disabled endstops; Z-Probe
M574 Z1 S2 ; Set endstops controlled by probe
M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
M558 P9 H5 F240 T12000 ; Set Z probe type to bltouch and the dive height + speeds
G31 P500 X5 Y-40 Z1.875 ; Set Z probe trigger value, offset and trigger height
M557 X10:190 Y0:160 S20 ; Define mesh grid; Heaters
M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B3950 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 X200 ; Configure thermocouple for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P2 S0.5 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off; 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; Automatic power saving
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss; Custom settings are not configured
; Miscellaneous
M501 ; Load saved parameters from non-volatile memory
T0 ; Select first tool -
Given your high Z steps/mm, I think your maximum Z speed and acceleration are too ambitious in your M203 and M201 commands.
In addition, trying to use x256 native microstepping will overload the CPU which will result in slower speeds and movement hiccups. We recommend x16 with interpolation for most applications, except that extruders with low steps/mm may benefit from using x64 or X128.
-
Could you give me a recommendation for the setting please?
-
I also am having issues with Z movement. Don't mean to Hijack the thread but I figured it would be good to include for someone looking later?
So... I'm a newbie to Duet and am wrapping up construction on a new custom built machine. I am using Duet Ethernet with an external 50VDC Step Driver and feeding this driver with Step/Dir signals from Output 7 on the breakout board. Motors are 2x NEMA 34 wired in paralell.
Z does move up and down and does so accurately in terms of units however, when a command is sent to this axis the motors rev up and accelerate to what seems like the requested feed rate (1000) and then suddenly throttle back to I what I would estimate to be (100). Axis continues to move for a few moments THEN, jumps back to full speed.
What am I doing wrong? Setting? Wiring?
Here's the drive section excerpt from my config.g
Any help is GREATLY appreciated!
; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M584 X5 Y6 Z8 E3 ; Apply custom drive mapping
M350 X1 Y1 Z1 I0 ; Configure microstepping without interpolation
M350 E16 I1 ; Configure microstepping with interpolation
M92 X100.77 Y323.66 Z424.80 E492.45 ; Set steps per mm
M566 X900.00 Y900.00 Z700 E120.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X7980.00 Y2999.60 Z2000.00 E1200.00 ; Set maximum speeds (mm/min)
M201 X500.00 Y150.00 Z15.00 E500.00 ; Set accelerations (mm/s^2)
M906 X800.00 Y800.00 Z800.00 E1250.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout -
When using external drivers, you normally need to use M569 commands for those drivers with T parameters in them, in order to slow down the step pulse timing to meet the specifications of the driver. See https://duet3d.dozuki.com/Wiki/GCode#Section_M569_Set_motor_driver_direction_enable_polarity_and_step_pulse_timing and the datasheet of tyour driver.
-
@rickgomez2003 said in Issues with Z movment:
Could you give me a recommendation for the setting please?
@rickgomez2003 said in Issues with Z movment:
M350 X256 Y256 Z256 E256 I0 ; Configure microstepping without interpolation
M92 X3200.00 Y3200.00 Z51200.00 E3069.20 ; Set steps per mm
M566 X900.00 Y900.00 Z48.00 E240.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X54000.00 Y54000.00 Z2400.00 E3000.00 ; Set maximum speeds (mm/min)
M201 X1600.00 Y1600.00 Z200.00 E2000.00 ; Set accelerations (mm/s^2)Try this:
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X200 Y200 Z3200 E192 ; Set steps per mm M566 X900 Y900 Z8 E240 ; Set maximum instantaneous speed changes (mm/min) M203 X54000 Y54000 Z600 E3000 ; Set maximum speeds (mm/min) M201 X6000 Y6000 Z120 E2000 ; Set accelerations (mm/s^2)