Added Jog Velocity motor command.

This commit is contained in:
Ron Sluiter
2001-04-21 18:29:31 +00:00
parent dfce66423a
commit bc136e9e38
3 changed files with 16 additions and 10 deletions
+5 -3
View File
@@ -2,9 +2,9 @@
FILENAME... devMM3000.c
USAGE... Motor record device level support for Newport MM3000.
Version: $Revision: 1.3 $
Version: $Revision: 1.4 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2000-07-17 17:11:36 $
Last Modified: $Date: 2001-04-21 18:27:38 $
*/
/*
@@ -37,7 +37,7 @@ Last Modified: $Date: 2000-07-17 17:11:36 $
* -----------------
* .00 10-16-97 mlr initialized from devOms58
* .01 07-19-99 rls initialized from drvMM4000
* ...
* .02 04-21-01 rls Added jog velocity motor command.
*/
#include <vxWorks.h>
@@ -94,6 +94,7 @@ struct motor_dset devMM3000 =
/* --------------------------- program data --------------------- */
/* This table is used to define the command types */
/* WARNING! this must match "motor_cmnd" in motor.h */
static int MM3000_table[] = {
MOTION, /* MOVE_ABS */
@@ -117,6 +118,7 @@ static int MM3000_table[] = {
IMMEDIATE, /* PRIMITIVE */
IMMEDIATE, /* SET_HIGH_LIMIT */
IMMEDIATE, /* SET_LOW_LIMIT */
VELOCITY /* JOG_VELOCITY */
};
+6 -3
View File
@@ -2,9 +2,9 @@
FILENAME... devMM4000.c
USAGE... Motor record device level support for Newport MM4000.
Version: $Revision: 1.3 $
Version: $Revision: 1.4 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2000-07-17 17:13:46 $
Last Modified: $Date: 2001-04-21 18:28:53 $
*/
/*
@@ -39,6 +39,7 @@ Last Modified: $Date: 2000-07-17 17:13:46 $
* .03 10-30-98 mlr Minor code cleanup, improved formatting
* .04 02-01-99 mlr Added temporary fix to delay reading motor
* positions at the end of a move.
* .05 04-21-01 rls Added jog velocity motor command.
*/
@@ -96,6 +97,7 @@ struct motor_dset devMM4000 =
/* --------------------------- program data --------------------- */
/* This table is used to define the command types */
/* WARNING! this must match "motor_cmnd" in motor.h */
static int MM4000_table[] = {
MOTION, /* MOVE_ABS */
@@ -118,7 +120,8 @@ static int MM4000_table[] = {
IMMEDIATE, /* DISABL_TORQUE */
IMMEDIATE, /* PRIMITIVE */
IMMEDIATE, /* SET_HIGH_LIMIT */
IMMEDIATE /* SET_LOW_LIMIT */
IMMEDIATE, /* SET_LOW_LIMIT */
VELOCITY /* JOG_VELOCITY */
};
+5 -4
View File
@@ -3,9 +3,9 @@ FILENAME... devPM500.c
USAGE... Motor record device level support for the Newport PM500 motor
controller.
Version: $Revision: 1.2 $
Version: $Revision: 1.3 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2000-11-08 20:41:33 $
Last Modified: $Date: 2001-04-21 18:29:31 $
*/
/*
@@ -37,7 +37,7 @@ Last Modified: $Date: 2000-11-08 20:41:33 $
* -----------------
* .00 10-25-98 mlr initialized from devPM500
* .01 06-02-00 rls integrated into standard motor record
* ...
* .05 04-21-01 rls Added jog velocity motor command.
*/
@@ -119,7 +119,8 @@ static int PM500_table[] = {
IMMEDIATE, /* DISABL_TORQUE */
IMMEDIATE, /* PRIMITIVE */
IMMEDIATE, /* SET_HIGH_LIMIT */
IMMEDIATE /* SET_LOW_LIMIT */
IMMEDIATE, /* SET_LOW_LIMIT */
VELOCITY /* JOG_VELOCITY */
};