Expansion board setup on Duet3D wifi using external controller
-
-
@billsrf said in Expansion board setup on Duet3D wifi using external controller:
@dc42 @phaedrux it will not allow up date to active high setting either. Im very confused why it will not change settings??? I set the R to 1 as it says in the wiki, M569 P5 R1 T2.5:2.5:5.0 and it does't change anything. 0_1559665353230_M569-2.JPG
R1 on the M569 command is needed when connecting stepstick and similar drivers directly to the expansion connector of the Duet. It is not needed when connecting large external drivers via the breakout board.
The test for whether the R parameter is correct is to see whether the stepper motors are locked. With the correct setting, the motor shafts should be free to move after power up, but each motor should lock the first time you try to move it.
The step pulse timings get rounded up to the next multiple of whole step clocks. That is why the values reported by M569 are a little larger than the values you commanded.
-
-
-
I suspect there is an error in the M569 P5 command in your config.g file, because it looks like it has not been executed.
-
@dc42 ok, how do we fix the error? also, i disconnected the enable wires and it now turns CW when extrude or retract is activated.
-
@dc42 ok, disconnected the enable + & -. Now it works like it is supposed to. Why is this happening?
-
@billsrf said in Expansion board setup on Duet3D wifi using external controller:
@dc42 ok, disconnected the enable + & -. Now it works like it is supposed to. Why is this happening?
It sounds to me that the MF input of the driver is actually a disable input, not an enable input. Either add R1 to the M569 command, or swap the MF+ and MF- wires over.
-
@dc42 swapping the wires worked, I added the R1 to the code but it didn't work so I swapped the wires. Still confused, but at least it is working now. Thank you. How do we fix the M569 code string?
-
@billsrf said in Expansion board setup on Duet3D wifi using external controller:
@dc42 swapping the wires worked, I added the R1 to the code but it didn't work so I swapped the wires. Still confused, but at least it is working now. Thank you. How do we fix the M569 code string?
Can you confirm that you added R1 to the M569 commands for all the external drivers? For example, to the M569 P5 command. Using a separate command such as M569 P5 R1 should also have worked (and similarly for the other drivers). When you send e.g. M569 P5 to report the driver parameters, the report should change to include "active high enable".
-
@dc42 ok, I send M569 P5 R1 and set it to Active High. It works normal, I turn the machine off and on and it reverts back to Active Low. I even used the M500 command. it will not keep it in active high for P5
-
@billsrf said in Expansion board setup on Duet3D wifi using external controller:
@dc42 ok, I send M569 P5 R1 and set it to Active High. It works normal, I turn the machine off and on and it reverts back to Active Low. I even used the M500 command. it will not keep it in active high for P5
That's because the M569 P5 R1 command must be in config.g. It can be combined with your M569 P5 Txxx command.
M500 only saves parameters that are determined automatically, such as delta calibration (determined by bed probing) and heater models (determined by heater tuning).
-
@Billsrf said in Expansion board setup on Duet3D wifi using external controller:
my extruder with an external drive. I have the expansion board plugged in with all the step, dir, ena wiring correct
please,
can you upload pic pf the wiring?
or explain how to tap the enable,step and dir?
is step+/step- --> +A/-A
dir+/dir- --> +B/-B
on the expansion board 4 pin driver connector?
where is the enable plug to?
is it a different connector on the expansion board ?
i using duet 3 MB6HC(main board) and expansion 3HC is it possible with that?
i missing the wiring part.
tnx beforehead