I just ended with XY carriage setup and it work well.
Now is time to configure the Z axis,
I'm using marlin firmware 1.1.0
The printer have a 10mm thickness glass of 500mm by 600mm size,
my principal fear is that the nozzle impact and break the bed glass.
In Z axis have two NEMA 24 motors with two endstops, one in every motor.
Question:
1)The printer must to have Z endstops and also Z probe, or with the endstop is enough.
2)When the printer make movements the endstop not are interrogated,
they are only used when home some axis, gcode (G28 Z).
I ask, because when performing test on the X carriage, to know the max speed
sometimes the motor loose steps and the carriage move passing over
the Xmin endstop hitting the structure.
If it happen whit the Z axis i will break the glass.
3) The space between the bed and the nozzle must to be a paper sheet.
I want to set the endstop with a 1mm separation and then tunning with a offset.
In marlin there is Z ofsset after endstop trigger or something like that.
4) I want to use dual endstop with Z-probe, so in Marlin configuration.h must to enable Z_MIN_PROBE_ENDSTOP,
also must to disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN.
5) Where must to connect two Z endstops and also the Z-probe to RAMPS.
I have free: Xmax,Ymax,Zmax.
In Configuration_adv.h line 288 says #define Z2_USE_ENDSTOP _XMAX_
so Xmax will be for the Z2 endstop, but which is for the Z-probe.
Also in Configuration.h i must to #define USE_XMAX_PLUG ??
For the Z-probe in Configuration.h line 641:
#define Z_MIN_PROBE_PIN X_MAX_PIN
I can switch to Zmax doing it: ??
#define Z_MIN_PROBE_PIN Z_MAX_PIN
Greetings.