SZP as Z-Stop calibration help
-
Can anyone help me with the calibration procedure for using the SZP as a Z-stop? I am having a terrible time with this. I just removed a smart IR probe in favor of the SZP and I have no trouble communicating with it but I am clearly missing something when it comes to calibration.
-
@KenD ```
code_text; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.5.0-rc.3 on Sat Mar 02 2024 14:18:20 GMT-0500 (Eastern Standard Time) ;CAN BUS G4 S2 ; wait for expansion boards to start ; General M550 P"Core6" ; set hostname ; Accessories M575 P1 S0 B57600 ; configure PanelDue support ; Network M552 P192.168.9.240 S1 ; configure Ethernet adapter ;M586 P0 S1 ; configure HTTP ; Smart Drivers M569 P0.0 S0 D2 ; driver 0.0 goes forwards (X axis) M915 P0.0 S10 F0 R0 ; set StallGuard threshold M569 P0.1 S1 D2 ; driver 0.1 goes backwards (Y axis) M915 P0.1 S10 F0 R0 ; set StallGuard threshold M569 P0.2 S0 D2 ; driver 0.2 goes backwards (Z axis) M569 P0.3 S1 D2 ; driver 0.3 goes forwards (extruder 0) M569 P0.4 S0 D2 ; driver 0.4 goes backwards (Z axis) M569 P0.5 S0 D2 ; driver 0.5 goes backwards (Z axis) ; Motor Idle Current Reduction M906 I50 ; set motor current idle factor M84 S60 ; set motor current idle timeout ; Axes M669 K1 ; Configure Core XY Kinematics M584 X0.0 Y0.1 Z0.2:0.4:0.5 ; set axis mapping M671 X330:650:00 Y300:50:50 S2 ; Set the Z motor locations and max correction in mm M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation M906 X1000 Y1000 Z1000 ; set axis driver currents M92 X80 Y80 Z6405 ; configure steps per mm M208 X0:680 Y0:320 Z0:365 ; set minimum and maximum axis limits M566 X900 Y900 Z120 ; set maximum instantaneous speed changes (mm/min) M203 X9000 Y9000 Z500 ; set maximum speeds (mm/min) M201 X2000 Y2000 Z100 ; set accelerations (mm/s^2) ;M201.1 X500 Y500 ; set Acceleration while homing ; Extruders M584 E0.3 ; set extruder mapping M350 E16 I1 ; configure microstepping with interpolation M906 E1000 ; set extruder driver currents M92 E830 ; configure steps per mm M566 E150 ; set maximum instantaneous speed changes (mm/min) M203 E7000 ; set maximum speeds (mm/min) M201 E400 ; set accelerations (mm/s^2) ; Accelerometer M955 P120.0 I64 ; Add accelerometer on SZP with CAN address 120 and specify orientation ; Scanning Z probe M558 P11 C"120.i2c.ldc1612" F4000 T4000 ; set scanning Z probe as primary z probe and dive height M308 A"SZP coil" S10 Y"thermistor" P"120.temp0" ; thermistor on coil M558.2 S20 R146027 ; set drive current and reading offset G31 X24 Y0 Z2.5 ; set Z probe Offset and Trigger height ; Smart IR Probe ;M558 K0 P8 C"io3.in" H5 F200 T6000 ; configure to MODE 8 for IR Z PROBE and Probe this point 3 TIMES. On Duet 3, the IR probe is always in digital mode. ;G31 P475 X21 Y0 Z2.23 ; set Z probe trigger value, offset and trigger height ; Endstops ;M574 X2 S2 ; configure X axis high end endstop for SZP Accelerometer ;M574 Y1 S2 ; configure Y axis low end endstop for SZP Accelerometer ;M574 Z1 S2 ; configure Z axis low end endstop for SZP M574 X2 S3 ; configure X axis high end endstop for single motor stall M574 Y1 S3 ; configure Y axis low end endstop for single motor stall M574 Z1 S2 ; configure Z axis low end endstop for Z probe ; Mesh Bed Compensation M557 X5:320 Y5:670 S25:25 ; define grid for mesh bed compensation ; Sensors M308 S0 P"temp0" Y"thermistor" A"Heated Bed" T100000 B3950 C7.06e-8 ; configure sensor #0 M308 S1 P"temp1" Y"thermistor" A"nozzle" T500000 B4723 C1.196220e-7 ; configure sensor #1 ;M308 S1 P"temp1" Y"pt1000" A"Nozzle" ; configure sensor #1 ;M308 S2 P"temp2" Y"thermistor" A"ambient" T100000 B3950 C7.06e-8 ; configure sensor #2 M308 S11 Y"mcu-temp" A"MCU" ; defines sensor 10 as MCU temperature sensor M308 S12 Y"drivers" A"Duet stepper drivers" ; defines sensor 11 as stepper driver temperature sensor ; Case fan - configure sensor 2 as temperature warning and overheat flags on the TMC2660 on Duet ; !!! Reports 0C when there is no warning, 100C if any driver reports over-temperature ; !!! warning , and 150C if any driver reports over-temperature shutdown ; Filament Run-Out Sensor M591 D0 P3 C"io8.in" S1 R50:150 L25.47 E3.0 ; Duet3D magnetic sensor(P3) for extruder drive 0(D0), connected to endstop input 3 (C3), tolerance 70 to 130%, 3mm comparison length(E3), ; L=Filament movement per complete rotation of the sense wheel, in mm S0= Disabled ; Heaters M950 H0 C"out0" T0 ; create bed heater #0 M143 H0 P0 T0 C0 S140 A0 ; configure heater monitor #0 for heater #0 M307 H0 R0.983 K3.090:0.000 D2.12 E1.35 S1.00 B0 ; configure model of heater #0 Bang-Bang mode M950 H1 C"out1" T1 ; create nozzle heater #1 M143 H1 P0 T1 C0 S285 A0 ; configure heater monitor #1 for heater #1 M307 H1 R2.608 K0.408:0.000 D3.88 E1.35 S1.00 B0 V24 ; configure model of heater #1 PWM Mode ; Heated beds M140 P0 H0 ; configure heated bed #0 ; Fans M950 F0 C"out3" ; create Part fans 24v 2 wire Fan #0 M106 P0 C"Part" S0 L0 X1 B0.5 ; configure fan #0 M950 F1 C"out2" ; create Tool Fan 24v 2 wire Fan #1 M106 P1 C"Tool" S0 B0.5 H1 T40 ; configure fan #1 M950 F2 C"out7" ; create MCU Fan 12v 2 wire. Fan #2 M106 P2 C"Case" S0 L0 X1 B0.5 T35 H12 ; configure fan #2 ; Tools M563 P0 S"Mosquito" D0 H1 F1 ; create tool #0 M568 P0 R0 S0 ; set initial tool #0 active and standby temperatures to 0C ; Miscellaneous M501 ; load saved parameters from non-volatile memory T0 ; select first tool