Expansion board setup on Duet3D wifi using external controller
-
@billsrf said in Expansion board setup on Duet3D wifi using external controller:
@dc42 im using the remapping M code to set the pulse dir. But, it will not accept it. I upload it, reset the firmware and go back to check it and the step timing is not there, its not updating the settings. I am getting 3.8 volts+ and 3.7V- across the DIR+ and -. The little blue light flashes when I hit extrude like it is getting the command pulse. The motor is active mode, ie.. when it is powered, i cannot move the motor by hand. 0_1559312541048_config (1).g
From the config.g file that you posted:
; Drives
M569 P0 S1 ; Physical drive X goes forwards
M569 P1 S1 ; Physical drive Y goes forwards
M569 P2 S1 ; Physical drive Z goes forwards
M569 P5 S0 ; Physical drive EXT goes backwards
M584 X0 Y1 Z2 E5 ; Apply custom drive mappingSo you have not set the step pulse timing on driver 5.
Your earlier posts suggested that when you sent M569 P5 T2.5:2.5:2.5:2.5 from the command line, it wasn't sticking, or possibly the board was resetting. Which firmware version are you using?
-
@dc42 here is the firmware version.
-
Please upgrade to firmware 2.02 and then try the M569 command again: send M569 P5 T2.5:2.5:2.5:2.5 from the command line or in config,g, then send M569 P5 from the command line and see if the correct parameters are reported.
-
@dc42 said in Expansion board setup on Duet3D wifi using external controller:
M569 P5 T2.5:2.5:2.5:2.5
I did as you said and it updated, but not what I typed in..??? still does not move. I went to a better driver controller but still no movement. 0_1559655180593_ACE-102_Manual_Rev_1.07.pdf 0_1559655190635_config (2).g
-
@dc42 is my tool map correct?
-
@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
-
-
@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