No movement with any command
-
@Phaedrux i doesn't work bc when i send M552 S1 P0.0.0.0, it answers with just ok, and when i send M552, i can see that it gave 0.0.0.0 as an ip address
-
How do you have the Duet connected to your network?
Does the network cable you have going to the Duet work if you try to connect it to a computer?
-
@Phaedrux it is plugged with a ethernet cable in the router
-
@Phaedrux said in No movement with any command:
Does the network cable you have going to the Duet work if you try to connect it to a computer?
-
@Phaedrux yea sorry i didn't have the time to check, do you have the guide?
-
@Phaedrux nvm i don't know what was the problem but i just powered it on and thew ethernet works fine
-
@Phaedrux i tested with a multimeter and i can see that in the driver entry, the pul and dir are receiving power, but not the enable, and on the output i don't know what to test
-
Enable is low by default. Your drivers seem to require a high signal.
See here for changing the enable polarity.
-
@Phaedrux yea i already changed it to high
-
Have you tested the enable pin output with your multimeter at the board side?
Does the cable have continuity?
Have you tried a different driver output?https://docs.duet3d.com/duet_boards/duet_3_mb6xd/duet3_mb_6xd_v1.0_later_dvr_conn.png
-
@Phaedrux i can see a 5v signal when no command is sent, but it drops to 0v when i send a signal, is that normal?
-
@Phaedrux yea,i get the same thing on the driver side
-
@zecreton said in No movement with any command:
@Phaedrux i can see a 5v signal when no command is sent, but it drops to 0v when i send a signal, is that normal?
Then it sounds like the enable pin isn't actually inverted. What command did you use to invert it?
-
@Phaedrux M569 PO R1
-
@zecreton said in No movement with any command:
@Phaedrux M569 PO R1
You have a 6XD so this won't work.
What position is your enable polarity jumper in?
https://docs.duet3d.com/duet_boards/duet_3_mb6xd/duet_3_mb6xd_wiring_latest.png
1 x 3-pin Jumper Driver Enable Polarity A jumper in the "left" position is used for external drivers which are enabled when a voltage is applied to the enable connection (Active Enable). A jumper in the "right" position is used for external drivers which are disabled when a voltage is applied to the enable connection (Active Disable) (Note the v0.1 boards have the silkscreen reversed).
-
@Phaedrux said in No movement with any command:
You have a 6XD so this won't work.
Is that in the documentation somewhere? On Slack @dc42 said:
M569 R parameter does have an effect on the 6XD. The jumper just sets the default value in case a M569 command with R parameter isn't seen. The main aim of this is to power up with the drivers disabled.
I've updated the documentation here to make it clearer: https://docs.duet3d.com/en/Duet3D_hardware/Duet_3_family/Duet_3_Mainboard_6XD_Hardware_Overview#connecting-external-motor-drivers
However...
@zecreton said in No movement with any command:
M569 PO R1
You have used an upper case letter 'o' for the P parameter, it should be a zero
0
. Did it not report an error? Should be:
M569 P0 R1
Ian
-
You have used an upper case letter 'o' for the P parameter, it should be a zero
0
. Did it not report an error? Should be:
M569 P0 R1
Ian
i made an error in the message but i did send M569 P0 R1, sorry
-
@zecreton Are you sure the axes are homed? You cannot move any axis if it is not homed. Though you should get an error message if you try and move an axis and it isn't homed. If you're still bench testing this, you could also send
M564 H0 S0
. This allows movement of axes that have not been homed, and allows movement outside boundaries set by M208. Add it to your config.g.When you command a move, does DWC update the X position to show this change? If it does, then it is most likely sending the step and direction pulses.
Did you disconnect the ENA wires? If you do, you will still need to supply 5V to DIR+ and PUL+. Maybe post new pictures of how it is wired now.
Ian
-
@zecreton here are some common reasons for external drivers not working (most or all of these have been covered in previous replies):
- Enable polarity is wrong. On many external drivers, the ENA input disables the driver instead of enabling it. So disconnect at least one of ENA+/ENA- and see if that helps. If that gets it working, move the enable polarity jumper on the 6XD to the other position and reconnect ENA+ and ENA-.
Another way to test if the enable polarity is correct is to use M17 to enable the axis that the driver controls (which should enable the motor, locking the rotor in place) and M18 to disable it (which should make the rotor free to turn by hand).
-
No power to the external driver. If it has a power indication LED, check that it is illuminated.
-
Step pulses too short. Try adding T10 to the M569 command for that driver. If that gets it working, you can then work on finding what timing the driver needs (using T10 will reduce the maximum step rate significantly).
-
Machine not homed. Use G91 to select relative movement, and H2 on the G1 commands to select direct motor moves (which ignore homing). For example, if the motor is configured (using M584) as the X drive, use:
G91 G1 H2 X10
-
Wiring issues.
-
Blown STEP output on the 6XD. This should only be the case if at some time you have shorted that connection to +5V or to some higher voltage. Double check your wiring, then try using a different driver output on the 6XD.
-
@Phaedrux it is in the active enable position