Possible to use dual Z endswitches and Z Touch Plate?

I’m currently using dual Z endswitches to level my Z axis. Is there a way to also make use of a Z Touch plate to account for material thickness? I’m using a RAMBo 1.4 and Marlin.

By default the config file sets the probe pin the same as z min endstop. You can change it to a different pin (one of the max endstops) and use g38.2 to probe your z.

1 Like

This is the section you’re looking for:

/**
 * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
 *
 * Enable this option for a probe connected to the Z Min endstop pin.
 */
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

/**
 * Z_MIN_PROBE_PIN
 *
 * Define this pin if the probe is not connected to Z_MIN_PIN.
 * If not defined the default pin for the selected MOTHERBOARD
 * will be used. Most of the time the default is what you want.
 *
 *  - The simplest option is to use a free endstop connector.
 *  - Use 5V for powered (usually inductive) sensors.
 *
 *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
 *    - For simple switches connect...
 *      - normally-closed switches to GND and D32.
 *      - normally-open switches to 5V and D32.
 *
 */
//#define Z_MIN_PROBE_PIN 32 // Pin 32 is the RAMPS default

Comment out #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN and uncomment #define Z_MIN_PROBE_PIN 32 // Pin 32 is the RAMPS default. You can set the PIN to whatever pin as listed in pins.h.

Thank you Greg and Ryan! I’ll give this a try as soon as I get the firmware to flash on my board. I have another topic going in the firmware subforum to troubleshoot that.