External Stepper driver issue
-
Hi there,
We cant get working DM556N-L stepper drive from STEPPERONLINE.Wiring:
LCD_DB5 Step 10 -------> PUL +
LCD_DB6 Dir 10 ---------> DIR +
LCD_DB7 Enable 10-----> ENA -
------------------ +3.3V -----------> ENA+
-------------------GND-------------> PUL-/DIR-Voltage:
Voltage between ENA+ and ENA- : 0V starting duet, then 2.7V on first command
Voltage between DIR+ and DIR- : 0V or 2.7V
(not 3.3V, what do you think about that?)Firmware:
We tested parameters below:
M569 P10 S1 T3
M569 P10 S1 T3:3:5:0
M569 P10 S1 T5:5:5:0
M569 P10 S1 T5
M569 P10 S1 T10Problem:
We did the same test with drive 10, same result, motor get warm but doesn't move, no noise, nothing....
We are using duex5 so whe can't use Duet Expansion Breakout Board .....We thing that this driver needs more than 2.7V or 2mA..... what do you guys thing ?
Best regards, Simon from Trideo
Our config.g :
; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M117 Let's print something big!; Network
M550 PBIG T ; Set machine name
M551 Psimi ; Set passwordM586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet
M552 S1 ; Enable network; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
;M569 P3 S0 ; Drive 3 goes forwards
M569 P4 S1 ; Drive 4 goes forwards
M569 P5 S1 ; Drive 0 goes forwards
M569 P6 S1 ; Drive 1 goes forwards
M569 P7 S1 ; Drive 2 goes forwards
M569 P8 S1 ; Drive 3 goes forwards
;M569 P9 S1 ; Drive 4 goes forwards
M569 P10 S1 T3M584 X0 Y1 Z5:6:7:8 E10 ; Mapping driver
M350 X16 Y16 Z16 E16 I0 ; Configure microstepping without interpolation
M92 X42.60 Y42.60 Z640 E218 ; Set steps per mm
M566 X600 Y600 Z50 E1200 ; Set maximum instantaneous speed changes (mm/min)
M203 X15000 Y15000 Z450 E1200 ; Set maximum speeds (mm/min)
M201 X800 Y800 Z250 E250 ; Set accelerations (mm/s^2)
M906 X2240 Y2240 Z2240 E2700 I70 ; Set motor currents (mA) and motor idle factor in per cent X,Y,Z 65% 2.8I /
M84 S30 ; Set idle timeout; Axis Limits
M208 X-45 Y-10 Z-2 S1 ; Set axis minima
M208 X1075 Y1050 Z1050 S0 ; Set axis maxima; Endstops
M574 X1 Y1 Z1 S1 ; Set active low endstops; Z-Probe
M558 P9 H5 F100 T12000 ; Set Z probe type/mode 9. H=Dive Height. F=Speed the bed moves
G31 P25 X0 Y-60 Z0 ; Set Z probe trigger value, offset and trigger height
M556 S0 X0 Y0 Z0 ; Set orthogonal axis compensation parameters
M557 X20:980 Y80:980 S80 ; Define mesh grid; Heaters
M307 H3 A-1 C-1 D-1 ; Disable heater 3 for servo motor
M307 H4 A-1 C-1 D-1 ; Disable heater 4 for BLTouch
M307 H0 A44.3 C903.2 D1.0 B0 V24.6
M305 P0 T100000 B3800 C0 R4700
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T4606017 B5848 C5.548428e-8 R4700 ;Typhoon
M143 H1 S480 ; Set temperature limit for heater 1 to 280C
M305 P2 T4606017 B5848 C5.548428e-8 R4700 ;Typhoon
M143 H2 S480M307 H1 A1439.2 C374.8 D9.5 S1 V24.5 B0
M307 H2 A1439.2 C374.8 D9.5 S1 V24.5 B0; Fans
M106 P0 S1 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H2 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Tools
M563 P0 D0 H1:2 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C;Runout filament sensor
M591 D0 P1 C3 S1;Presure advence
M572 D0 S0.04; Automatic power saving
M911 S23 R22 P"M226" ; Set voltage thresholds and actions to run on power loss; Custom settings are not configured
M106 S0; Z Frame levelling
M671 X1069:-71:1069:-151 Y-317:1223:1223:-71 S15 -
Three likely reasons why it doesn't work:
- You always need to extend the step pulse timing when using external drivers with opto isolated inputs, using the M569 T parameter. Check the driver manual for how much time they need.
- For some external drivers, voltage between the EN pins disables the driver instead of enabling it, and you need to allow for this (M569 R parameter). Check the driver manual.
- Your drivers probably need more than 2.7V drive. You can use a 74HCT365 or 74HCT367 chip to level shift all 6 signals to 5V.
-
Hi there,
Thanks @dc42 for answering.
We solved it! Using other stepper, same model, this one was not working well .... or we burned it making test.- Finely 2.V works well!
- M569 P10 S1 T3:3:5:0 works
- ENA +/- disconnected (Or use R parameter in M569)
Thanks!
Simon