Skip to content

Commit d5da5cb

Browse files
thinkyheadellensp
andcommitted
✨ MAG_MOUNTED_PROBE_SERVO_NR
MarlinFirmware/Marlin#27551 Co-Authored-By: ellensp <530024+ellensp@users.noreply.github.com>
1 parent 1938f12 commit d5da5cb

File tree

380 files changed

+5320
-0
lines changed

Some content is hidden

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

380 files changed

+5320
-0
lines changed

config/default/Configuration.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,6 +1545,20 @@
15451545
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15461546
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15471547

1548+
/**
1549+
* Magnetically Mounted Probe with a Servo mechanism
1550+
* Probe Deploy and Stow both follow the same basic sequence:
1551+
* - Rotate the SERVO to its Deployed angle
1552+
* - Perform XYZ moves to deploy or stow the PROBE
1553+
* - Rotate the SERVO to its Stowed angle
1554+
*/
1555+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1556+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1557+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1558+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1559+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1560+
#endif
1561+
15481562
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15491563
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15501564
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,6 +1547,20 @@
15471547
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15481548
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15491549

1550+
/**
1551+
* Magnetically Mounted Probe with a Servo mechanism
1552+
* Probe Deploy and Stow both follow the same basic sequence:
1553+
* - Rotate the SERVO to its Deployed angle
1554+
* - Perform XYZ moves to deploy or stow the PROBE
1555+
* - Rotate the SERVO to its Stowed angle
1556+
*/
1557+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1558+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1559+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1560+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1561+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1562+
#endif
1563+
15501564
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15511565
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15521566
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

config/examples/3DMatik/XL/Configuration.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,6 +1545,20 @@
15451545
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15461546
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15471547

1548+
/**
1549+
* Magnetically Mounted Probe with a Servo mechanism
1550+
* Probe Deploy and Stow both follow the same basic sequence:
1551+
* - Rotate the SERVO to its Deployed angle
1552+
* - Perform XYZ moves to deploy or stow the PROBE
1553+
* - Rotate the SERVO to its Stowed angle
1554+
*/
1555+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1556+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1557+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1558+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1559+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1560+
#endif
1561+
15481562
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15491563
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15501564
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,6 +1545,20 @@
15451545
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15461546
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15471547

1548+
/**
1549+
* Magnetically Mounted Probe with a Servo mechanism
1550+
* Probe Deploy and Stow both follow the same basic sequence:
1551+
* - Rotate the SERVO to its Deployed angle
1552+
* - Perform XYZ moves to deploy or stow the PROBE
1553+
* - Rotate the SERVO to its Stowed angle
1554+
*/
1555+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1556+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1557+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1558+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1559+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1560+
#endif
1561+
15481562
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15491563
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15501564
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,6 +1545,20 @@
15451545
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15461546
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15471547

1548+
/**
1549+
* Magnetically Mounted Probe with a Servo mechanism
1550+
* Probe Deploy and Stow both follow the same basic sequence:
1551+
* - Rotate the SERVO to its Deployed angle
1552+
* - Perform XYZ moves to deploy or stow the PROBE
1553+
* - Rotate the SERVO to its Stowed angle
1554+
*/
1555+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1556+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1557+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1558+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1559+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1560+
#endif
1561+
15481562
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15491563
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15501564
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,6 +1614,20 @@
16141614
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
16151615
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
16161616

1617+
/**
1618+
* Magnetically Mounted Probe with a Servo mechanism
1619+
* Probe Deploy and Stow both follow the same basic sequence:
1620+
* - Rotate the SERVO to its Deployed angle
1621+
* - Perform XYZ moves to deploy or stow the PROBE
1622+
* - Rotate the SERVO to its Stowed angle
1623+
*/
1624+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1625+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1626+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1627+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1628+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1629+
#endif
1630+
16171631
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
16181632
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
16191633
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

config/examples/Alfawise/U20/Configuration.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,6 +1615,20 @@
16151615
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
16161616
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
16171617

1618+
/**
1619+
* Magnetically Mounted Probe with a Servo mechanism
1620+
* Probe Deploy and Stow both follow the same basic sequence:
1621+
* - Rotate the SERVO to its Deployed angle
1622+
* - Perform XYZ moves to deploy or stow the PROBE
1623+
* - Rotate the SERVO to its Stowed angle
1624+
*/
1625+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1626+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1627+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1628+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1629+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1630+
#endif
1631+
16181632
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
16191633
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
16201634
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,6 +1545,20 @@
15451545
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15461546
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15471547

1548+
/**
1549+
* Magnetically Mounted Probe with a Servo mechanism
1550+
* Probe Deploy and Stow both follow the same basic sequence:
1551+
* - Rotate the SERVO to its Deployed angle
1552+
* - Perform XYZ moves to deploy or stow the PROBE
1553+
* - Rotate the SERVO to its Stowed angle
1554+
*/
1555+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1556+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1557+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1558+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1559+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1560+
#endif
1561+
15481562
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15491563
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15501564
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

config/examples/AliExpress/UM2pExt/Configuration.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,6 +1546,20 @@
15461546
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15471547
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15481548

