DuetWifi and Duex5 v0.7 external drive
-
I have a DuetWifi and Duex5 v0.7 which will be used on a polar printer. We have tested the controller using the internal drives and smaller motors and it works fine. We need to connect larger drives and thought we could use external drives from the Duex5 v0.7 that we have. Sadly we notice this board is missing the external drive ability that is present in the newer boards.
Could we use a level shifter and take the signal from the duetWifi output?
As an NGO in India we are unable to afford any new boards so we need some suitable hack.
Jorge at Minvayu
-
-
@minvayu how many external drivers do you need to connect, and how many internal drivers will you still need? Are you using any other features of he DueX5 apart from the drivers?
-
@dc42 I need to run 4 external drives, one vfd (for cement pump). This is a portable house 3d printer, so am not using any heaters or inbuilt drives, only need the signal to external stepper drives, servo and vfd.
-
@minvayu in that case you could use the Expansion Breakout Board instead of the DueX. See https://docs.duet3d.com/Duet3D_hardware/Duet_2_family/Duet_Expansion_Breakout_Board. There is a link to the design files if you want to make your own.
-
@dc42 As recommended I built an expansion breakout board. I have tested it with a external drive using T2.5,2.5,2.5,5 and it worked fine. Now I am testing the Panasonic AC servo drive and am not having the same luck. I have set the drive under every possible setting and nothing has worked. Below are the tables that indicate possible settings. I am assuming I should use setting 01 03 for Pulse and Direction with T2.5,2.5,2.5. I am giving 5V supply and am wondering if drive requires a higher voltage (12 or 24V?) It is Liqi Panasonic servo
-
@minvayu I meant Pr 0.06 = 0 and Pr 0.07 = 3. Since this did not work I tried all combinations, but nothing worked.
-
@minvayu what output chips are you using on your expansion breakout board, and how did you connect the outputs of that board to your drivers? There are two ways of using the output on our EBOB depending on whether your drivers want 5V single-ended drive or 3V differential drive.
-
I used the AM26LC31 IC Low Voltage High Speed Quadruple Differential line driver IC. That was available in SMD format here in India and when I checked they seemed identical to your version
I tried using the differential output and this did not work. So today I used a bidirectional level shifter to boost from 3.3v to 5v. First I tested it on the original stepper drive and it worked fine, so I tested it on the AC Servo drive. Results were the same. It works on the stepper but not on the servo.
-
Below is the wiring diagrams for pnp and npn. Which one do you suggest for the duet?
-
I have managed to test several connections to Panasonic Liqi Drive according to recommendations from the dealer. We tried differential Step/Dir, +5v/Step- and +5v/Dir- but neither one worked. I am giving +-24V power to drive and it is turned on when sending signals. Please check my config script to see if I am making any errors there. When testing I can run a stepper motor with the same settings. I have tested different values for T from 1:1:1:5 up until 4:4:4:5. For Externally Drivel Stepper I used 2.5:2.5:2.5:5 and it worked fine.
Panasonic Drive Setup:
Command Pulse Direction Setup options:
Option 0 is: B Phase advances to A, Signal High (this is setting I have tested)
Option 1 is: B Phase lags to A, Signal LowCommand Pulse input mode is Pulse Train + Signal
Command Pulse counts per revolution is set to 10,000
Testing is done by sending code G91 and G1 H2 X10 F100
Below is my config fileMinvayu Duet Config 1.txt
-
@minvayu Also I tested a pulse generator and this worked fine with the Panasonic Drive, so the drive is fine.
What else is missing?