Some machine changes and now I get strange M32 Error
-
Ok bit of back story. Machine is a voron 2.4 350 (Duet3 with SBC and 1LC). Wanted to do the upgrade to a chaotic labs TAP (Was already running the standard TAP) this made the standard microswitch endstops not feasible anymore. So i start the change over to sensorless endstop sensing. So I VNC in to the machine and realise there are updates for the DUET so I sudo apt upgrade/update. it asks me if I want to flash the firmware on the mainboard and the 1LC which I said yes to. This all looks good. Then i remove the references to the microswitch references on the 1LC in the config.g and tune up sensorless endstops. all working great. I then get the new TAP all configured and can do a full Home all and everything works. Great.
I think ill do a test print and when I go to the Files>Jobs folder in DWC I get hundreds of errors from all my old prints saying:
Failed to get file info for V350_FP2_Wallmount.gcode
Illegal parameter letter '.'but for every file in the folder which was hundreds.
So I delete all the files and think ill create a new file in Cura and send it over. Still the same issue.
I tried forcing the print and it'll home and bed level but it just starts the print and then cancels it
here's the Console:
08/09/2024, 13:25:54 Error: in file macro line 24: G0: expected numeric operands 08/09/2024, 13:25:54 Cancelled printing file 0:/gcodes/V350_FP2_Wallmount, print time was 0h 0m 08/09/2024, 13:25:43 Error: in job file (channel File) line 807: Illegal parameter letter '.' 08/09/2024, 13:25:42 M32 "0:/gcodes/V350_FP2_Wallmount" File 0:/gcodes/V350_FP2_Wallmount selected for printing 08/09/2024, 13:25:11 Error: in file macro line 24: G0: expected numeric operands 08/09/2024, 13:25:11 Cancelled printing file 0:/gcodes/V350_FP2_Wallmount, print time was 0h 1m 08/09/2024, 13:24:57 Leadscrew adjustments made: -0.002 0.037 0.008 0.080, points used 4, (mean, deviation) before (0.032, 0.018) after (0.000, 0.000) 08/09/2024, 13:24:36 Leadscrew adjustments made: -0.075 0.105 0.031 -0.132, points used 4, (mean, deviation) before (-0.032, 0.065) after (0.000, 0.000) 08/09/2024, 13:24:07 Error: in job file (channel File) line 807: Illegal parameter letter '.' 08/09/2024, 13:24:07 M32 "0:/gcodes/V350_FP2_Wallmount" File 0:/gcodes/V350_FP2_Wallmount selected for printing 08/09/2024, 13:21:48 M32 "0:/gcodes/V350_FP2_Wallmount.gcode" Error: Illegal parameter letter '.' 08/09/2024, 13:20:49 Failed to get file info for V350_FP2_Wallmount.gcode Illegal parameter letter '.' 08/09/2024, 13:17:44 Connection established
My config.g:
;=========================================================================== ; Configuration file for Voron Joker (MB 6HC + 1LC) (firmware version 3.4.5) ; Executed by the firmware on start-up ; Designed by Lee Gorecki on 23rd December 2022 ;=========================================================================== ;==================== ; General preferences ;==================== G90 ; Send absolute coordinates... M83 ; ...But relative extruder moves M550 P"Voron-Joker" ; Set Printer name M669 K1 ; Set CoreXY mode G4 S4 ; Wait 4 Seconds for expansion boards to startup ;======= ; Drives ;======= ;=== ; XY ;=== M569 P0.3 S1 ; X (B Motor) on 6HC Driver 3 (LDO)(Forwards) M569 P0.4 S1 ; Y (A Motor) on 6HC Driver 4 (LDO)(Backwards) ;== ; Z ;== M569 P0.1 S1 ; Z (Z0 Motor) on 6HC Driver 1 (LDO)(Forwards)(Front Left) M569 P0.2 S0 ; Z (Z1 Motor) on 6HC Driver 2 (LDO)(Backwards)(Rear Left) M569 P0.5 S1 ; Z (Z2 Motor) on 6HC Driver 5 (LDO)(Forwards)(Rear Right) M569 P0.0 S0 ; Z (Z3 Motor) on 6HC Driver 0 (LDO)(Backwards)(Front Right) ;========= ; Extruder ;========= M569 P121.0 S1 ; E0 on 1LC Driver 0 Extruder (Bondtech LGX) (Forwards) ;=============================== ; Motor Mapping and Steps per MM ;=============================== M584 X0.3 Y0.4 Z0.1:0.2:0.5:0.0 E121.0 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X160.00 Y160.00 Z400.00 E404.00 ; set steps per mm ;=============== ; Drive Currents ;=============== M906 X1250 Y1250 I50 ; Set XY motor currents (mA) and ide current percentage M906 Z1550 I50 ; Set Z motor currents (mA) and ide current percentage M906 E550 I50 ; Set E motor currents (mA) and ide current percentage M84 S10 ; Set idle timeout ;============ ; Axis Limits ;============ M208 X0 Y0 Z0 S1 ; set axis minima M208 X346 Y346 Z325 S0 ; set axis maxima ;========= ; Endstops (Sensorlesss Stall Detection) ;========= M915 X Y S2 R0 F0 ; Setup Sensorless Homing M574 X2 S3 ; X Axis Sensorless Endstop (Near End) M574 Y2 S3 ; Y Axis Sensorless Endstop (Near End) M574 Z0 S1 P"nil" ; Z Axis Endstop Not Connected Refer to Z Probe Tap Sensor ;======== ; Z-Probe ;======== M558 K0 P8 C"!^121.io2.in" H2 R0.2 F300:180 T18000 A3 S0.05 ; Set Z probe type to switch and the dive height + speeds G31 K0 P500 X0 Y0 Z-0.50 ; Set Z probe trigger value, offset and trigger height (higher Z value = nozzle closer to bed) ;========================= ; Bed Leveling and Meshing ;========================= M671 X-58:-58:410:410 Y2:417:417:2 S20 ; Define Z belts locations (Front_Left, Rear_Left, Rear_Right, Front_Right) Position of the bed leadscrews.. 4 Coordinates Snn Maximum correction to apply to each leadscrew in mm (optional, default 1.0) M557 X30:320 Y30:320 S20 ; Define default mesh grid (positions include the Z offset!) ;======== ; Heaters ;======== M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out1" T0 ; create bed heater output on out1 and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"121.temp0" Y"thermistor" T100000 B4725 C7.060000e-8 ; configure sensor 1 as Thermistor on pin 121.temp0 M950 H1 C"121.out0" T1 ; create nozzle heater output on 121.out0 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C ;===== ; Fans ;===== ;========= ; Part Fan ;========= M950 F0 C"121.out2" Q500 ; create fan 0 on pin 121.out2 and set its frequency M106 P0 S0 H-1 C"Part Cooling Fan" ; set fan 0 value. Thermostatic control is turned off ;================== ; Electronics Fan 1 ;================== M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency M106 P1 L0.15 H2:3 T42:50 C"Electronics Fan 1" ; Electronics fans start @ 30% when temperature sensor 2 reaches 42°C or sensor 3 (drivers report over temp) M106 P1 H2:3 L0.15 X1 B0.3 T45:70 ; Set fan 1 value, electronics cooling, starts to turn on when the MCU temperature(H2) reaches 45°C and reaches full speed when the MCU temperature reaches 70°C or if any TMC2660 drivers(H3) report that they are over-temperature. ;================== ; Electronics Fan 2 ;================== M950 F2 C"out5" Q500 ; create fan 2 on pin out5 and set its frequency M106 P2 L0.15 H2:3 T42:50 C"Electronics Fan 2" ; Electronics fans start @ 30% when temperature sensor 2 reaches 42°C or sensor 3 (drivers report over temp) M106 P2 H2:3 L0.15 X1 B0.3 T45:70 ; Set fan 2 value, electronics cooling, starts to turn on when the MCU temperature(H2) reaches 45°C and reaches full speed when the MCU temperature reaches 70°C or if any TMC2660 drivers(H3) report that they are over-temperature. ;==================== ; Chamber Exhaust Fan ;==================== M950 F3 C"out6" Q500 ; create fan 3 on pin out6 and set its frequency M106 P3 S1 H-1 C"Exhaust Fan" ; set fan 3 value. Thermostatic control is turned off ;====== ; Tools ;====== M563 P0 S"Revo" D0 H1 ; define tool 0 (Removed F-1 from Tool, Delete once checked) G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ;============== ; Miscellaneous ;============== M501 ; load saved parameters from non-volatile memory M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss M572 D0 S0.0 ; Disable Pressure Advance M98 P"/sys/lib/init.g" ; Iniate external configs T0 ; Select tool 0 ;M950 P0 C"out2" ; Create output Port0 attached to out2 connector for LED lights
My Home X:
; /sys/homex.g ; called to home the X axis ;=========== ; LED status ;=========== ;set global.sb_leds = "homing" ;======================== ; Setup low speed & accel ;======================== M98 P"/sys/lib/speed/speed_probing.g" ; set low speed & accel ;==================================================== ; Raise nozzle relative to current position if needed ;==================================================== M98 P"/sys/lib/current/z_current_low.g" ; Set low Z currents if !move.axes[2].homed ; If Z ain't homed G91 ; Relative positioning G1 Z{global.Nozzle_CL} F9000 H1 ; Raise nozzle relative to current position G90 ; Absolute positioning elif move.axes[2].userPosition < {global.Nozzle_CL} ; If Z is homed and less than global.Nozzle_CL G1 Z{global.Nozzle_CL} F9000 ; Move to Z global.Nozzle_CL M98 P"/sys/lib/current/z_current_high.g" ; Restore normal Z currents ;================== ; Lower AB currents ;================== M98 P"/sys/lib/current/xy_current_low.g" ; Set low XY currents ;============================================== ; Move quickly to X axis endstop and stop there ;============================================== G1 X400 F4000 H1 ; Move quickly to X axis endstop and stop there ;==================== ; Restore AB currents ;==================== M98 P"/sys/lib/current/xy_current_high.g" ; Restore normal XY currents ;============================= ; Restore normal speed & accel ;============================= M98 P"/sys/lib/speed/speed_printing.g" ; Restore normal speed & accel ;================== ; Go back to centre ;================== G1 X175 F9000 ; Go back a few mm ;=========== ; LED status ;=========== ;set global.sb_leds = "ready"
My homey is the same and heres my homez
; /sys/homez.g ; called to home the Z axis with Voron TAP ;=========== ; LED status ;=========== ;set global.sb_leds = "homing" ;================================== ; Do nothing if XY is not homed yet ;================================== if move.axes[0].homed && move.axes[1].homed M98 P"/sys/lib/current/z_current_low.g" ; Set low Z currents if !move.axes[2].homed ; If Z ain't homed G91 ; Relative positioning G1 Z{global.Nozzle_CL} F9000 H1 ; Lower Z(bed) relative to current position G90 ; Absolute positioning elif move.axes[2].userPosition < {global.Nozzle_CL} ; If Z is homed and less than global.Nozzle_CL G1 Z{global.Nozzle_CL} F9000 ; Move to Z global.Nozzle_CL ;=============== ; Lower currents ;=============== M98 P"/sys/lib/current/xy_current_low.g" ; Set low XY currents ;============================================= ; Move to bed center and home Z with Voron TAP ;============================================= M98 P"/sys/lib/goto/bed_centre.g" ; Move to bed center M98 P"/sys/lib/speed/speed_probing.g" ; Set low speed & accel G30 K0 Z-99999 ; Probe the center of the bed M400 ; Wait for moves to finish ;============================= ; Full currents, speed & accel ;============================= M98 P"/sys/lib/current/z_current_high.g" ; Restore normal Z currents M98 P"/sys/lib/current/xy_current_high.g" ; Set high XY currents M98 P"/sys/lib/speed/speed_printing.g" ; Restore normal speed & accels ;=========================== ; lower Z(bed) after probing ;=========================== G90 ; Absolute positioning G1 Z{global.Nozzle_CL} F2400 ; Move to global nozzle height off bed ;================================= ; Report that probing is completed ;================================= if exists(global.TAPPING) set global.TAPPING = false M402 P0 ; Return the hotend to the temperature it had before probing ;========== ;LED status ;========== ;set global.sb_leds = "ready"
Home all just calls all them.
Electronics Diagnostics Product Short Name Version Duet 3 MB6HC MB6HC 3.5.2 Duet 3 Expansion TOOL1LC TOOL1LC 3.5.2 Duet Software Framework DSF 3.5.2 Duet Web Control DWC 3.5.2
Heres the file out of cura:
;FLAVOR:Marlin ;TIME:7333 ;Filament used: 8.82499m ;Layer height: 0.2 ;MINX:139.317 ;MINY:133.563 ;MINZ:0.3 ;MAXX:210.648 ;MAXY:216.76 ;MAXZ:39.95 ;TARGET_MACHINE.NAME:VORON2 350 ;Exported with Cura-DuetRRF v1.2.11 plugin by Thomas Kriechbaumer ; thumbnail_QOI begin 48x48 2496 ; thumbnail_QOI end ;Generated with Cura_SteamEngine 5.8.0 M140 S100 M105 M190 S100 M104 S230 M105 M109 S230 M82 ;absolute extrusion mode start.g G92 E0 G92 E0 G1 F1800 E-0.75 ;LAYER_COUNT:231 ;LAYER:0 M107 G1 F600 Z1.3 G0 F7200 X192.408 Y139.87 Z1.3 ;TYPE:SKIRT G1 F600 Z0.3 G1 F720 E0 G1 F3000 X193.545 Y138.668 E0.06501 G1 X195.114 Y138.229 E0.12902 G1 X196.683 Y138.668 E0.19303 G1 X197.82 Y139.87 E0.25803 G1 X198.26 Y141.378 E0.31975 G1 X197.821 Y142.947 E0.38376 ;TYPE:WALL-INNER G1 F600 X188.09 Y156.692 E509.37477 G1 X186.95 Y157.829 E509.40155 G1 X188.09 Y158.968 E509.42835 G1 X188.471 Y158.976 E509.43468 G1 X190.619 Y158.956 E509.47041 G1 X189.915 Y158.253 E509.48695 G1 X189.74 Y157.829 E509.49458 G1 X189.916 Y157.403 E509.50224 G1 X190.617 Y156.704 E509.51871 G1 X188.444 Y156.685 E509.55485 G0 F18000 X188.555 Y156.786 G0 X190.175 Y156.885 G0 X189.693 Y157.65 G0 X189.912 Y158.392 G0 X189.352 Y157.914 ;TYPE:SKIN G1 F600 X189.335 Y157.829 E509.55631 G1 X189.351 Y157.742 E509.5578 G1 X189.579 Y157.189 E509.56787 G1 X189.647 Y157.099 E509.56977 G1 X188.259 Y157.093 E509.59314 G1 X187.523 Y157.828 E509.61065 G1 X188.26 Y158.565 E509.6282 G1 X188.478 Y158.571 E509.63187 G1 X189.648 Y158.558 E509.65158 G1 X189.579 Y158.467 E509.6535 G1 X189.352 Y157.914 E509.66356 G0 F18000 X189.241 Y157.421 G1 F600 X189.14 Y157.321 E509.66596 G0 F18000 X189.135 Y157.951 G1 F600 X188.501 Y157.318 E509.68104 G0 F18000 X188.109 Y157.562 G1 F600 X188.886 Y158.339 E509.69954 G1 X188.956 Y158.409 ;TIME_ELAPSED:7333.374652 G1 F1800 E508.94954 M140 S0 end.g M82 ;absolute extrusion mode M104 S0 ;End of Gcode ;SETTING_3 {"global_quality": "[general]\\nversion = 4\\nname = Esun ABS+\\ndefi ;SETTING_3 nition = voron2_350\\n\\n[metadata]\\ntype = quality_changes\\nqualit ;SETTING_3 y_type = not_supported\\nsetting_version = 23\\n\\n[values]\\nadaptiv ;SETTING_3 e_layer_height_enabled = True\\nadhesion_type = none\\nlayer_height = ;SETTING_3 0.2\\nlayer_height_0 = 0.3\\nmaterial_bed_temperature_layer_0 = 100. ;SETTING_3 0\\nspeed_slowdown_layers = 2\\nsupport_enable = True\\nsupport_struc ;SETTING_3 ture = tree\\n\\n", "extruder_quality": ["[general]\\nversion = 4\\nn ;SETTING_3 ame = Esun ABS+\\ndefinition = voron2_350\\n\\n[metadata]\\ntype = qu ;SETTING_3 ality_changes\\nquality_type = not_supported\\nintent_category = defa ;SETTING_3 ult\\nposition = 0\\nsetting_version = 23\\n\\n[values]\\nbridge_skin ;SETTING_3 _density_2 = 100\\nbridge_skin_material_flow = 100\\nbridge_skin_spee ;SETTING_3 d = 10\\ninfill_pattern = gyroid\\ninfill_randomize_start_location = ;SETTING_3 True\\ninfill_sparse_density = 10.0\\ninset_direction = outside_in\\n ;SETTING_3 ironing_enabled = False\\nironing_pattern = zigzag\\nmaterial_flow_la ;SETTING_3 yer_0 = 70.0\\nmaterial_initial_print_temperature = 230.0\\nretractio ;SETTING_3 n_hop = 1\\nroofing_layer_count = 8\\nskin_material_flow = 90.0\\nspe ;SETTING_3 ed_infill = 230.0\\nspeed_print = 200.0\\nspeed_wall = =math.ceil(spe ;SETTING_3 ed_print * 0.33)\\nsupport_pattern = gyroid\\ntop_bottom_thickness = ;SETTING_3 1.0\\ntop_layers = 10\\nz_seam_type = random\\n\\n"]}
Chopped all the data and moves out of that.
Not sure what else you would need but I hope someone can help I've been several weekends looking at this and cant get any further.
By the way this was working totally fine before I started this and have done hundreds of prints
Thanks
Lee
-
@Lee-Gorecki line 24 of your gcode file is probably the issue "start.g" isn't a valid call
You also have cura set to marlin and not reprapfirmware -
@jay_s_uk ok that got me there. don't know how that happened as i upgraded cura but didnt change anything there and it had been working perfectly
Thanks for your help
Lee