Hello Guys,
I have a machine that uses 5 axes, X
,Y
,Z
,E
and U
.
I used to have a Duet Ethernet with expansion board driving the machine, which worked without issues.
Now I am facing some issues with my upgraded machine:
I have a Duet3 6HC
with 5 1XD
expansion boards connected, one for each axis. The Step/Direction output is connected to a PLC system.
This is where it gets interesting: While X/Y/Z/E
are moving, everything is fine. As soon as also the U
axis starts moving, all other axes seem to be stopping for a short period of time (always exactly 30ms) and then continue to move smooth. Once the U
axis stops its movement again, the same thing happens again.
If I trace the input signals on my PLC system, I see the the following:
(orange: calculated velocity of X
axis, blue: position of X
axis)
If I zoom into where the orange acceleration curve drops I can see a "plateau" in the blue position curve. This is also the same for all other currently moving axes:
Looking at the step/direction signals with a scope I see the following just when the short stop happens:
and then afterwards it comes back to nice looking signals:
Initially I thought the issue is because I was using v0.4 1XD
expansion boards, so I changed them to v1.0 1XD
boards, no change in the printer behavior.
I have tried to remove the E
axis from the configuration to see if I am pushing the limits of the CAN bus, but that didn't change anything.
When I remove the U axis from the configuration I see no issues.
I have played around with acceleration and jerk of the U
axis, without much success.
I have tried reducing the step/mm values for all 5 axes down to 100 step/mm without any impact.
Here is the relevant parts from my config.g:
; Drives
M569 P20.0 S1 ; X forward on 20
M569 P21.0 S1 ; Y forward on 21
M569 P22.0 S1 ; Z forward on 22
M569 P23.0 S1 ; E forward on 23
M569 P24.0 S1 ; U forward on 24
M584 X20.0 Y21.0 Z22.0 E23.0 U24.0 ; set drive mapping
M92 X100 Y100 Z100 E100 U50 ; Set steps per mm
M566 X200 Y200 Z200 E3000 U3000 ; Set maximum instantaneous speed changes (mm/min)
M203 X60000 Y60000 Z1500 E60000 U36000 ; Set maximum speeds (mm/min)
M201 X300 Y300 Z100 E500 U5000 ; Set accelerations (mm/s^2)
Any ideas what could be going wrong?
Edit:
I have also updated all boards including expansion boards to the latest firmware:
Board: Duet 3 MB6HC (MB6HC)
DSF Version: 3.2.0-rc1
Firmware: RepRapFirmware for Duet 3 MB6HC 3.2-RC1 (2020-12-19)
m115 b24
Duet EXP1XD firmware version 3.2-RC1 (2020-12-19)
m115 b23
Duet EXP1XD firmware version 3.2-RC1 (2020-12-19)
m115 b22
Duet EXP1XD firmware version 3.2-RC1 (2020-12-19)
m115 b21
Duet EXP1XD firmware version 3.2-RC1 (2020-12-19)
m115 b20
Duet EXP1XD firmware version 3.2-RC1 (2020-12-19)