aboutsummaryrefslogtreecommitdiff
path: root/simplemotion_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'simplemotion_defs.h')
-rw-r--r--simplemotion_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/simplemotion_defs.h b/simplemotion_defs.h
index 1c58367..6261824 100644
--- a/simplemotion_defs.h
+++ b/simplemotion_defs.h
@@ -342,6 +342,8 @@
deniedStats=STAT_FERROR_RECOVERY|STAT_PERMANENT_STOP|STAT_STO_ACTIVE|STAT_FAULTSTOP|STAT_HOMING;
*/
#define SMP_SYSTEM_CONTROL_MEASURE_MOTOR_RL 256
+ //resets position mode FB and setpoint values to 0, and also resets homing status. useful after using in vel or torq mode.
+ #define SMP_SYSTEM_CONTROL_RESET_FB_AND_SETPOINT 512
//follow error tolerance for position control:
#define SMP_POS_FERROR_TRIP 555