So I'm helping out a friend install a 6XD in his printer. Ideally we should have installed a 6HC, but we needed to get it up and running asap and it was out of stock locally so we went with a 6XD option.
We have managed to get movement out of the steppers, but it seems I need to re-send the M569 commands before the motors get "energized". Once they have had the commands sent, they can be moved with no issue.
The weird thing is that the commands are being sent in the config.g, but somehow aren't activating the drives there. It's only when I send them later on a second time that things work properly.
Adding these commands to the bottom tot he config.g doesn't seem to work either. Writing this out, i wonder if there is maybe there a time/power delay that would cause things?
If anyone has some clues on what to check/test for, let me know
The drivers used are SL2690A drivers, here is the manual: https://www.123-3d.nl/pdf/SL2690A--English.pdf
Per the manual, it seems that the config is 2us minimum step pulse, 2 us minimum step interval, 5us DIR setup time and 5us for the hold time. I am not 100% sure on the hold time. but testing 0, 2, 5 and 10 made no noticable difference so I kept it at 5us
The config.g is below. Note some parts of the config.g haven't been written out fully, as we're enabling things one by one to check the systems.
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Everything3D" ; set printer name
; Network
M552 S1 P0.0.0.0 ; enable network for
; Drives
M569 P0 S0 R1 T2:2:5:5 ; X axis, Drive 0, active high enable, 2us minimum step pulse, 2 us minimum step interval, 5us DIR setup time and no 5us time
M569 P1 S0 R1 T2:2:5:0 ; Y axis
M569 P2 S0 R1 T2:2:5:0 ; Z axis
;M569 P124.0 S0 ; physical drive toolboard goes forwards using default driver timings. Update with the correct CAN address (the P value)
M584 X0 Y1 Z2 ;E124.0 ; set drive mapping
;M350 E16
'M906 E1000 ; 1amp
;M350 E16 I1 ; configure microstepping with interpolation
;M906 E1000 I50 ; set motor currents (mA) and motor idle factor in per cent
; steps/mm and current set by external stepper motor
M92 X200 Y200.00 Z2000.00 E400 ; set steps per mm
M566 X600 Y600 Z50 E3600 ; set maximum instantaneous speed changes (mm/min)
M203 X4800 Y4800 Z500 E5100 ; set maximum speeds (mm/min)
M201 X600 Y600 Z15 E5100 ; set accelerations (mm/s^2)
M204 P500 ; travel move accelerations
M84 S100 ; Motor idle timeout
; Axis Limits
M208 X0 Y0 Z-4 S1 ; set axis minima. Updated from -2 to -4 on the Z
M208 X1200 Y580 Z600 S0 ; set axis maxima
; Endstops
;M574 X1 S1 P"!io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io0
;M574 Y2 S1 P"!io2.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin io1
;M574 Z1 S2 ; configure Z-probe endstop for low end on Z
; Z-Probe
;M950 S0 C"124.io0.out" ; create servo pin 0 for BLTouch
;M558 P9 C"^124.io0.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
;G31 P500 X-15 Y30 Z1.7 ; set Z probe trigger value, offset and trigger height
;M557 X30:1150 Y30:570 S50 ; define mesh grid
; Heaters
M140 H-1 ; disable heated bed (overrides default heater mapping)
;M308 S0 P"temp0" Y"thermistor" T4700000 B4725 ;C7.06e-8 ; configure sensor 0 as thermistor on pin temp0
;M950 H0 C"heat0" T0 ; create nozzle heater output on heat0 and map it to sensor 0
;M307 H0 R1.929 K0.248:0.000 D6.80 E1.35 S0.90 B0 V25
;M143 H0 S285 ; set temperature limit for heater 0 to 285c
; Fans
;M950 F0 C"124.out0" Q500 ; HEATSINK FAN create fan 0 on pin fan0 and set its frequency
;M106 P0 S1 H0 T45 ; set fan 0 value. Thermostatic control is turned on
;M950 F1 C"124.out1" Q41 ; PART COOLING FAN create fan 1 on pin fan1 and set its frequency
;M106 P1 S0 H-1 ; set fan 1 value. Thermostatic control is turned off
; Tools
;M563 P0 D0 H0 F1 ; 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
; Custom settings are not defined
; Toolboard
;M308 S2 P"124.temp1" Y"thermistor" A"toolboard temp" T100000 B4092
;LCD
;M950 P1 C"LCD_D4"
;M42 P1 S0
;G4 P500
;M42 P1 S1
;M918 P2 C30 F50000 E4
;********
;TESTING ONLY REMOVE ME IN FINAL BUILD
M564 H0 S0 ; allow unhomed moves + moves out of min/max area. Only for testing. Remove later on
;TESTING ONLY REMOVE ME IN FINAL BUILD
;*********