AnHardt 3f45a1acf9 Check probes only when deployed
Aim: Test probes in update_endstops only when activated

Changes:
Configurations
 Add define for FIX_MOUNTED_PROBE to handle the situation where formerly ENDSTOPS_ONLY_FOR_HOMING had to be set, or lowering the nozzle below Z_PROBE_OFFSET_FROM_EXTRUDER could give an "endstop hit" message.
 Add define for Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to indicate a common situation, that we have a probe but it is connected to an endstop pin
 Add some comments
 Shift some entries to have related things together.

Conditionals.h
 We have a probe (HAS_Z_MIN_PROBE) if one of the pins is defined AND one of the probes is defined.

SanityCheck.h
 Add some tests if the probe is connected and if we have defined a probe.

stepper.cpp
 Changes to test the probe only when it is deployed (z_probe_is_active).
 Test update_endstops() when the probe is deployed.

MarlinMain.cpp
 a. set and reset z_probe_is_active in deploy_z_probe(), stow_z_probe() and dock_sled()
 b. set and reset z_probe_is_active in the case a z-servo is moved to a defined position. The only remaining unhandled servo move is in M280 where we do not end in a defined position. If you want to handle a probe use M401/402
 c. skip deploying/stowing when already deployed/stowed in the dedicated deploy/stow functions.
 d. Handle the new FIX_MOUNTED_PROBE in parallel to a servo driven probe/endstop.

 To do: In another PR. handle all probes in deploy/stow_z_probe.
 Sort out SERVO_LEVELING vs. HAS_SERVO_ENDSTOPS.
2016-03-19 02:00:08 -07:00
..
2016-03-06 05:52:00 -08:00
2016-03-06 05:52:01 -08:00
2015-08-16 06:56:47 -05:00
2016-03-18 16:46:20 -07:00
2016-03-19 02:00:08 -07:00
2015-11-12 00:03:21 -06:00
2015-09-30 14:46:01 -05:00
2015-11-12 00:00:51 -06:00
2015-12-10 06:31:41 -06:00
2016-03-14 21:16:57 -03:00
2016-03-05 20:41:15 -08:00
2016-03-06 05:51:58 -08:00
2016-03-02 14:29:49 +01:00
2016-03-06 05:52:01 -08:00
2016-03-02 14:29:49 +01:00
2016-03-02 14:29:49 +01:00
2015-08-02 22:09:08 -05:00
2016-03-06 05:52:01 -08:00
2015-09-10 10:54:03 -05:00
2016-03-02 14:29:49 +01:00
2016-03-02 14:29:49 +01:00
2016-03-02 14:29:49 +01:00
2016-03-06 05:52:01 -08:00
2016-03-06 05:51:55 -08:00
2016-03-19 02:00:08 -07:00
2016-03-06 05:51:55 -08:00
2016-03-06 05:51:55 -08:00
2016-03-06 05:51:55 -08:00
2016-03-15 01:18:58 -07:00
2016-03-19 02:00:08 -07:00
2015-11-12 00:03:21 -06:00
2015-11-12 00:03:22 -06:00
2015-11-12 00:03:22 -06:00