daemon.g failed to parse major G-code number (lobal)
-
Running Duet 3 6HC in SBC mode w/3.5.0-beta.4 (RRF, DSF, DWC) and have a daemon.g setup. Maybe I'm missing something, but I'm receiving this message whenever the daemon.g runs. More specifically, it's line 6 that it mentions.
Here's daemon.g
; daemon.g if global.ledToggle == 1 && {state.status} == "idle" M150 E0 R255 U255 B255 P128 S174 ; white set global.ledToggle = 2 elif global.ledToggle >= 1 && {state.status} == "processing" M150 E0 R0 U255 B0 P128 S174 ; green else ; do nothing
The global variable ledToggle is defined in config.g
global ledToggle = 0
And it's toggled 1 or 0 via a macro.
Any ideas on what might be the cause?Also here's an M122
M122 === Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.5.0-beta.4 (2023-06-08 23:41:30) running on Duet 3 MB6HC v1.0 or earlier (SBC mode) Board ID: 08DGM-9T66A-G63SJ-6JTDL-3SD6P-TS0HA Used output buffers: 1 of 40 (40 max) === RTOS === Static ram: 155012 Dynamic ram: 80988 of which 2904 recycled Never used RAM 103128, free system stack 134 words Tasks: ACCEL(6,nWait,0.0%,348) SBC(2,rWait:,1.2%,390) HEAT(3,nWait,0.0%,323) Move(4,nWait,3.5%,218) CanReceiv(6,nWait,0.0%,941) CanSender(5,nWait,0.0%,335) CanClock(7,delaying,0.0%,343) TMC(4,nWait,9.2%,61) MAIN(2,running,86.0%,444) IDLE(0,ready,0.0%,30), total 100.0% Owned mutexes: HTTP(MAIN) === Platform === Last reset 02:46:14 ago, cause: software Last software reset at 2023-08-24 16:24, reason: User, Gcodes spinning, available RAM 103032, slot 1 Software reset code 0x6803 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task SBC Freestk 0 n/a Error status: 0x04 Aux0 errors 0,0,0 MCU temperature: min 38.0, current 38.3, max 38.7 Supply voltage: min 23.9, current 24.0, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 12.2, current 12.2, max 12.3, under voltage events: 0 Heap OK, handles allocated/used 99/2, heap memory allocated/used/recyclable 2048/1788/1752, gc cycles 10 Events: 0 queued, 0 completed Driver 0: ok, SG min 0, mspos 280, reads 6760, writes 0 timeouts 0 Driver 1: ok, SG min 0, mspos 917, reads 6759, writes 0 timeouts 0 Driver 2: ok, SG min 0, mspos 583, reads 6760, writes 0 timeouts 0 Driver 3: standstill, SG min 0, mspos 200, reads 6760, writes 0 timeouts 0 Driver 4: standstill, SG min n/a, mspos 8, reads 6760, writes 0 timeouts 0 Driver 5: standstill, SG min n/a, mspos 8, reads 6760, writes 0 timeouts 0 Date/time: 2023-08-24 19:10:33 Slowest loop: 4.28ms; fastest: 0.07ms === Storage === Free file entries: 20 SD card 0 not detected, interface speed: 37.5MBytes/sec SD card longest read time 0.0ms, write time 0.0ms, max retries 0 === Move === DMs created 125, segments created 46, maxWait 767ms, bed compensation in use: none, height map offset 0.000, ebfmin 0.00, ebfmax 1.00 next step interrupt due in 17 ticks, disabled === DDARing 0 === Scheduled moves 833246, completed 833225, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state 3 === DDARing 1 === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0 Heater 0 is on, I-accum = 0.0 Heater 1 is on, I-accum = 0.5 === GCodes === Movement locks held by null, null HTTP* is doing "M122" in state(s) 0 Telnet is idle in state(s) 0 File* is doing "G1 X-68.708000 Y48.910000 E0.602210" in state(s) 0 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger* is idle in state(s) 0 Queue* is idle in state(s) 0 LCD is idle in state(s) 0 SBC is idle in state(s) 0 Daemon* is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 File2* is idle in state(s) 0 Queue2 is idle in state(s) 0 Q0 segments left 1, axes/extruders owned 0x80000007 Code queue 0 is empty Q1 segments left 0, axes/extruders owned 0x0000000 Code queue 1 is empty === Filament sensors === Extruder 0 sensor: ok === CAN === Messages queued 11055, received 0, lost 0, boc 0 Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 6142/0/0 Tx timeouts 0,0,6142,0,0,4913 last cancelled message type 30 dest 127 === SBC interface === Transfer state: 5, failed transfers: 0, checksum errors: 0 RX/TX seq numbers: 27704/27704 SPI underruns 0, overruns 0 State: 5, disconnects: 0, timeouts: 0 total, 0 by SBC, IAP RAM available 0x25ce8 Buffer RX/TX: 1836/3284-0, open files: 0 === Duet Control Server === Duet Control Server version 3.5.0-beta.4 (2023-06-09 10:49:49) File /opt/dsf/sd/gcodes/Saved_G-codes/filename_sanitized.gcode is selected, processing File: Buffered code: G1 X-68.708 Y48.91 E0.60221 Buffered code: G1 X-68.708 Y51.787 E0.09021 Buffered code: G1 X-49.501 Y51.787 E0.60221 Buffered code: G1 X-49.501 Y52.254 E0.01462 Buffered code: G1 X-46.624 Y52.254 E0.09021 Buffered code: G1 X-46.624 Y54.664 E0.07559 Buffered code: G1 X-68.708 Y54.664 E0.69242 Buffered code: G1 X-68.708 Y57.075 E0.07558 Buffered code: G1 X-51.445 Y57.075 E0.54125 Buffered code: G1 X-51.445 Y57.542 E0.01463 Buffered code: G1 X-46.462 Y57.542 E0.15625 Buffered code: G10 ; retract Buffered code: G1 X-5.668 Y57.542 F15000 Buffered code: G11 ; unretract Buffered code: G1 F4320 Buffered code: G1 X-5.668 Y54.874 E0.08363 Buffered code: G1 X-2.791 Y54.874 E0.09021 Buffered code: G1 X-2.791 Y51.997 E0.09021 Buffered code: G1 X0.086 Y51.997 E0.09021 Buffered code: G1 X0.086 Y49.12 E0.09021 Buffered code: G1 X2.963 Y49.12 E0.09021 Buffered code: G1 X2.963 Y46.243 E0.09021 Buffered code: G1 X5.84 Y46.243 E0.09021 Buffered code: G1 X5.84 Y43.366 E0.09021 Buffered code: G1 X8.717 Y43.366 E0.09021 Buffered code: G1 X8.717 Y40.489 E0.09021 Buffered code: G1 X14.471 Y40.489 E0.18042 Buffered code: G1 X14.471 Y37.612 E0.09021 Buffered code: G1 X22.682 Y37.612 E0.25746 Buffered code: G1 X22.682 Y40.069 E0.07704 Buffered code: G1 X19.805 Y40.069 E0.09021 Buffered code: G1 X19.805 Y42.946 E0.09021 Buffered codes: 1472 bytes total Code buffer space: 1836 Configured SPI speed: 8000000Hz, TfrRdy pin glitches: 0 Full transfers per second: 53.48, max time between full transfers: 58.8ms, max pin wait times: 45.3ms/7.3ms Codes per second: 109.58 Maximum length of RX/TX data transfers: 4560/3172
-
Looks like it only happens when I reload the page.