@dc42 I received the external driver and expansion board. I have not had any luck getting it to work so far.
Driver = https://www.omc-stepperonline.com/index.php?route=product/isearch&search=CL57T
Motor= https://www.automationdirect.com/adc/shopping/catalog/motion_control/stepper_systems/dual_shaft_and_encoder_stepper_motors/stp-mtr-17048e
Setup=
(Driver) to (Duet Breakout) on Drive 5
PUL+ to STEP+
PUL- to STEP-
DIR+ to DIR+
DIR- to DIR-
ENA+ to ENA+
ENA- to ENA-
From my config file:
; Motor Remapping
M584 X5 Y1:2 V0 U3 Z4;
; Drives
M569 P0 S1 ;
M569 P1 S1 ;
M569 P2 S1 ;
M569 P5 S1 R1 T2;
M906 X2000 Y2000 Z0 U0 ; Set motor currents (mA)
The stepper motor has encoder feedback, so first I connected only the stepper motor wires (A+/- B+/-) to the Duet and commanded the stepper motor just fine. When I plug the stepper into the external driver, I noticed that the stepper motor gets hot (about 55+ C) after 10 minutes. That seems to be too high (also data sheet says- 20 to 50 C). I checked the amp setting in M906, and you can see its 2A, as suggested in the motor spec sheet.
For the dip switch settings, SW1-SW4 are simple, they just control the encoder resolution (set to default for now). SW5 to SW8 though, I am having a hard time understanding their connection to the config.g settings under M569. In the GCode documentation it says "backwards" or "forwards" for the S parameter - how does this relate to CW or CCW as the Driver seems to indicate?
Currently, with the dip switches all set to OFF, I have (on the ext. driver)
DIR=CCW,
Auto Tuning = Yes,
Pulse Mode = PUL/DIR, and
Pulse Edge = Rising
When I command a X+1 movement from DWC, the shaft seems to click forward, but if I do it another time the movement isn't the same, and a third X+1 causes the motor to vibrate erratically.
Any guidance you can provide would be greatly appreciated!