in file macro line 9 column 12: M567...
-
I get a message in DWC
"
T2
in file macro line 9 column 12: M567: array too long, max length = 1
"After i select T2.
I have no idea what this means... how do i solve this?
I can share config if needed.
-
It's Duet2
FW 3.2-beta1 (2020-09-15b1)
DWC 2.0.4 -
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
; by MaracMB
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"MarX-Quad" ; set printer name; 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 S1 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S1 ; Physical drive 3 goes forwards (X2 on e0)
M569 P4 S1 ; Physical drive 4 goes forwards (Z2 on e1)
M569 P5 S1 ; Physical drive 5 goes forwards (X3 on e2)
M569 P6 S1 ; Physical drive 6 goes forwards (X4 on e3)
M569 P7 S0 ; physical drive 7 goes backwards E0
M569 P8 S0 ; physical drive 8 goes backwards E1
M569 P9 S0 ; physical drive 9 goes backwards E2
M569 P10 S0 ; physical drive 10 goes backwards E3; Drive mapping
M584 X0 Y1 Z2:4 U3 A5 B6 V4 E7:8:9:10 P7 ; Drive mapping X=0, Y=1, Z=2 and 4, X2=U=3, X3=A=5, X4=B=6 and Z2=V=4,extruder motors 7,8,9,10. Drive 2 and 4 is combined Z. 6 axes are visible
M350 X32 Y32 Z32 U32 A32 B32 V32 I1 ; Configure microstepping with interpolation
M350 E16:16:16:16 I1 ; Configure microstepping without interpolation; Motion parameters
M92 X160.00 Y160.00 Z1600.00 U160.00 A160.00 B160.00 V1600.00 ; Set steps per mm
M92 E396.00:396.00:396.00:396.00 ; Set steps per mm
M566 X420.00 Y420.00 Z15.00 U420.00 A420.00 B420.00 V15.00 ; set maximum instantaneous speed changes (mm/min)
M566 E320.00:320.00:320.00:320.00 ; set maximum instantaneous speed changes (mm/min)
M203 X12000.00 Y12000.00 Z1200.00 U12000.00 A12000.00 B12000.00 V1200.00 ; set maximum speeds (mm/min)
M203 E1200.00:1200.00:1200.00:1200.00 ; set maximum speeds (mm/min)
M201 X880.00 Y880.00 Z240.00 U880.00 A880.00 B880.00 V240.00 ; set accelerations (mm/s^2)
M201 E6400.00:6400.00:6400.00:6400.00 ; set accelerations (mm/s^2)
M906 X950 Y1050 Z950 U950 A950 B950 V950 I30 ; set motor currents (mA) and motor idle factor in per cent
M906 E950:950:950:950 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X-170 Y-155 Z0 U-135 A-158 B-135 V0 S1 ; Set axis minima
M208 X115 Y155 Z350 U168 A112 B188 V350 S0 ; Set axis maxima; Endstops
M574 X1 S1 P"!xstop" ; configure active-low endstop for low end on X via pin xstop
M574 Y1 S1 P"!ystop" ; configure active-low endstop for low end on Y via pin ystop
M574 Z1 S1 P"!zstop" ; configure active-low endstop for low end on Z via pin zstop
M574 U2 S1 P"!e0stop" ; configure active-low endstop for high end on X2 via pin e0stop
M574 A1 S1 P"!duex.e2stop" ; configure active-low endstop for low end on X3 via pin e2stop
M574 B2 S1 P"!duex.e3stop" ; configure active-low endstop for high end on X4 via pin e3stop
M574 V1 S1 P"!e1stop" ; configure active-low endstop for low end on Z2 via pin e1stop; Z-Probe
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X-125:125 Y-125:125 S125 ; define mesh grid; Heaters and sensors
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M308 S1 P"duex.e4temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin duex.e4temp
M308 S2 P"duex.e5temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin duex.e5temp
M308 S3 P"duex.e6temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 3 as thermistor on pin duex.e6temp
M308 S4 P"duex.e3temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 4 as thermistor on pin duex.e3temp;M308 S5 Y"mcu-temp" A"MCU" ; Configure sensor for MCU
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M143 H0 S100 ; set temperature limit for heater 0 to 120C
M140 H0 ; map heated bed to heater 0M950 H1 C"duex.e4heat" T1 ; create nozzle heater output on duex.e3heat and map it to sensor 1
M143 H1 S300 ; set temperature limit for heater 1 to 300C
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M950 H2 C"duex.e5heat" T2 ; create nozzle heater output on duex.e4heat and map it to sensor 2
M143 H2 S300 ; set temperature limit for heater 2 to 300C
M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M950 H3 C"duex.e6heat" T3 ; create nozzle heater output on duex.e5heat and map it to sensor 3
M143 H3 S300 ; set temperature limit for heater 3 to 300C
M307 H3 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M950 H4 C"duex.e3heat" T4 ; create nozzle heater output on duex.e6heat and map it to sensor 4
M143 H4 S300 ; set temperature limit for heater 4 to 300C
M307 H4 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit; Fans
M950 F0 C"duex.fan4" Q500 ; create fan 0 on pin duex.fan4 and set its frequency -- HOTEND FAN tool 0
M106 P0 S0 H1 T45 ; set fan 0 value. Thermostatic control is turned on -- HOTEND FAN tool 0
M950 F1 C"fan2" Q500 ; create fan 1 on pin fan2 and set its frequency -- HOTEND FAN tool 1
M106 P1 S0 H2 T45 ; set fan 1 value. Thermostatic control is turned on -- HOTEND FAN tool 1
M950 F2 C"duex.fan3" Q500 ; create fan 2 on pin duex.fan3 and set its frequency -- HOTEND FAN tool 2
M106 P2 S0 H3 T45 ; set fan 2 value. Thermostatic control is turned on -- HOTEND FAN tool 2
M950 F3 C"duex.fan7" Q500 ; create fan 3 on pin duex.fan7 and set its frequency -- HOTEND FAN tool 3
M106 P3 S0 H4 T45 ; set fan 3 value. Thermostatic control is turned on -- HOTEND FAN tool 3
M950 F4 C"fan1" Q1000 ; create fan 4 on pin fan1 and set its frequency -- TOOL FAN 0
M106 P4 S0 H-1 ; set fan 4 value. Thermostatic control is turned off -- TOOL FAN 0
M950 F5 C"duex.fan5" Q1000 ; create fan 5 on pin duex.fan5 and set its frequency -- TOOL FAN 1
M106 P5 S0 H-1 ; set fan 5 value. Thermostatic control is turned off -- TOOL FAN 1
M950 F6 C"duex.fan6" Q1000 ; create fan 6 on pin duex.fan6 and set its frequency -- TOOL FAN 2
M106 P6 S0 H-1 ; set fan 6 value. Thermostatic control is turned off -- TOOL FAN 2
M950 F7 C"duex.fan8" Q1000 ; create fan 7 on pin duex.fan8 and set its frequency -- TOOL FAN 3
M106 P7 S0 H-1 ; set fan 7 value. Thermostatic control is turned off -- TOOL FAN 3;Extra fan ports
;M950 F4 c"fan1" Q100 ; Assign Fan 4 to onboard Fan1 Port
;M106 P4 L0.2 X1 B0.1 H3 T40:65 ; Set fan 4 PWR fan. Turns on when MCU temperature hits 40C and full when the MCU temperature reaches 65C
;M950 F5 C"duex.fan8" ; create port for LEDs on pin duex.fan8
;M106 P5 S0 C"LIGHTS" ; LED control; Tools
M563 P0 S"FrontLeft" D0 H1 F4 ; define tool 0
G10 P0 X0 Y0 Z0 U0 A0 B0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0CM563 P1 S"FrontRight" D1 H2 X3 F5 ; define tool 1, ports X axis to A motor 3
G10 P1 X0 Y0 Z0 U0.83 A0 B0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0CM563 P2 S"BackLeft" D2 H3 X5 F6 ; define tool 3, ports X axis to A motor 3
G10 P2 X0 Y161 Z0 U0 A0 B0 ; set tool 2 axis offsets
G10 P2 R0 S0 ; set initial tool 1 active and standby temperatures to 0CM563 P3 S"BackRight" D3 H4 X6 F7 ; define tool 3, ports X axis to A motor 3
G10 P3 X0 Y0 Z0 U0 A0 B0 ; set tool 1 axis offsets
G10 P3 R0 S0 ; set initial tool 1 active and standby temperatures to 0C; DITTO TOOLs
M563 P4 S"DittoFront" D0:1 H1:2 X0:3 F4:5 ; Tool 2 uses extruders 1 and 2, hotend heaters 1 and 2, maps X to X and U, uses tool fans 4 and 5
G10 P4 X77 Y0 U-77 ; Set tool offsets and temperatures for tool 2 - moves X 77 left and U 77 right
G10 P4 R0 S0
M567 P4 E1.0:1.0:0.0:0.0 ; Set mix ratio 100% on both extrudersM563 P5 S"DittoBack" D2:3 H3:4 X5:6 F6:7 ; Tool 2 uses extruders 3 and 4, hotend heaters 3 and 4, maps X to A and B, uses tool fans 6 and 7
G10 P5 A77 Y0 B-77 ; Set tool offsets and temperatures for tool 2 - moves X 77 left and U 77 right
G10 P5 R0 S0
M567 P5 E0.0:0.0:1.0:1.0 ; Set mix ratio 100% on both extrudersM563 P6 S"QUAD" D0:1:2:3 H1:2:3:4 X0:3:5:6 F4:5:6:7 ; Tool 6 uses extruders 1,2,3and4, hotend heaters 1,2,3and4, maps X to U,A and B, and tool fans 4,5,6 and 7
G10 P6 X77 Y81.50 U-77 A77 B-77 ; Set tool offsets and temperatures for tool 2 - moves X 77 left and U 77 right
G10 P6 R0 S0
M567 P6 E1.0:1.0:1.0:1.0 ; Set mix ratio 100% on both extruders;Filament runout sensor
;M591 P1 C"duex.somewhere" S1 D0
;M591 P1 C"duex.somewhere" S1 D1
;M591 P1 C"duex.somewhere" S1 D2
;M591 P1 C"duex.somewhere" S1 D3; Automatic saving after power loss is enabled
M911 S23.00 R23.50 P"M913 X0 Y0 U0 A0 B0 G91 M83 G1 Z3 E-5 F3000" ; Set voltage thresholds and actions to run on power loss; Miscellaneous
M501 ; load saved parameters from non-volatile memory -
This post is deleted! -
when trying to print. Because i tried. ... what's the worst hing it can do right?
it reports
"
M120
M83
G1 E10 F300
M121Error: in file macro line 9 column 12: M567:array too long, max length = 1
" -
@MaracMB said in in file macro line 9 column 12: M567...:
I get a message in DWC
"
T2
in file macro line 9 column 12: M567: array too long, max length = 1
"After i select T2.
I have no idea what this means... how do i solve this?
I can share config if needed.
- Most likely the problem is in the tpre2.g or tpost2.g file. Please share those files.
- If you run M98 P"config.g", are any errors reported?
-
the tpre2.g is empty
but the tpost2.g .... damn. i see it. it's the mixing, right? I am turning this from 2 head to 4 and it's just a messy stuff
anyhow:
; tpost2.g
; called after tool 2 has been selected
;
; scripted by Marac;M106 R2 ; restore print cooling fan speed
M116 P2 ; wait for tool 2 heaters to reach operating temperature
M83 ; relative extruder movement
M567 P2 E1:1 ; set tool mix ratio
;M568 P2 S1 ; turn on mixing
;G1 E2 F3600 ; extrude 2mm from both extrudersthanks @dc42
-
Yes that was it. Many, many thanks