Skip to content

Commit ef69c3c

Browse files
thinkyheadfilippor
andcommitted
✨ Z_SERVO_DEACTIVATE_AFTER_STOW
MarlinFirmware/Marlin#24215 Co-Authored-By: FilippoR <filippo.rossoni@gmail.com>
1 parent 4a3c35e commit ef69c3c

File tree

338 files changed

+2366
-1348
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

338 files changed

+2366
-1348
lines changed

config/default/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1395,10 +1395,13 @@
13951395
/**
13961396
* Z Servo Probe, such as an endstop switch on a rotating arm.
13971397
*/
1398-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1399-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1400-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1401-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1398+
//#define Z_PROBE_SERVO_NR 0
1399+
#ifdef Z_PROBE_SERVO_NR
1400+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1401+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1402+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1403+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1404+
#endif
14021405

14031406
/**
14041407
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/3DFabXYZ/Migbot/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1397,10 +1397,13 @@
13971397
/**
13981398
* Z Servo Probe, such as an endstop switch on a rotating arm.
13991399
*/
1400-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1401-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1402-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1403-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1400+
//#define Z_PROBE_SERVO_NR 0
1401+
#ifdef Z_PROBE_SERVO_NR
1402+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1403+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1404+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1405+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1406+
#endif
14041407

14051408
/**
14061409
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/ADIMLab/Gantry v1/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1395,10 +1395,13 @@
13951395
/**
13961396
* Z Servo Probe, such as an endstop switch on a rotating arm.
13971397
*/
1398-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1399-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1400-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1401-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1398+
//#define Z_PROBE_SERVO_NR 0
1399+
#ifdef Z_PROBE_SERVO_NR
1400+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1401+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1402+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1403+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1404+
#endif
14021405

14031406
/**
14041407
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/ADIMLab/Gantry v2/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1395,10 +1395,13 @@
13951395
/**
13961396
* Z Servo Probe, such as an endstop switch on a rotating arm.
13971397
*/
1398-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1399-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1400-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1401-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1398+
//#define Z_PROBE_SERVO_NR 0
1399+
#ifdef Z_PROBE_SERVO_NR
1400+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1401+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1402+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1403+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1404+
#endif
14021405

14031406
/**
14041407
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Alfawise/U20-bltouch/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1464,10 +1464,13 @@
14641464
/**
14651465
* Z Servo Probe, such as an endstop switch on a rotating arm.
14661466
*/
1467-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1468-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1469-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1470-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1467+
//#define Z_PROBE_SERVO_NR 0
1468+
#ifdef Z_PROBE_SERVO_NR
1469+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1470+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1471+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1472+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1473+
#endif
14711474

14721475
/**
14731476
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Alfawise/U20/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1465,10 +1465,13 @@
14651465
/**
14661466
* Z Servo Probe, such as an endstop switch on a rotating arm.
14671467
*/
1468-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1469-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1470-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1471-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1468+
//#define Z_PROBE_SERVO_NR 0
1469+
#ifdef Z_PROBE_SERVO_NR
1470+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1471+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1472+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1473+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1474+
#endif
14721475

14731476
/**
14741477
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/AliExpress/CL-260/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1395,10 +1395,13 @@
13951395
/**
13961396
* Z Servo Probe, such as an endstop switch on a rotating arm.
13971397
*/
1398-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1399-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1400-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1401-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1398+
//#define Z_PROBE_SERVO_NR 0
1399+
#ifdef Z_PROBE_SERVO_NR
1400+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1401+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1402+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1403+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1404+
#endif
14021405

14031406
/**
14041407
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/AliExpress/UM2pExt/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1396,10 +1396,13 @@
13961396
/**
13971397
* Z Servo Probe, such as an endstop switch on a rotating arm.
13981398
*/
1399-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1400-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1401-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1402-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1399+
//#define Z_PROBE_SERVO_NR 0
1400+
#ifdef Z_PROBE_SERVO_NR
1401+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1402+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1403+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1404+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1405+
#endif
14031406

14041407
/**
14051408
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/A2/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1395,10 +1395,13 @@
13951395
/**
13961396
* Z Servo Probe, such as an endstop switch on a rotating arm.
13971397
*/
1398-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1399-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1400-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1401-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1398+
//#define Z_PROBE_SERVO_NR 0
1399+
#ifdef Z_PROBE_SERVO_NR
1400+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1401+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1402+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1403+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1404+
#endif
14021405

14031406
/**
14041407
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/A2plus/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1395,10 +1395,13 @@
13951395
/**
13961396
* Z Servo Probe, such as an endstop switch on a rotating arm.
13971397
*/
1398-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1399-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1400-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1401-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1398+
//#define Z_PROBE_SERVO_NR 0
1399+
#ifdef Z_PROBE_SERVO_NR
1400+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1401+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1402+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1403+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1404+
#endif
14021405

