Configuring Multiple Probes/Endstops
-
@Phaedrux Could you take a look at my config and provide some feedback specifically on the endstops. Currently my Z high end isn't working. The documentation is kinda vague on how to configure this many Z axis endstops/probes. That, and I've never configured a scanner before. I almost always have issues configure a high end endstop but I'd like it as a precaution to prevent collision with my electronics. Should I have multiple M574 Z lines to identify each probe/endstop? For the high end should I have M574 Z2 P"i03.in" S1? The documentation reads "A Z probe and a Z endstop can both be configured at the same time. G30 calling the probe setup with M558, and G1 H1 Z moves calling the endstop configured with M574 Z." I dont really get what it's trying to tell me. Currently my high end Z endstop isn't working. I guess we can start with fixing that and then I'll do some testing on the other two. I know I'm a PITA and I sewar I don't mean to be.
-
@SonnyD1 said in Configuring Multiple Probes/Endstops:
M574 Z1 S2
Start by changing that line to:
M574 Z2 S1 P"io3.in"
See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m574-set-endstop-configuration.
Z probes are configured using M558. Endstops (including Z endstops) are configured using M574. When you have more than one Z probe, use the K parameter of the commands concerned (M558, G30, G31) to distinguish between them.
-
@dc42 Does this look better for all three?
; BLtouch M558 K0 P9 C"121.io0.in" H5 F120 T6000 A2 ; configure BLTouch probe via slot #0 G31 P500 X0 Y24 Z0.7 ; set Z probe trigger value, offset and trigger height M950 S0 C"121.io0.out" ; create servo #0 for BLtouch ; Scanning Z probe M558 K1 P11 C"121.i2c.ldc1612" F36000 T36000 M308 A"SZP coil" S10 Y"thermistor" P"121.temp0" ; thermistor on coil ; Endstops M574 X1 P"io1.in" S1 ; configure X axis low end endstop M574 Y1 P"io2.in" S1 ; configure Y axis low end endstop M574 Z2 S1 P"io3.in" ; configure Z axis high end endstop M574 U2 P"io4.in" S1 ; configure U axis high end endstop
-
@SonnyD1 you appear to be using CAN address 121 for both the BLTouch which I assume is connected to the Roto Tool board and for the SZP. The default CAN address for the SZP is 120. So in lines 7 and 8 of that extract, change 121 to 120.
-
@dc42 said in Configuring Multiple Probes/Endstops:
@SonnyD1 you appear to be using CAN address 121 for both the BLTouch which I assume is connected to the Roto Tool board and for the SZP. The default CAN address for the SZP is 120. So in lines 7 and 8 of that extract, change 121 to 120.
I would have thought he's using the SZP on the Roto toolboard, not an extra SZP CAN board. In which case the CAN address should be the same for the Roto toolboard and SZP.
Ian
-
@droftarts Yea the SPZ is connected to 121. I'm gonna change that back unless are aren't in agreement. I still cant seem to get the BLTouch to deploy. I wired it exactly to the roto toolboard instructions and it does it's little test when I power on the machine.
-
If you send M98 P"config.g" do you get any errors reported?
-
@Phaedrux said in Configuring Multiple Probes/Endstops:
M98 P"config.g"
Yes I get:
Warning: Heater 1 predicted maximum temperature at full power is 496°C
Warning: Heater 2 predicted maximum temperature at full power is 510°C -
@SonnyD1 said in Configuring Multiple Probes/Endstops:
I still cant seem to get the BLTouch to deploy. I wired it exactly to the roto toolboard instructions and it does it's little test when I power on the machine.
If it does the self-test, then the +5V and GND wires are correctly connected. What reading for the Z probe is reported in DWC? Please post your deploy and retract probe macros. Note that they should be named 'deployprobe0.g' and 'retractprobe0.g', so they are specific to the BLTouch, which is probe 0. If the probe number is missing in the name, the deploy and retract macro will be applied to all probes.
If the deploy and retract macros are correct, but the BLTouch doesn't move when you send
M401
and/orM402
(which use probe 0 by default), then either the servo wire is not connected (check continuity of the wire), or it may have been swapped with the signal wire.@SonnyD1 said in Configuring Multiple Probes/Endstops:
Warning: Heater 1 predicted maximum temperature at full power is 496°C
Warning: Heater 2 predicted maximum temperature at full power is 510°CThose are just warnings. If you don't get any errors, your config.g should be okay.
Ian
-
@droftarts They are both named correctly IAW your instructions. Here are the files:
; deployprobe0.g ; called to deploy a physical Z probe ; ; generated by RepRapFirmware Configuration Tool v3.5.4 on Sat Aug 10 2024 17:00:40 GMT-0400 (Eastern Daylight Time) M280 P0 S10 ; deploy BLTouch
; retractprobe0.g ; called to retract a physical Z probe ; ; generated by RepRapFirmware Configuration Tool v3.5.4 on Sat Aug 10 2024 17:00:41 GMT-0400 (Eastern Daylight Time) M280 P0 S90 ; retract BLTouch
I might have a bad crimp. I'm going to redo the connection.
@droftarts said in Configuring Multiple Probes/Endstops:
What reading for the Z probe is reported in DWC?
Where do I find this? Dashboard?
UPDATE: I found the issue. Conducting further tests to confirm. I must have had a bad crimp/connection. I made a whole new wire and now it deploys on command. The connectors on the Roto toolboard are so tiny that crimps are kinda tough. So much as a couple frayed wires and ya lose continuity.
-
-