Skip to content

Commit 714329d

Browse files
committed
SERVO_DETACH_GCODE
MarlinFirmware/Marlin#22760
1 parent 87c1e6c commit 714329d

File tree

283 files changed

+1415
-566
lines changed

Some content is hidden

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

283 files changed

+1415
-566
lines changed

config/default/Configuration.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2947,9 +2947,9 @@
29472947
* Set this manually if there are extra servos needing manual control.
29482948
* Set to 0 to turn off servo support.
29492949
*/
2950-
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
2950+
//#define NUM_SERVOS 3 // Note: Servo index starts with 0 for M280-M282 commands
29512951

2952-
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
2952+
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
29532953
// 300ms is a good value but you can try less delay.
29542954
// If the servo can't reach the requested position, increase it.
29552955
#define SERVO_DELAY { 300 }
@@ -2959,3 +2959,6 @@
29592959

29602960
// Edit servo angles with M281 and save to EEPROM with M500
29612961
//#define EDITABLE_SERVO_ANGLES
2962+
2963+
// Disable servo with M282 to reduce power consumption, noise, and heat when not in use
2964+
//#define SERVO_DETACH_GCODE

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2979,9 +2979,9 @@
29792979
* Set this manually if there are extra servos needing manual control.
29802980
* Set to 0 to turn off servo support.
29812981
*/
2982-
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
2982+
//#define NUM_SERVOS 3 // Note: Servo index starts with 0 for M280-M282 commands
29832983

2984-
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
2984+
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
29852985
// 300ms is a good value but you can try less delay.
29862986
// If the servo can't reach the requested position, increase it.
29872987
#define SERVO_DELAY { 300 }
@@ -2991,3 +2991,6 @@
29912991

29922992
// Edit servo angles with M281 and save to EEPROM with M500
29932993
//#define EDITABLE_SERVO_ANGLES
2994+
2995+
// Disable servo with M282 to reduce power consumption, noise, and heat when not in use
2996+
//#define SERVO_DETACH_GCODE

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2948,9 +2948,9 @@
29482948
* Set this manually if there are extra servos needing manual control.
29492949
* Set to 0 to turn off servo support.
29502950
*/
2951-
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
2951+
//#define NUM_SERVOS 3 // Note: Servo index starts with 0 for M280-M282 commands
29522952

2953-
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
2953+
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
29542954
// 300ms is a good value but you can try less delay.
29552955
// If the servo can't reach the requested position, increase it.
29562956
#define SERVO_DELAY { 300 }
@@ -2960,3 +2960,6 @@
29602960

29612961
// Edit servo angles with M281 and save to EEPROM with M500
29622962
//#define EDITABLE_SERVO_ANGLES
2963+
2964+
// Disable servo with M282 to reduce power consumption, noise, and heat when not in use
2965+
//#define SERVO_DETACH_GCODE

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2948,9 +2948,9 @@
29482948
* Set this manually if there are extra servos needing manual control.
29492949
* Set to 0 to turn off servo support.
29502950
*/
2951-
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
2951+
//#define NUM_SERVOS 3 // Note: Servo index starts with 0 for M280-M282 commands
29522952

2953-
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
2953+
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
29542954
// 300ms is a good value but you can try less delay.
29552955
// If the servo can't reach the requested position, increase it.
29562956
#define SERVO_DELAY { 300 }
@@ -2960,3 +2960,6 @@
29602960

29612961
// Edit servo angles with M281 and save to EEPROM with M500
29622962
//#define EDITABLE_SERVO_ANGLES
2963+
2964+
// Disable servo with M282 to reduce power consumption, noise, and heat when not in use
2965+
//#define SERVO_DETACH_GCODE

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3037,9 +3037,9 @@
30373037
* Set this manually if there are extra servos needing manual control.
30383038
* Set to 0 to turn off servo support.
30393039
*/
3040-
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
3040+
//#define NUM_SERVOS 3 // Note: Servo index starts with 0 for M280-M282 commands
30413041

3042-
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
3042+
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
30433043
// 300ms is a good value but you can try less delay.
30443044
// If the servo can't reach the requested position, increase it.
30453045
#define SERVO_DELAY { 300 }
@@ -3049,3 +3049,6 @@
30493049

30503050
// Edit servo angles with M281 and save to EEPROM with M500
30513051
//#define EDITABLE_SERVO_ANGLES
3052+
3053+
// Disable servo with M282 to reduce power consumption, noise, and heat when not in use
3054+
//#define SERVO_DETACH_GCODE

