Duet 3 3HC to external DM542 Driver and a Stepper Motor
-
@dc42 If so, how do you control the stepper motors signaling. Does 3HC have in-Built Driver with ability to handle 3 high voltage Stepper motors and handle signaling (STEP, DIR , & ENA ) ?
-
@developeralgo222 I'm thinking his question is why not drive the steppers directly from the 3HC instead of using external controllers (DM542 or similar)?
Based on your next comment though, its likely because of the specifications of the motor. By high voltage do you mean something greater than 48v?
Thinking instead you could just use 2x Duet3 6XDs (though from a cost perspective might be edged out by 3x 1XDs).
-
The Nema 11 and 17 Drivers just use 24V
-
@developeralgo222 Thanks! I think I am a little confused on how many motors you have/need to connect. Could you summarize the total requirements? Might assist with us helping you.
-
Currently, i have 12 Stepper Motors (3 x Closed Loop Servo Nema 34 (48V recommended) , 3 x Stepper Nema 17 (24V recommended), 6 x Stepper Nema 11(24V recommended) ) in total to connect for now on my PnP machine project
1 x Duet 3 6XD ( To handle current 3 x External Nema 34 Drivers (X,Y1 &Y2) and 3 x Nema 23 Drivers to be added later for conveyor )
3 x Duet 3 3HC ( To handle Current 6 x Nema 11 Drivers for the Heads(Nozzles) + Current 3 x Nema 17 which move the Heads/Nozzles up/down along Z-axis)The Driver Connections on 6XD are fine . Its the connections between the extension board 3HC and the external driver that i am having trouble. I hope this clarifies the dilemma
-
@developeralgo222 Thanks! That does clarify things.
What you listed should work no problem!
Duet 3 6XD - connect the 6x external drivers to the DRIVER 0 - 5 headers
Duet 3 3HC - connect the Nema11 and Nema17 stepper motors directly to the stepper driver headers on the 3HCIts important to note that plain stepper motors (specifically bipolar ones) take the A+, A-, B+, and B- connections, not Step/Dir/etc.
Here is how I think your setup should work.
-
Thanks, that very much great help and well appreciated. This is Directly connecting Motors to 3HC. The External Drivers that came with motors were to be connected to 3HC boards have ( STEP, DIR and ENA Pins ) for signaling. How is the signaling going to be accomplished if they are directly connected to 3HC without the external drivers for signaling ? Does 3HC have in-Built Driver which handles Signaling from/to the Motors ?
-
@developeralgo222 said in Duet 3 3HC to external DM542 Driver and a Stepper Motor:
Thanks, that very much great help and well appreciated. This is Directly connecting Motors to 3HC. The External Drivers that came with motors were to be connected to 3HC boards have ( STEP, DIR and ENA Pins ) for signaling. How is the signaling going to be accomplished if they are directly connected to 3HC without the external drivers for signaling ? Does 3HC have in-Built Driver which handles Signaling from/to the Motors ?
Notice that the outputs to the stepper on the DM542T device are labeled A+ A- B+ B- and that the outputs of the 3HC are labeled the same.
The Duet generates the same signals to the stepper that the DM542T would generate.
Frederick
-
@fcwilt said in Duet 3 3HC to external DM542 Driver and a Stepper Motor:
@developeralgo222 said in Duet 3 3HC to external DM542 Driver and a Stepper Motor:
Notice that the outputs to the stepper on the DM542T device are labeled A+ A- B+ B- and that the outputs of the 3HC are labeled the same.
The Duet generates the same signals to the stepper that the DM542T would generate.
Does this mean that if the Motors are directly connected to 3HC (using A+, A-, B+, B- ) we do not need ( STEP, DIR and ENA Pins ) for signaling?
Duet 3 3HC ----> Stepper Motor
A+ -----------------> A+
A- -----------------> A-
B+ -----------------> B+
B- -----------------> B-Should i assume that The signaling for STEP, DIR & ENA is handled internally by in-built Duet 3HC driver ?
-
@developeralgo222 That is correct, most of the Duet 2 and 3 products have internal stepper motor drivers. The Duet 3 6HC and 3HC have TMC5160/TMC2160 stepper drivers on the board (the 'HC' stands for 'high current' driver). The 1HCL has a TMC5160/TMC2160 stepper driver, but closed loop functionality (if you wanted to replace the DM542 products, this could be a good option).
The 6HC, 3HC, and 1HCL internally derive the STEP/DIR/etc and can directly control the phases of the stepper motors - like you said, you can connect the A+ to A+, A- to A-, B+ to B+, and B- to B- to directly drive the stepper motors.
-
I don't know if the Duet generates signals that correspond to STEP, DIR and ENA and handles those "internally" to create the A+ A- B+ and B-.
As mentioned they have the 6HC board if you need or want A+ A- B+ B- signals and the 6XD board if you need or want STEP, DIR and ENA signals.
You can easily have one 6xx board as an "expansion" board in addition to 1XD or 3HC boards. You can have more that one 6xx for expansion but it requires a bit of work.
Info on using 6xx board as "expander"
Frederick
-
The 6HC, 3HC, and 1HCL internally derive the STEP/DIR/etc and can directly control the phases of the stepper motors - like you said, you can connect the A+ to A+, A- to A-, B+ to B+, and B- to B- to directly drive the stepper motors.
This is helpful to know that 3HC internally derive the STEP/DIR/etc and can directly control the phases of the stepper motors and i don't need the External Drivers for fine tunning microsteps of STEP/DIR/ENA etc
-
@fcwilt
i have 1 x 6XD MainBoard and 3 x 3HC expansion boards. Currently, i also have 12 Stepper Motors (5 of them are Closed Loop and will go on the 6XD) + 12 External Drivers that i need to connect to those Duets. The first 6 Driver connections to Duet 3 6XD are fine.The other 6 Connections to 3HC is where i was confused or had an issue because the External drivers that came with Stepper Motors did have High Voltage ( A+, A-, B+, B-) Connection and also ( STEP+, STEP-, DIR+, DIR-, ENA+, ENA-) connections
So If i connected the Stepper motors directly to 3HC using ( A+, A-, B+, B-) Then did that mean that the ( STEP+, STEP-, DIR+, DIR-, ENA+, ENA-) signals would be handled internally through the in-built Driver on 3HC instead of me trying to connect the external drivers. ? and i can just do without the 6 external drivers associated with motors connected to 3HC and get same functionality from the in-built Driver on 3HC
-
@developeralgo222 Everything you've said is correct regarding using the 3HC boards.
On the 3HC, the TMC5160/TMC2160 motor driver (this is the chip on the 3HC board) handles the A+ A- B+ and B- signals/phases to the motor. Directly connect the motor to the 3HC.
For your '3 x External Nema 34 Drivers (X,Y1 &Y2) and 3 x Nema 23 Drivers to be added later for conveyor ' - these can be directly driven by a 3HC or a 6HC by directly connecting A+ A- B+ and B- to the Duet boards, however they will operate in open loop mode only.
To run in closed loop mode, you can either stick with the 6XD + the motors respective driver/controller (that will handle the motor control and feedback loop), or you could use 6x 1HCL (depending on what type of encoder/feedback mechanism is present on the motor).
-
The initial image the OP posted did not depict a closed-loop system.
So I am confused as to what he actually has.
Frederick
-
You don't need to worry about the internal of the 3HC boards. They have the A+ A- B+ B- outputs that are needed to connect to the A+ A- B+ B- connections of the stepper. The external box you have would not be used in any way - other than as a dust collector.
If you want to use the external box get another 6XD board or a bunch of 1XD boards.
I would just try to sell the external box and stick with the A+ A- B+ B- connections.
Frederick
-
@developeralgo222 said in Duet 3 3HC to external DM542 Driver and a Stepper Motor:
Currently, i have 12 Stepper Motors (3 x Closed Loop Servo Nema 34 (48V recommended) , 3 x Stepper Nema 17 (24V recommended), 6 x Stepper Nema 11(24V recommended) ) in total to connect for now on my PnP machine project
They mention wanting to add 3x Nema23s as well. Unsure if they would be closed loop.
@developeralgo222 I would recommend posting the part number (and potentially links) to each piece of hardware (motors, etc) you're aiming to use, that way we can best help you. -
@sebkritikel
Motors and Corresponding External DriversClosed Loop Motors:
(48V DC recommended for Nema 34 & 36V DC for Nema 23 )
- 3 x Nema 34 Closed Loop Motor ( 86HSE8N-BC38 ) each with HSS86 Hybrid Servo Driver
- 2 x Nema 23 Closed Loop Motor ( 57HSE76-2N-D25) each with 2HSS57 Hybrid Servo Driver
Open Loop Motors:
( 24V DC recommended for Nema 11 & 17 )
As per the support info from this forum, i might not need to use the 9 x External drivers for the 9 x Motors directly connected to 3 x 3HC expansion boards
- 3 x Nema 17 Open Loop Stepper Motor (Benzhi BD4248 ) each with Benzhi Microstep Driver(DM542 driver clone, i think) for driving the 6 heads/Nozzles along the Z-axis
- 6 x Nema 11 Open Loop Stepper Motor (Benzhi BT12811 ) each with Benzhi Microstep Driver (DM542 driver clone, i think) for the Nozzles/Heads
Duets:
- 1 x Duet 3 6XD Main Board ( All Closed Loop Motors & Drivers will connect to this 6XD board)
- 3 x Duet 3 3HC Expansion Boards ( All Open loop Motors will directly connect to 3 x 3HC expansion boards therefore avoiding external drivers and using 3HC in-built Drivers)
Endstops:
Several endstops (20+) for the various Axes as required--- Panasonic PM25U & PM25L