Ok, so I have the scanning z probe connected M122 B120 command works and I get communication with the board.
M122 b120
Diagnostics for board 120:
Duet SZP firmware version 3.5.0-rc.1+ (2023-11-20 12:50:20)
Bootloader ID: SAMC21 bootloader version 2.10 (2023-11-16)
All averaging filters OK
Never used RAM 14416, free system stack 136 words
Tasks: HEAT(2,nWait,0.1%,131) CanAsync(5,nWait,0.0%,55) CanRecv(3,nWait,0.0%,79) CanClock(5,nWait,0.0%,67) ACCEL(3,nWait,0.0%,53) MAIN(1,running,99.7%,434) IDLE(0,ready,0.0%,27) AIN(2,nWait,0.1%,92), total 100.0%
Last reset 00:04:53 ago, cause: software
Last software reset data not available
Peak sync jitter 1/5, peak Rx sync delay 204, resyncs 0/0, no timer interrupt scheduled
VIN voltage: min 4.9, current 4.9, max 4.9
MCU temperature: min 23.9C, current 24.2C, max 24.4C
Last sensors broadcast 0x00000400 found 1 135 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 2324, send timeouts 0, received 3744, lost 0, errs 0, boc 0, free buffers 18, min 18, error reg 0
Accelerometer: LIS2DW, status: 00
Inductive sensor: raw value 42434148, frequency 3.95MHz, current setting 13, amplitude error
I2C bus errors 34, naks 3, contentions 0, other errors 0
I have configured my config.g probes as follows.
; Z-Probe
M558 K0 P5 C"!io7.in" H3 F900:120 T15000;
G31 K0 P500 X-31.27 Y-46.64 Z1.44;
M557 X29:609 Y40:603 P21:21;
; Scanning Z probe
M558 K1 P11 C"120.i2c.ldc1612" F24000 T24000 ;
M308 A"SZP coil" S10 Y"thermistor" P"120.temp0" ;
G31 K1 Z2 Y-17 ;
M557 X29:609 Y40:603 P21:21;
But all I get when I start the duet is:
1/31/2024, 9:29:52 PM Error in start-up file config.g line 62: G31: invalid Z probe index
1/31/2024, 9:29:52 PM Error: G31: invalid Z probe index
I’m running RRF 3.5rc3 A toolboard 1LC and the Z scanning probe is connected to the tool distribution board. Is the scanning probe supported on a tool distribution board? Any help would be greatly appreciated.
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.5.0-rc.3 (2024-01-24 17:58:49) running on Duet 3 MB6HC v1.01 (SBC mode)
Board ID: 08DJM-956BA-NA3TN-6JTD0-3SJ6S-1V82V
Used output buffers: 1 of 40 (28 max)
Error in macro line 62 while starting up: G31: invalid Z probe index
=== RTOS ===
Static ram: 155184
Dynamic ram: 87480 of which 5392 recycled
Never used RAM 95080, free system stack 202 words
Tasks: SBC(2,ready,0.8%,440) HEAT(3,nWait 6,0.0%,323) Move(4,nWait 6,0.0%,336) CanReceiv(6,nWait 1,0.0%,795) CanSender(5,nWait 7,0.0%,334) CanClock(7,delaying,0.0%,348) TMC(4,nWait 6,8.2%,56) MAIN(2,running,90.8%,103) IDLE(0,ready,0.2%,30), total 100.0%
Owned mutexes: HTTP(MAIN)
=== Platform ===
Last reset 00:15:39 ago, cause: software
Last software reset at 2024-02-01 02:29, reason: User, Gcodes spinning, available RAM 95080, slot 1
Software reset code 0x6003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task SBC Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
MCU temperature: min 37.6, current 37.8, max 38.5
Supply voltage: min 24.0, current 24.0, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.1, current 12.1, max 12.1, under voltage events: 0
Heap OK, handles allocated/used 99/2, heap memory allocated/used/recyclable 2048/40/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min n/a, mspos 840, reads 13641, writes 14 timeouts 0
Driver 1: standstill, SG min n/a, mspos 200, reads 13641, writes 14 timeouts 0
Driver 2: standstill, SG min n/a, mspos 952, reads 13641, writes 14 timeouts 0
Driver 3: standstill, SG min n/a, mspos 88, reads 13641, writes 14 timeouts 0
Driver 4: standstill, SG min n/a, mspos 88, reads 13641, writes 14 timeouts 0
Driver 5: standstill, SG min n/a, mspos 952, reads 13642, writes 14 timeouts 0
Date/time: 2024-02-01 02:45:19
Slowest loop: 19.77ms; fastest: 0.06ms
=== 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 0, maxWait 0ms, bed compensation in use: none, height map offset 0.000, max steps late 0, ebfmin 0.00, ebfmax 0.00
no step interrupt scheduled
Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0
=== DDARing 0 ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== 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
=== GCodes ===
Movement locks held by null, null
HTTP* is doing "M122" in state(s) 0
Telnet is idle in state(s) 0
File is idle 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 0, axes/extruders owned 0x0000000
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== Filament sensors ===
check 0 clear 0
Extruder 0 sensor: no data received
=== CAN ===
Messages queued 8445, received 26647, lost 0, errs 1, boc 0
Longest wait 3ms for reply type 6024, peak Tx sync delay 228, free buffers 50 (min 49), ts 4700/4699/0
Tx timeouts 0,0,0,0,0,0
=== SBC interface ===
Transfer state: 5, failed transfers: 0, checksum errors: 0
RX/TX seq numbers: 36111/36111
SPI underruns 0, overruns 0
State: 5, disconnects: 0, timeouts: 0 total, 0 by SBC, IAP RAM available 0x255cc
Buffer RX/TX: 0/0-0, open files: 0
=== Duet Control Server ===
Duet Control Server version 3.5.0-rc.3 (2024-01-26 12:34:19)
Code buffer space: 4096
Configured SPI speed: 8000000Hz, TfrRdy pin glitches: 0
Full transfers per second: 38.67, max time between full transfers: 937.3ms, max pin wait times: 932.0ms/14.0ms
Codes per second: 0.06
Maximum length of RX/TX data transfers: 4365/704
M122 B121
Diagnostics for board 121:
Duet TOOL1LC rev 1.1 or later firmware version 3.5.0-rc.3 (2024-01-24 17:55:14)
Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
All averaging filters OK
Never used RAM 3368, free system stack 136 words
Tasks: Move(3,nWait 7,0.0%,135) HEAT(2,nWait 6,0.2%,129) CanAsync(5,nWait 4,0.0%,55) CanRecv(3,nWait 1,0.0%,71) CanClock(5,nWait 1,0.0%,59) ACCEL(3,nWait 6,0.0%,53) TMC(2,delaying,3.4%,53) MAIN(1,running,91.6%,315) IDLE(0,ready,0.0%,27) AIN(2,delaying,4.7%,112), total 100.0%
Owned mutexes:
Last reset 00:16:33 ago, cause: software
Last software reset data not available
Driver 0: pos 0, 405.0 steps/mm, standstill, SG min 2, read errors 0, write errors 1, ifcnt 120, reads 37744, writes 12, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 0
Moves scheduled 0, completed 0, in progress 0, hiccups 0, segs 0, step errors 0, maxLate 0 maxPrep 0, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0, ebfmin 0.00 max 0.00
Peak sync jitter 1/5, peak Rx sync delay 213, resyncs 0/0, no timer interrupt scheduled
VIN voltage: min 24.5, current 24.5, max 24.5
MCU temperature: min 37.5C, current 37.6C, max 37.9C
Last sensors broadcast 0x00000002 found 1 45 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 20260, send timeouts 0, received 12848, lost 0, errs 0, boc 0, free buffers 18, min 18, error reg 0
dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
Accelerometer: LIS3DH, status: 00
I2C bus errors 0, naks 3, contentions 0, other errors 0
=== Filament sensors ===
Interrupt 5726621 to 0us, poll 4 to 665us
Driver 0: no data received