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?
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.
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
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.
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