14031406
/**
14041407
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/A6/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1412,10 +1412,13 @@
14121412
/**
14131413
* Z Servo Probe, such as an endstop switch on a rotating arm.
14141414
*/
1415-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1416-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1417-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1418-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1415+
//#define Z_PROBE_SERVO_NR 0
1416+
#ifdef Z_PROBE_SERVO_NR
1417+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1418+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1419+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1420+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1421+
#endif
14191422

14201423
/**
14211424
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/A8/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1398,10 +1398,13 @@
13981398
/**
13991399
* Z Servo Probe, such as an endstop switch on a rotating arm.
14001400
*/
1401-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1402-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1403-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1404-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1401+
//#define Z_PROBE_SERVO_NR 0
1402+
#ifdef Z_PROBE_SERVO_NR
1403+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1404+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1405+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1406+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1407+
#endif
14051408

14061409
/**
14071410
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/A8plus/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1397,10 +1397,13 @@
13971397
/**
13981398
* Z Servo Probe, such as an endstop switch on a rotating arm.
13991399
*/
1400-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1401-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1402-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1403-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1400+
//#define Z_PROBE_SERVO_NR 0
1401+
#ifdef Z_PROBE_SERVO_NR
1402+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1403+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1404+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1405+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1406+
#endif
14041407

14051408
/**
14061409
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/A9/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1395,10 +1395,13 @@
13951395
/**
13961396
* Z Servo Probe, such as an endstop switch on a rotating arm.
13971397
*/
1398-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1399-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1400-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1401-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1398+
//#define Z_PROBE_SERVO_NR 0
1399+
#ifdef Z_PROBE_SERVO_NR
1400+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1401+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1402+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1403+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1404+
#endif
14021405

14031406
/**
14041407
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/E10/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1395,10 +1395,13 @@
13951395
/**
13961396
* Z Servo Probe, such as an endstop switch on a rotating arm.
13971397
*/
1398-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1399-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1400-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1401-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1398+
//#define Z_PROBE_SERVO_NR 0
1399+
#ifdef Z_PROBE_SERVO_NR
1400+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1401+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1402+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1403+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1404+
#endif
14021405

14031406
/**
14041407
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/E16/BTT SKR 1.3/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1397,10 +1397,13 @@
13971397
/**
13981398
* Z Servo Probe, such as an endstop switch on a rotating arm.
13991399
*/
1400-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1401-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1402-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1403-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1400+
//#define Z_PROBE_SERVO_NR 0
1401+
#ifdef Z_PROBE_SERVO_NR
1402+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1403+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1404+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1405+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1406+
#endif
14041407

14051408
/**
14061409
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/E16/Stock/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1397,10 +1397,13 @@
13971397
/**
13981398
* Z Servo Probe, such as an endstop switch on a rotating arm.
13991399
*/
1400-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1401-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1402-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1403-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1400+
//#define Z_PROBE_SERVO_NR 0
1401+
#ifdef Z_PROBE_SERVO_NR
1402+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1403+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1404+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1405+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1406+
#endif
14041407

14051408
/**
14061409
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/ET4+/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1401,10 +1401,13 @@
14011401
/**
14021402
* Z Servo Probe, such as an endstop switch on a rotating arm.
14031403
*/
1404-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1405-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1406-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1407-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1404+
//#define Z_PROBE_SERVO_NR 0
1405+
#ifdef Z_PROBE_SERVO_NR
1406+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1407+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1408+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1409+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1410+
#endif
14081411

14091412
/**
14101413
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/ET4-Pro/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1401,10 +1401,13 @@
14011401
/**
14021402
* Z Servo Probe, such as an endstop switch on a rotating arm.
14031403
*/
1404-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1405-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1406-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1407-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1404+
//#define Z_PROBE_SERVO_NR 0
1405+
#ifdef Z_PROBE_SERVO_NR
1406+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1407+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1408+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1409+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1410+
#endif
14081411

14091412
/**
14101413
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/ET4/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1401,10 +1401,13 @@
14011401
/**
14021402
* Z Servo Probe, such as an endstop switch on a rotating arm.
14031403
*/
1404-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1405-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1406-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1407-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1404+
//#define Z_PROBE_SERVO_NR 0
1405+
#ifdef Z_PROBE_SERVO_NR
1406+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1407+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1408+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1409+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1410+
#endif
14081411

14091412
/**
14101413
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

config/examples/Anet/ET4X/Configuration.h

+7-4
Original file line numberDiff line numberDiff line change
@@ -1401,10 +1401,13 @@
14011401
/**
14021402
* Z Servo Probe, such as an endstop switch on a rotating arm.
14031403
*/
1404-
//#define Z_PROBE_SERVO_NR 0 // Defaults to SERVO 0 connector.
1405-
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1406-
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy.
1407-
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points.
1404+
//#define Z_PROBE_SERVO_NR 0
1405+
#ifdef Z_PROBE_SERVO_NR
1406+
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
1407+
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
1408+
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
1409+
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
1410+
#endif
14081411

14091412
/**
14101413
* The BLTouch probe uses a Hall effect sensor and emulates a servo.

0 commit comments

Comments
 (0)