From 1f976e7371a1da4d2b7d3e33587f6c03c33c9eed Mon Sep 17 00:00:00 2001 From: Tero Kontkanen Date: Tue, 20 Dec 2016 13:41:50 +0200 Subject: Added SMP_SYSTEM_CONTROL_CAPTURE_INDEX_POSITION --- simplemotion_defs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/simplemotion_defs.h b/simplemotion_defs.h index e30b289..ec3e2f7 100644 --- a/simplemotion_defs.h +++ b/simplemotion_defs.h @@ -350,8 +350,10 @@ #define SMP_SYSTEM_CONTROL_RESET_FB_AND_SETPOINT 512 //writes various FW version specific values into debug parameters #define SMP_SYSTEM_CONTROL_GET_SPECIAL_DATA 1024 + //stores encoder index position in SMP_DEBUGPARAM_1. while busy (index not found) SMP_DEBUGPARAM_2 will be 100, after found it is 200. + #define SMP_SYSTEM_CONTROL_CAPTURE_INDEX_POSITION 2048 //write SM bus SM_CRCINIT constant modifier. special purposes only, don't use if unsure because - //it is one time programmable variable (irreversible operation, can't be ever reset to default by provided methods) + //it is one time programmable variable (permanently irreversible operation, can't be ever reset to default by provided methods) #define SMP_SYSTEM_CONTROL_MODIFY_CRCINIT 262144 //follow error tolerance for position control: -- cgit v1.2.3