@deckingman The Web Interface version is 1.22.6
Latest posts made by catalin59
-
RE: How to configure drivers 10 and 11 on CONN_LCD?
-
RE: 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.
-
RE: How to configure drivers 10 and 11 on CONN_LCD?
@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) -
RE: How to configure drivers 10 and 11 on CONN_LCD?
I moved M584 before M667 and changed it to M584 X0 Y1 Z2:3:4 U10 V11 E5. I see now two more axes U and V in the web interface. Movement commands on X, Y and Z work as expected. Movement comands on U are ignored and it takes a couple of seconds for something to time out before the next move command is processed. For example, if I move U and immediately X, nothing happens for about 3 seconds then the X move gets executed.
I have tested the STEP/DIR driver interface by manually creating STEP pulses with an external 3V/2mA source and the extruder motor does move so I am pretty sure this is not some connectivity problem but still a G-Code issue. Drivers 10 and 11 on CONN_LCD are special and something different must be done compared with the 5 onboard ones.
-
RE: How to configure drivers 10 and 11 on CONN_LCD?
@infiniteloop All these are good suggestions. I tried to implement them and also cleaned up config.g which now looks like this:
; Configuration file for Duet WiFi (firmware version 2.03)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.0.4 on Fri Sep 20 2019 21:45:29 GMT-0400 (Eastern Daylight Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"My Printer" ; set printer nameM667 S1 ; select CoreXY mode
; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable TelnetM584 X0 Y1 Z2:3:4 E10 ; set drive mapping
; 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
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 H1 F0 ; define tool 0
M563 P0 D0 ; 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
I execute manually T0 and M302 P1 but nothing has changed, the Extrude/Retract are still greyed out and G1 Ennn does nothing.
-
RE: How to configure drivers 10 and 11 on CONN_LCD?
@droftarts This is a work in progress (no endstops, no extruder heaters, no fans yet) but CoreXY, 3-motor axis Z and bed heater are working already:
; Configuration file for Duet WiFi (firmware version 2.03)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.0.4 on Fri Sep 20 2019 21:45:29 GMT-0400 (Eastern Daylight Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"My Printer" ; set printer nameM667 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 P5 S1 ; physical drive 5 goes forwards
M569 P6 S1 ; physical drive 6 goes forwards
M569 P7 S1 ; physical drive 7 goes forwards
M569 P8 S1 ; physical drive 8 goes forwards
M569 P9 S1 ; physical drive 9 goes forwards
M584 X0 Y1 Z2:3:4 E10 ; set drive mapping
M563 P0 D0 ; set tool 0 to driver 10 (first extruder on CONN_LCD)
M350 X16 Y16 Z16 E16:16:16:16:16:16:16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z800.00 E800.00:800.00:420.00:420.00:420.00:420.00:420.00 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E12.00:12.00:120.00:12.00:12.00:12.00:12.00 ; set maximum instantaneous speed changes (mm/min)
M203 X60000.00 Y60000.00 Z1200.00 E1200.00:1200.00:1200.00:1200.00:1200.00:1200.00:1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z250.00 E250.00:250.00:250.00:250.00:250.00:250.00:250.00 ; set accelerations (mm/s^2)
M906 X1600 Y1600 Z1600 E1600:1600:1600:1600:1600:1600:1600 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 H1 F0 ; 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
After startup, on top of this I execute manually:
M302 P1
M564 S0 H0
M563 P0 D0
T0I can move on XYZ as expected, I can control the bed heating but I cannot move the extruder motor connected to driver 10 on CONN_LCD. I know that the extruder driver and motor are working because the STEP/DIR/ENABLE interface works when tested separately. The Extrude and Retract buttons on the Web Interface are greyed out.
Thanks a lot for the offer to help with this issue. It looks like I am the first one using all 5 onboard drivers for XYZ and the two CONN_LCD extra interfaces for extruders, I have found the documentation on how to connect this but nothing on the required G-Code comands to set this up.
-
RE: How to configure drivers 10 and 11 on CONN_LCD?
@deckingman I am doing both M302 P1 (allow cold extrusion) and T0 already and I can see the tool status change in the Web Interface accordingly. But the two Retract and Extrude buttons are always greyed out and the extruder motor never moves.
-
RE: How to configure drivers 10 and 11 on CONN_LCD?
@droftarts OK, so drive 10 in M584 is drive 0 in M563, I did not see that one coming, I really appreciate the help. M563 P0 D0 does not issue any errors so it's a step forward, however I still cannot move the extruder motor. I enabled cold extrusion with M302 P1 (I do not have a hotend yet, I am just moving X, Y, Z and E axes for now) but the Retract/Extrude buttons in the Extruder Control panel of Duet Web Control are greyed out and G1 Ennn does nothing.
I see the tool in Web Control, I enable it but I cannot move it. There is still something missing to enable the external motor driver on CONN_LCD and it's like finding a needle in a haystack. I had the XYZ movements (CoreXY with three Z motors) working like a charm, it was nothing compared with this extruder thing.
-
RE: How to configure drivers 10 and 11 on CONN_LCD?
@Phaedrux That's exactly what I am doing when I use M584 X0 Y1 Z2:3:4 E10:11 but then M563 P0 D10 still reports "Error: M563: Tool creation: bad drive number" - there must be something else that needs to be done to be able to use driver 10 as an extruder and this is not documented anywhere
-
RE: How to configure drivers 10 and 11 on CONN_LCD?
@timcurtis67 This is what I think I am doing with M584 X0 Y1 Z2:3:4 E10:11 - doesn't this map the first two extruders to drives 10 and 11? How do you unmap existing extruder drives? There is no mention in the wiki anywhere about driver unmapping. The M584 documentation only mentions setting the drive mapping and gives one example which is very similar to what I am using but does not work.