Z scanning probe point error
-
Z scanning probe point error
Finally got the Z probe to scan the bed but not returning a reading. At each probe point the message
(Skipping grid point X=# Y=# because the Z probe cannot reach it). The height map shows 0 at each point across the bed. Can someone point me in the right direction? -
@ortondale what version of RepRapFirmware and DWC are you running?
-
Please share your full config.g and the results of sending M122 and M98 P"config.g"
@ortondale said in Z scanning probe point error:
(Skipping grid point X=# Y=# because the Z probe cannot reach it)
This usually means your M557 grid definition isn't taking your G31 probe offset into account. You can only scan areas of the bed that the probe can physically reach.
-
@oliof Hi, running latest ver. 3.5.2
-
@Phaedrux ;
Hi
Config files ect: RepRap Firmware and DWC ver 3.5.2
Define mesh M557 X and Y is the position of the coil probe, G31 X and Y being nozzle offset to probe coil.Configuration file for Duet 3 Mini 5+ (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.16 on Thu Jul 27 2023 15:43:08 GMT+0200 (Central European Summer Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"HyperCube" ; set printer name
M669 K1 ; select CoreXY modeG4 S2 ; Wait a moment for the CAN expansion boards to start
; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0.0 S0 ; physical drive 0.0 goes backward (left hand X Y axis motor)
M569 P0.1 S0 ; physical drive 0.1 goes backward (right hand X Y axis motor)
M569 P0.2 S0 ; physical drive 0.2 goes backward (left hand Z axis motor)
M569 P0.4 S0 ; physical drive 0.4 goes backward (right hand Z axis motor)
M569 P121.0 S0 ; physical drive 121.0 goes backwards (Toolboard) (extruder motor)
M584 X0.0 Y0.1 Z0.2:4 E121.0 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E415.00 ; set steps per mm
M566 X600.00 Y600.00 Z50.00 E600.00 ; set maximum instantaneous speed changes (mm/min)
M203 X10000.00 Y10000.00 Z180 E5000 ; set maximum speeds (mm/min)30000
M201 X2000 Y2000 Z650 E3200 ; set accelerations (mm/s^2) Moded from 20 to 200
M906 X1150 Y1150 Z800 E560 I60 ; set motor currents (mA) and motor idle factor in per cent ( moded X Y from 900 to 700) (E 500 to 400)
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X290 Y260 Z280 S0 ; set axis maxima; Endstops
M574 X1 S1 P"121.io2.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin 121.io2.in
M574 Y2 S1 P"io6.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin io6.in
M574 Z1 S2 ; configure Z-probe endstop for low end on Z; Z-Probe
M950 S0 C"121.io0.out" ; create servo pin 0 for BLTouch
M558 P9 C"121.io0.in" H5 F120 T3000 A5 S0.05 B1 ; set Z probe type to bltouch and the dive height + speeds
;M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
G31 P500 X30 Y0 Z1.099 ; set Z probe trigger value, offset and trigger height
;M557 X5:290 Y2:260 S38 ; define mesh grid; Scanning Z Probe
M558 K1 P11 C"120.i2c.ldc1612" F36000 T36000 ; K1 parameter configures it as Z probe 1 so as to leave primary probe Bltouchh as 0
M308 A"SZP coil" S10 Y"thermistor" P"120.temp0" ; thermistor on coil
G31 K1 Z1.9 X15.796 Y-21.5 ; define probe 1 offset and trigger height
M558.2 K1 S16 R131621 ; set drive current and reading offset
M557 X1.5:260 Y5:255 S13.6 ; define mesh grid for probe 1 (overwrites probe 0 mesh grid); Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
M307 H0 R0.198 K0.244:0.000 D4.63 E1.35 S1.00 B0 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S70 ; set temperature limit for heater 0 to 70C
M308 S1 P"121.temp0" Y"thermistor" T100000 B4725 C7.06e-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 R1.840 K0.414:0.000 D5.70 E1.35 S1.00 B0 V24.2 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C; Fans
M950 F0 C"121.out1" Q500 ; create fan 0 on pin 121.out1 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned on
M950 F1 C"121.out2" Q500 ; create fan 1 on pin 121.out2 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on; Tools
M563 P0 S"E3D V6" 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
M955 P121.0 I52 ; Configure Accelerometer
; Tuning
;M593 P"ZVDDD" F60 S0 ; accelerometer setting
;M572 D0 S0.04 ;pressure advance setting
; Accelerometer Settings
; Custom settings are not defined; 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
M375 ; load bed mesh
;G29 S1 ; load bed mesh9/10/2024, 8:51:07 PM M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Warning: the height map was loaded when the current Z=0 datum was not determined by probing. This may result in a height offset.
9/10/2024, 8:50:21 PM m122
=== Diagnostics ===
RepRapFirmware for Duet 3 Mini 5+ version 3.5.2 (2024-06-11 17:14:16) running on Duet 3 Mini5plus WiFi (standalone mode)
Board ID: M8JRG-KQ6KL-K65J0-409NL-2B02Z-RK245
Used output buffers: 3 of 40 (22 max)
=== RTOS ===
Static ram: 103368
Dynamic ram: 122864 of which 0 recycled
Never used RAM 12232, free system stack 148 words
Tasks: NETWORK(2,nWait 7,14.6%,203) LASER(5,nWait 7,0.0%,169) HEAT(3,nWait 6,0.0%,350) Move(4,nWait 6,0.1%,278) CanReceiv(6,nWait 1,0.1%,796) CanSender(5,nWait 7,0.0%,336) CanClock(7,delaying,0.0%,348) TMC(4,nWait 6,0.9%,67) MAIN(1,running,83.4%,665) IDLE(0,ready,0.1%,29) AIN(4,delaying,0.9%,259), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:11:10 ago, cause: software
Last software reset at 2024-09-10 20:39, reason: User, Gcodes spinning, available RAM 12184, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
MCU revision 3, ADC conversions started 670622, completed 670622, timed out 0, errs 0
MCU temperature: min 34.5, current 34.9, max 36.2
Supply voltage: min 23.6, current 23.8, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/12/12, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min 0, read errors 0, write errors 1, ifcnt 88, reads 35260, writes 15, timeouts 0, DMA errors 0, CC errors 0
Driver 1: standstill, SG min 0, read errors 0, write errors 1, ifcnt 89, reads 35260, writes 15, timeouts 0, DMA errors 0, CC errors 0
Driver 2: standstill, SG min 0, read errors 0, write errors 1, ifcnt 83, reads 35259, writes 15, timeouts 0, DMA errors 0, CC errors 0
Driver 3: standstill, SG min 0, read errors 0, write errors 1, ifcnt 54, reads 35264, writes 10, timeouts 0, DMA errors 0, CC errors 0
Driver 4: standstill, SG min 0, read errors 0, write errors 1, ifcnt 80, reads 35260, writes 15, timeouts 0, DMA errors 0, CC errors 0
Driver 5: not present
Driver 6: not present
Date/time: 2024-09-10 20:50:17
Cache data hit count 1300134961
Slowest loop: 33.95ms; fastest: 0.15ms
=== Storage ===
Free file entries: 20
SD card 0 detected, interface speed: 22.5MBytes/sec
SD card longest read time 3.6ms, write time 2.8ms, max retries 0
=== Move ===
DMs created 83, segments created 4, maxWait 14712ms, bed compensation in use: mesh, height map offset 0.000, max steps late 0, min interval 0, bad calcs 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 357, completed 357, 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, chamber heaters -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Movement locks held by null, null
HTTP is idle 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 0x0000007
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== CAN ===
Messages queued 6443, received 19161, lost 0, errs 0, boc 0
Longest wait 2ms for reply type 6053, peak Tx sync delay 60, free buffers 26 (min 24), ts 3353/3352/0
Tx timeouts 0,0,0,0,0,0
=== Network ===
Slowest loop: 11.50ms; fastest: 0.00ms
Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 1 of 8
=== WiFi ===
Interface state: active
Module is connected to access point
Failed messages: pending 0, notrdy 0, noresp 0
Firmware version 2.1.0
MAC address c4:5b:be:ce:95:c3
Module reset reason: Power up, Vcc 3.46, flash size 2097152, free heap 42632
WiFi IP address 192.168.1.246
Signal strength -44dBm, channel 1, mode 802.11n, reconnections 0
Clock register 00002001
Socket states: 0 0 0 0 0 0 0 0 -
@ortondale said in Z scanning probe point error:
; Z-Probe
M950 S0 C"121.io0.out" ; create servo pin 0 for BLTouch
M558 P9 C"121.io0.in" H5 F120 T3000 A5 S0.05 B1 ; set Z probe type to bltouch and the dive height + speeds
;M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
G31 P500 X30 Y0 Z1.099 ; set Z probe trigger value, offset and trigger height
;M557 X5:290 Y2:260 S38 ; define mesh gridSince you have two probes now you need to define the BLtouch as
K0
as the scanning probe is K1. And whenever you use a command that uses or modifies the probe you need to specify K0 or K1. Exp, G29, G30, G31,@ortondale said in Z scanning probe point error:
Warning: the height map was loaded when the current Z=0 datum was not determined by probing. This may result in a height offset.
You should remove M375 from your config.g as you don't want to load a mesh until you've homed Z.
-
@ortondale
Specified K0 K1 in G29, G30, G31 commands and removed M375 in config.g
Reset the probe area to within the probe reach.
The bed scanned without any error messages showing 324 points but still no height readings; Z-Probe
M950 S0 C"121.io0.out"
M558 P9 C"121.io0.in" H5 F120 T3000 A5 S0.05 B1
;M558 H30
G31 K0 P500 X30 Y0 Z1.099
;M557 X5:290 Y2:260 S38; Scanning Z Probe
M558 K1 P11 C"120.i2c.ldc1612" F36000 T36000
M308 A"SZP coil" S10 Y"thermistor" P"120.temp0"
G31 K1 Z1.9 X15.796 Y-21.5
M558.2 K1 S16 R131621
M557 X28.7:259.9 Y5:236.2 S13.6Does this prove that the coil and board are working ok and the error is in the coding?
-
@ortondale
What is the effective scanning distance from the bed? With the present scanning the coil is 4mm above the bed, is this distance to great.
Also I notice I’m not using the M558.1 command, not sure the effect this has -
@ortondale Yes, you need to calibrate the probe. 4mm above the bed is fine. Send
M558.1 K1
and it will probably say "Error: M558.1: Probe has not been calibrated". Without calibrating, it doesn't know how to convert the SZP reading into a height, so you're getting the same default height for each point.I've just updated the calibration section to hopefully make the M558.1 section clearer. See https://docs.duet3d.com/en/User_manual/Tuning/scanning_z_probe_calibration#calibration
Ian
-
@ortondale
Hi Thanks for the help, up a running ok.
Looks like a new bed plate called for!