Dual Z and probe

Hi all and thanks for taking the time to read.

Using a SKR 1.3 controller

What I would like to accomplice is :
1: dual home z to square the lowrider.
2: use a probe to set material height a Z0

Current status:
1: x,dual y and dual z works to home.

What I would like to do:
Use a spare port, I believe D44 on AUX1 is free?, and use a " CNC Touch Plate Z Axis Milling Tool Setting Probe".
If this works, where should I connect the other cable?
Or can I use the Z_Max?
Or can I connect both the endstop and the probe to Z_min?

Or do you have a better solution?

Some config I have:
#define Z_MIN_PROBE_PIN 44

#define X_MIN_ENDSTOP_INVERTING false
#define Y_MIN_ENDSTOP_INVERTING true ( due to wrong wiring)
#define Z_MIN_ENDSTOP_INVERTING false
#define X_MAX_ENDSTOP_INVERTING false
#define Y_MAX_ENDSTOP_INVERTING false
#define Z_MAX_ENDSTOP_INVERTING false
#define Z_MIN_PROBE_ENDSTOP_INVERTING false

Thanks in advance!

It is possible. Search the forums for G38. You need to set it up as a probe and turn off the setting for ZPROBE_USES_ZMIN (something like that) and turn on the G38.

Thanks for the guidence! Will look it up after work.

I have dual z endstops and a z probe. To do this on my ramps board I used the Z Max endstop for the probe as I was using Zmin and Xmax for the Z endstops. You have the correct idea in the firmware as well but don’t forget to setup your G38 in configuration_adv.h depending on which way you want to probe too.

As to which spare port is available on the SKR 1.3 I am not sure. But Zmax can definitely be used. Just makes sure that you check your pins file for the correct pin number.

Hope this was helpful

Edit: I meant Zmax pin can definitely be used not X, Xmax I am using for a Z2min endstop

Great! the pin number is D19.

So what I have is:
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define Z_MIN_PROBE_PIN 19
#define FIX_MOUNTED_PROBE
and
#define G38_PROBE_TARGET
#if ENABLED(G38_PROBE_TARGET)
//#define G38_PROBE_AWAY // Include G38.4 and G38.5 to probe away from target
#define G38_MINIMUM_MOVE 0.0275 // (mm) Minimum distance that will produce a move.
#endif

M119:
SENT: M119
READ: Reporting endstop status
READ: x_min: TRIGGERED
READ: y_min: open
READ: y2_min: open
READ: z_min: open
READ: z2_min: open
READ: z_max: open
READ: z_probe: TRIGGERED

When doing G38.2 or nothing happens… I guess because the z_probe is TRIGGERED?

Yeah you def want the z probe to be open prior to doing the G38 but to confirm just touch the pad to the alligator clip and do the m119 again to see if it is open, if so invert the probe in Marlin. Also not if you are using Zmax pin be sure to match the inversion with the prob as you might have some weird homing if Zmax is always triggered.

So Zmax Endstop and probe should match

Ok some progress:
#define Z_MAX_ENDSTOP_INVERTING true
#define Z_MIN_PROBE_ENDSTOP_INVERTING false
#define Z_MIN_PROBE_PIN 24
Should be Pin 24 according to this if I can read it… or is not P1_24 = 24?
https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3/blob/master/BTT%20SKR%20V1.3/BIGTREETECH%20SKRV1.3%20guide%202019%20-%206.pdf

doing : G38.2 Z-10 makes it move BUT it stops when I press the Z_min endstop

Ok this worked: Thanks all for the guidance:
#define Z_MAX_ENDSTOP_INVERTING true
#define Z_MIN_PROBE_ENDSTOP_INVERTING true
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define Z_MIN_PROBE_PIN P1_24

2 Likes