From 1b386308ae2523e792e467915f0a6857cf6db9b2 Mon Sep 17 00:00:00 2001 From: Tero K Date: Wed, 28 Oct 2015 21:52:18 +0200 Subject: Added SMP_SYSTEM_CONTROL_RESET_FB_AND_SETPOINT --- simplemotion_defs.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3