forked from epics_driver_modules/motorBase
Added motor-start PVs, and a PV by which user can choose whether or not software should add accel/decel trajectory segments. Added evflag to moveMode, so we can forbid hybrid mode, which is not supported (yet?) for Ensemble or MAXv.
This commit is contained in:
@@ -157,6 +157,22 @@ assign motorMaxSpeed to
|
||||
"{P}{R}M7MaxSpeed.VAL",
|
||||
"{P}{R}M8MaxSpeed.VAL"};
|
||||
|
||||
double motorStart[MAX_AXES];
|
||||
assign motorStart to
|
||||
{"{P}{R}M1Start.VAL",
|
||||
"{P}{R}M2Start.VAL",
|
||||
"{P}{R}M3Start.VAL",
|
||||
"{P}{R}M4Start.VAL",
|
||||
"{P}{R}M5Start.VAL",
|
||||
"{P}{R}M6Start.VAL",
|
||||
"{P}{R}M7Start.VAL",
|
||||
"{P}{R}M8Start.VAL"};
|
||||
|
||||
int addAccelDecel; assign addAccelDecel to "{P}{R}AddAccelDecel.VAL";
|
||||
monitor addAccelDecel;
|
||||
evflag moveModeMon; sync moveMode moveModeMon;
|
||||
int moveModePrev;
|
||||
|
||||
/*** END: Specific to MAX_trajectoryScan.st ***/
|
||||
|
||||
int moveAxis[MAX_AXES];
|
||||
@@ -337,3 +353,5 @@ evflag readbackMon; sync readback readbackMon;
|
||||
evflag nelementsMon; sync nelements nelementsMon;
|
||||
evflag motorMDVSMon; sync motorMDVS motorMDVSMon;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user