config/examples/Alfawise/U20/Configuration.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3039,9 +3039,9 @@
30393039
* Set this manually if there are extra servos needing manual control.
30403040
* Set to 0 to turn off servo support.
30413041
*/
3042-
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
3042+
//#define NUM_SERVOS 3 // Note: Servo index starts with 0 for M280-M282 commands
30433043

3044-
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
3044+
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
30453045
// 300ms is a good value but you can try less delay.
30463046
// If the servo can't reach the requested position, increase it.
30473047
#define SERVO_DELAY { 300 }
@@ -3051,3 +3051,6 @@
30513051

30523052
// Edit servo angles with M281 and save to EEPROM with M500
30533053
//#define EDITABLE_SERVO_ANGLES
3054+
3055+
// Disable servo with M282 to reduce power consumption, noise, and heat when not in use
3056+
//#define SERVO_DETACH_GCODE

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2947,9 +2947,9 @@
29472947
* Set this manually if there are extra servos needing manual control.
29482948
* Set to 0 to turn off servo support.
29492949
*/
2950-
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
2950+
//#define NUM_SERVOS 3 // Note: Servo index starts with 0 for M280-M282 commands
29512951

2952-
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
2952+
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
29532953
// 300ms is a good value but you can try less delay.
29542954
// If the servo can't reach the requested position, increase it.
29552955
#define SERVO_DELAY { 300 }
@@ -2959,3 +2959,6 @@
29592959

29602960
// Edit servo angles with M281 and save to EEPROM with M500
29612961
//#define EDITABLE_SERVO_ANGLES
2962+
2963+
// Disable servo with M282 to reduce power consumption, noise, and heat when not in use
2964+
//#define SERVO_DETACH_GCODE

config/examples/AliExpress/UM2pExt/Configuration.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2948,9 +2948,9 @@
29482948
* Set this manually if there are extra servos needing manual control.
29492949
* Set to 0 to turn off servo support.
29502950
*/
2951-
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
2951+
//#define NUM_SERVOS 3 // Note: Servo index starts with 0 for M280-M282 commands
29522952

2953-
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
2953+
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
29542954
// 300ms is a good value but you can try less delay.
29552955
// If the servo can't reach the requested position, increase it.
29562956
#define SERVO_DELAY { 300 }
@@ -2960,3 +2960,6 @@
29602960

29612961
// Edit servo angles with M281 and save to EEPROM with M500
29622962
//#define EDITABLE_SERVO_ANGLES
2963+
2964+
// Disable servo with M282 to reduce power consumption, noise, and heat when not in use
2965+
//#define SERVO_DETACH_GCODE

config/examples/Anet/A2/Configuration.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2949,9 +2949,9 @@
29492949
* Set this manually if there are extra servos needing manual control.
29502950
* Set to 0 to turn off servo support.
29512951
*/
2952-
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
2952+
//#define NUM_SERVOS 3 // Note: Servo index starts with 0 for M280-M282 commands
29532953

2954-
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
2954+
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
29552955
// 300ms is a good value but you can try less delay.
29562956
// If the servo can't reach the requested position, increase it.
29572957
#define SERVO_DELAY { 300 }
@@ -2961,3 +2961,6 @@
29612961

29622962
// Edit servo angles with M281 and save to EEPROM with M500
29632963
//#define EDITABLE_SERVO_ANGLES
2964+
2965+
// Disable servo with M282 to reduce power consumption, noise, and heat when not in use
2966+
//#define SERVO_DETACH_GCODE

config/examples/Anet/A2plus/Configuration.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2949,9 +2949,9 @@
29492949
* Set this manually if there are extra servos needing manual control.
29502950
* Set to 0 to turn off servo support.
29512951
*/
2952-
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
2952+
//#define NUM_SERVOS 3 // Note: Servo index starts with 0 for M280-M282 commands
29532953

2954-
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
2954+
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
29552955
// 300ms is a good value but you can try less delay.
29562956
// If the servo can't reach the requested position, increase it.
29572957
#define SERVO_DELAY { 300 }
@@ -2961,3 +2961,6 @@
29612961

29622962
// Edit servo angles with M281 and save to EEPROM with M500
29632963
//#define EDITABLE_SERVO_ANGLES
2964+
2965+
// Disable servo with M282 to reduce power consumption, noise, and heat when not in use
2966+
//#define SERVO_DETACH_GCODE

0 commit comments

Comments
 (0)