ASL changes.

This commit is contained in:
Ron Sluiter
2008-03-07 18:47:22 +00:00
parent 7a706d944e
commit a7b6e2b75a
2 changed files with 39 additions and 8 deletions
+21
View File
@@ -165,6 +165,27 @@ Modification Log from R6-3 to R6-4
File modified: - MotorSrc/OmsSrc/drvMAXv.cc; set "update_delay" member
of "targs" to zero.
5) Major changes have been made to the Access Security Level (ASL) attribute
of the motor record fields. With previous releases, the following
fields were set to ASL=0; FOF, VOF, SSET, SUSE, VBAS, VMAX, SBAS, SMAX,
UREV and MRES. All other fields were set to ASL=1 by default.
With this release, the policy is to set all the fields that the user
requires to do the following to ASL = 0;
- move a motor; (VAL, DVAL, RVAL, TWF, TWR, TWV, RLV, JOGF, JOGR)
- stop a motor; (STOP, SPMG)
- enable/disable motor torque; (CNEN)
- set the position of a motor; (SSET, SUSE, SET)
- set the "user" offset of a motor; (FOF, VOF, FOFF,OFF)
- update the status of a motor; (STUP)
All other fields are set to ASL = 1.
This means that out of the list of fields that were previously set to
ASL=0; VBAS, VMAX, SBAS, SMAX, UREV and MRES are now set to ASL=1.
File modified: - MotorSrc/motorRecord.dbd
Modification Log from R6-2 to R6-3
==================================
+18 -8
View File
@@ -1,8 +1,8 @@
# FILENAME... motorRecord.dbd
# Version: $Revision: 1.16 $
# Version: $Revision: 1.17 $
# Modified By: $Author: sluiter $
# Last Modified: $Date: 2008-02-28 17:31:07 $
# Last Modified: $Date: 2008-03-07 18:46:48 $
# Experimental Physics and Industrial Control System (EPICS)
@@ -76,11 +76,13 @@ recordtype(motor) {
initial("1")
}
field(OFF,DBF_DOUBLE) {
asl(ASL0)
prompt("User Offset (EGU)")
special(SPC_MOD)
pp(TRUE)
}
field(FOFF,DBF_MENU) {
asl(ASL0)
prompt("Offset-Freeze Switch")
promptgroup(GUI_COMMON)
special(SPC_MOD)
@@ -108,6 +110,7 @@ recordtype(motor) {
menu(motorDIR)
}
field(SET,DBF_MENU) {
asl(ASL0)
prompt("Set/Use Switch")
interest(1)
menu(motorSET)
@@ -133,14 +136,12 @@ recordtype(motor) {
field(VBAS,DBF_DOUBLE) {
prompt("Base Velocity (EGU/s)")
promptgroup(GUI_COMMON)
asl(ASL0)
special(SPC_MOD)
interest(1)
}
field(VMAX,DBF_DOUBLE) {
prompt("Max. Velocity (EGU/s)")
promptgroup(GUI_COMMON)
asl(ASL0)
special(SPC_MOD)
interest(1)
}
@@ -153,14 +154,12 @@ recordtype(motor) {
field(SBAS,DBF_DOUBLE) {
prompt("Base Speed (RPS)")
promptgroup(GUI_COMMON)
asl(ASL0)
special(SPC_MOD)
interest(1)
}
field(SMAX,DBF_DOUBLE) {
prompt("Max. Speed (RPS)")
promptgroup(GUI_COMMON)
asl(ASL0)
special(SPC_MOD)
interest(1)
}
@@ -249,7 +248,6 @@ recordtype(motor) {
field(UREV,DBF_DOUBLE) {
prompt("EGU's per Revolution")
promptgroup(GUI_COMMON)
asl(ASL0)
special(SPC_MOD)
pp(TRUE)
interest(1)
@@ -257,7 +255,6 @@ recordtype(motor) {
field(MRES,DBF_DOUBLE) {
prompt("Motor Step Size (EGU)")
promptgroup(GUI_COMMON)
asl(ASL0)
special(SPC_MOD)
pp(TRUE)
interest(1)
@@ -435,6 +432,7 @@ recordtype(motor) {
interest(2)
}
field(SPMG,DBF_MENU) {
asl(ASL0)
prompt("Stop/Pause/Move/Go")
pp(TRUE)
interest(1)
@@ -449,6 +447,7 @@ recordtype(motor) {
initial("3")
}
field(STOP,DBF_SHORT) {
asl(ASL0)
prompt("Stop")
pp(TRUE)
interest(1)
@@ -466,33 +465,39 @@ recordtype(motor) {
interest(1)
}
field(JOGF,DBF_SHORT) {
asl(ASL0)
prompt("Jog motor Forward")
special(SPC_MOD)
pp(TRUE)
interest(1)
}
field(JOGR,DBF_SHORT) {
asl(ASL0)
prompt("Jog motor Reverse")
special(SPC_MOD)
pp(TRUE)
interest(1)
}
field(TWF,DBF_SHORT) {
asl(ASL0)
prompt("Tweak motor Forward")
pp(TRUE)
interest(1)
}
field(TWR,DBF_SHORT) {
asl(ASL0)
prompt("Tweak motor Reverse")
pp(TRUE)
interest(1)
}
field(TWV,DBF_DOUBLE) {
asl(ASL0)
prompt("Tweak Step Size (EGU)")
promptgroup(GUI_COMMON)
interest(1)
}
field(VAL,DBF_DOUBLE) {
asl(ASL0)
prompt("User Desired Value (EGU")
special(SPC_MOD)
pp(TRUE)
@@ -503,6 +508,7 @@ recordtype(motor) {
interest(1)
}
field(DVAL,DBF_DOUBLE) {
asl(ASL0)
prompt("Dial Desired Value (EGU")
special(SPC_MOD)
pp(TRUE)
@@ -513,6 +519,7 @@ recordtype(motor) {
interest(1)
}
field(RVAL,DBF_LONG) {
asl(ASL0)
prompt("Raw Desired Value (step")
special(SPC_MOD)
pp(TRUE)
@@ -523,6 +530,7 @@ recordtype(motor) {
interest(1)
}
field(RLV,DBF_DOUBLE) {
asl(ASL0)
prompt("Relative Value (EGU)")
special(SPC_MOD)
pp(TRUE)
@@ -654,6 +662,7 @@ recordtype(motor) {
initial("0")
}
field(CNEN,DBF_MENU) {
asl(ASL0)
prompt("Enable control")
promptgroup(GUI_COMMON)
special(SPC_MOD)
@@ -735,6 +744,7 @@ recordtype(motor) {
interest(1)
}
field(STUP,DBF_MENU) {
asl(ASL0)
prompt("Status Update")
promptgroup(GUI_COMMON)
menu(motorSTUP)