From b02a2ce05cb6f5ac3c4873f6b2dd2e0754fa1f98 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Fri, 12 Apr 2002 14:11:26 +0000 Subject: [PATCH] Eliminated SET_ENC_RATIO command. --- motorApp/AcsSrc/devMCB4B.c | 8 -------- motorApp/MclennanSrc/devPM304.c | 7 ------- 2 files changed, 15 deletions(-) diff --git a/motorApp/AcsSrc/devMCB4B.c b/motorApp/AcsSrc/devMCB4B.c index e600e915..ca414ed9 100644 --- a/motorApp/AcsSrc/devMCB4B.c +++ b/motorApp/AcsSrc/devMCB4B.c @@ -93,7 +93,6 @@ static int MCB4B_table[] = { IMMEDIATE, /* SET_VELOCITY */ IMMEDIATE, /* SET_ACCEL */ IMMEDIATE, /* GO */ - IMMEDIATE, /* SET_ENC_RATIO */ INFO, /* GET_INFO */ MOVE_TERM, /* STOP_AXIS */ VELOCITY, /* JOG */ @@ -278,13 +277,6 @@ STATIC long MCB4B_build_trans(motor_cmnd command, double *parms, struct motorRec */ trans->state = IDLE_STATE; break; - case SET_ENC_RATIO: - /* - * The MCB4B does not have the concept of encoder ratio, ignore this - * command - */ - trans->state = IDLE_STATE; - break; case GET_INFO: /* These commands are not actually done by sending a message, but rather they will indirectly cause the driver to read the status diff --git a/motorApp/MclennanSrc/devPM304.c b/motorApp/MclennanSrc/devPM304.c index 7ac8f425..e8880b8d 100644 --- a/motorApp/MclennanSrc/devPM304.c +++ b/motorApp/MclennanSrc/devPM304.c @@ -99,7 +99,6 @@ static int PM304_table[] = { IMMEDIATE, /* SET_VELOCITY */ IMMEDIATE, /* SET_ACCEL */ IMMEDIATE, /* GO */ - IMMEDIATE, /* SET_ENC_RATIO */ INFO, /* GET_INFO */ MOVE_TERM, /* STOP_AXIS */ VELOCITY, /* JOG */ @@ -267,12 +266,6 @@ STATIC long PM304_build_trans(motor_cmnd command, double *parms, struct motorRec * does nothing */ break; - case SET_ENC_RATIO: - /* - * The PM304 does not have the concept of encoder ratio, ignore this - * command - */ - break; case GET_INFO: /* These commands are not actually done by sending a message, but rather they will indirectly cause the driver to read the status