From 6584343f1bb42efb0dc879d0561d6ab00bb22d04 Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Sat, 8 Apr 2006 20:11:56 +0000 Subject: [PATCH] Added SET_RESOLUTION --- motorApp/MotorSrc/motor.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/motorApp/MotorSrc/motor.h b/motorApp/MotorSrc/motor.h index 1b1fbd40..a6c9ee3d 100644 --- a/motorApp/MotorSrc/motor.h +++ b/motorApp/MotorSrc/motor.h @@ -3,9 +3,9 @@ FILENAME... motor.h USAGE... Definitions and structures common to all levels of motorRecord support (i.e., record, device and driver). -Version: $Revision: 1.16 $ +Version: $Revision: 1.17 $ Modified By: $Author: rivers $ -Last Modified: $Date: 2006-03-21 22:45:05 $ +Last Modified: $Date: 2006-04-08 20:11:56 $ */ /* @@ -77,7 +77,7 @@ typedef enum CALLBACK_VALUES {NOTHING_DONE = 0, CALLBACK_DATA = 1} CALLBACK_VALU #define NINT(f) (long)((f)>0 ? (f)+0.5 : (f)-0.5) /* Nearest integer. */ /* Motor Record Command Set. !WARNING! this enumeration must match ALL of the - following; + following (up to and including JOG_VELOCITY); - "oms_table" in devOmsCom.c - "MM4000_table" in devMM4000.c */ @@ -104,7 +104,8 @@ typedef enum { PRIMITIVE, /* Primitive Controller command. */ SET_HIGH_LIMIT, /* Set High Travel Limit. */ SET_LOW_LIMIT, /* Set Low Travel Limit. */ - JOG_VELOCITY /* Change Jog velocity. */ + JOG_VELOCITY, /* Change Jog velocity. */ + SET_RESOLUTION /* Set resolution */ } motor_cmnd;