1549+
/**
1550+
* Magnetically Mounted Probe with a Servo mechanism
1551+
* Probe Deploy and Stow both follow the same basic sequence:
1552+
* - Rotate the SERVO to its Deployed angle
1553+
* - Perform XYZ moves to deploy or stow the PROBE
1554+
* - Rotate the SERVO to its Stowed angle
1555+
*/
1556+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1557+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1558+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1559+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1560+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1561+
#endif
1562+
15491563
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15501564
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15511565
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

config/examples/Anet/A2/Configuration.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,6 +1545,20 @@
15451545
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15461546
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15471547

1548+
/**
1549+
* Magnetically Mounted Probe with a Servo mechanism
1550+
* Probe Deploy and Stow both follow the same basic sequence:
1551+
* - Rotate the SERVO to its Deployed angle
1552+
* - Perform XYZ moves to deploy or stow the PROBE
1553+
* - Rotate the SERVO to its Stowed angle
1554+
*/
1555+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1556+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1557+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1558+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1559+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1560+
#endif
1561+
15481562
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15491563
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15501564
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

config/examples/Anet/A2plus/Configuration.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,6 +1545,20 @@
15451545
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15461546
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15471547

1548+
/**
1549+
* Magnetically Mounted Probe with a Servo mechanism
1550+
* Probe Deploy and Stow both follow the same basic sequence:
1551+
* - Rotate the SERVO to its Deployed angle
1552+
* - Perform XYZ moves to deploy or stow the PROBE
1553+
* - Rotate the SERVO to its Stowed angle
1554+
*/
1555+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1556+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1557+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1558+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1559+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1560+
#endif
1561+
15481562
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15491563
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15501564
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

config/examples/Anet/A6/Configuration.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,6 +1562,20 @@
15621562
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15631563
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15641564

1565+
/**
1566+
* Magnetically Mounted Probe with a Servo mechanism
1567+
* Probe Deploy and Stow both follow the same basic sequence:
1568+
* - Rotate the SERVO to its Deployed angle
1569+
* - Perform XYZ moves to deploy or stow the PROBE
1570+
* - Rotate the SERVO to its Stowed angle
1571+
*/
1572+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1573+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1574+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1575+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1576+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1577+
#endif
1578+
15651579
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15661580
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15671581
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

config/examples/Anet/A8/Configuration.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,6 +1548,20 @@
15481548
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15491549
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15501550

1551+
/**
1552+
* Magnetically Mounted Probe with a Servo mechanism
1553+
* Probe Deploy and Stow both follow the same basic sequence:
1554+
* - Rotate the SERVO to its Deployed angle
1555+
* - Perform XYZ moves to deploy or stow the PROBE
1556+
* - Rotate the SERVO to its Stowed angle
1557+
*/
1558+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1559+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1560+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1561+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1562+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1563+
#endif
1564+
15511565
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15521566
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15531567
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

config/examples/Anet/A8plus/Configuration.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,6 +1547,20 @@
15471547
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15481548
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15491549

1550+
/**
1551+
* Magnetically Mounted Probe with a Servo mechanism
1552+
* Probe Deploy and Stow both follow the same basic sequence:
1553+
* - Rotate the SERVO to its Deployed angle
1554+
* - Perform XYZ moves to deploy or stow the PROBE
1555+
* - Rotate the SERVO to its Stowed angle
1556+
*/
1557+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1558+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1559+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1560+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1561+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1562+
#endif
1563+
15501564
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15511565
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15521566
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

config/examples/Anet/A9/Configuration.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,6 +1545,20 @@
15451545
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15461546
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15471547

1548+
/**
1549+
* Magnetically Mounted Probe with a Servo mechanism
1550+
* Probe Deploy and Stow both follow the same basic sequence:
1551+
* - Rotate the SERVO to its Deployed angle
1552+
* - Perform XYZ moves to deploy or stow the PROBE
1553+
* - Rotate the SERVO to its Stowed angle
1554+
*/
1555+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1556+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1557+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1558+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1559+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1560+
#endif
1561+
15481562
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15491563
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15501564
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

config/examples/Anet/E10/Configuration.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,6 +1545,20 @@
15451545
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
15461546
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
15471547

1548+
/**
1549+
* Magnetically Mounted Probe with a Servo mechanism
1550+
* Probe Deploy and Stow both follow the same basic sequence:
1551+
* - Rotate the SERVO to its Deployed angle
1552+
* - Perform XYZ moves to deploy or stow the PROBE
1553+
* - Rotate the SERVO to its Stowed angle
1554+
*/
1555+
//#define MAG_MOUNTED_PROBE_SERVO_NR 0 // Servo Number for this probe
1556+
#ifdef MAG_MOUNTED_PROBE_SERVO_NR
1557+
#define MAG_MOUNTED_PROBE_SERVO_ANGLES { 90, 0 } // Servo Angles for Deployed, Stowed
1558+
#define MAG_MOUNTED_PRE_DEPLOY { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo activation
1559+
#define MAG_MOUNTED_PRE_STOW { PROBE_DEPLOY_FEEDRATE, { 15, 160, 30 } } // Safe position for servo deactivation
1560+
#endif
1561+
15481562
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
15491563
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
15501564
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed

0 commit comments

Comments
 (0)