How to configure drivers 10 and 11 on CONN_LCD?
-
@droftarts said in How to configure drivers 10 and 11 on CONN_LCD?:
Depending on which external stepper driver you are using (what are you using?) you may need to change the length of the pulse that tells the stepper driver to move; see the T parameter of M569.
Like I said earlier, external drivers often need different step pulse length. Refer to documentation, or tell us what drivers they are so we can suggest settings.
Ian
-
@droftarts OK, I wish I knew which of the changes finally mattered but I don't. I probed the STEP output with an oscilloscope and the pulses are there and the pulse length is fine. I was able to move the extruder motor first as U axis and then as extruder 0, all is good now.
I want to thank all the people that made suggestions, it really did help a lot, I think we can close this thread now. For those with a similar configuration as mine (CoreXY, three Z motors and two extruders with external drivers on CONN_LCD here is my config.g - this is a work in progress and it's not complete but all the motors are working now as does the bed heater (with a PT1000 sensor):
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"My Printer" ; set printer nameM584 X0 Y1 Z2:3:4 E10:11 ; set drive mapping
;M584 X0 Y1 Z2:3:4 U10 V11 E5 ; set extruder drivers as U and V axes just for testing
M667 S1 ; select CoreXY mode; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S0 ; physical drive 0 goes backwards
M569 P1 S0 ; physical drive 1 goes backwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
M569 P4 S1 ; physical drive 4 goes forwards
M569 P10 S1 ; physical drive 10 goes forwards
M569 P11 S1 ; physical drive 11 goes forwards
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z800.00 E800.00 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E12.00 ; set maximum instantaneous speed changes (mm/min)
M203 X60000.00 Y60000.00 Z1200.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z250.00 E250.00 ; set accelerations (mm/s^2)
M906 X1600 Y1600 Z1600 E1600 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X230 Y210 Z200 S0 ; set axis maxima; Endstops
M574 X0 Y0 Z0 S0 ; set active low and disabled endstops; Z-Probe
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
M140 H0 ; enable heated bed
M305 P0 X500 R4700 ; set PT1000 for heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C; Fans
M106 P0 S0 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; Tools
M563 P0 D0 ; define tool 0 (motor driver 10)
M563 P1 D1 ; define tool 1 (motor driver 11) -
I forgot to mention that the Extrude/Retract Web Interface buttons are still greyed out and do not work, I can only move the extruder motor with G1 Ennn commands. No big deal.
-
@catalin59 So I understand you right: you can command your extruder stepper (physical drive 10, mapped to E10 and assigned to tool 0) with the external driver by G-codes? That was the biggest hurdle, congratulations!
Now, to get the web interface activated, you might proceed with your tool definition - adding heater, fan and thermistor, that is. If you still got no physical devices attached, follow @Phaedrux’s advice and try adding a dummy heater definition… I may be wrong, but IMHO, the DWC tool control interface is mainly there to control the temperatures of a tool, so it might need more than just a stepper to become functional.
With the extract/retract buttons in DWC, I'm not sure of the reason why they are still disabled - maybe someone else has an idea?
-
@catalin59 said in How to configure drivers 10 and 11 on CONN_LCD?:
I forgot to mention that the Extrude/Retract Web Interface buttons are still greyed out and do not work, I can only move the extruder motor with G1 Ennn commands. No big deal.
What version of DWC are you using? I just tried on my machine using 2.0.4 and the buttons are normally greyed out but if I send M302 P1 they become "non-greyed" and active. The same works on DWC 1.22.6. If you are using some other version of DWC, it might be worth trying one of the above.
-
@deckingman The Web Interface version is 1.22.6