183 lines
4.0 KiB
Plaintext
183 lines
4.0 KiB
Plaintext
#*************************************************************************
|
|
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
|
# National Laboratory.
|
|
# Copyright (c) 2002 The Regents of the University of California, as
|
|
# Operator of Los Alamos National Laboratory.
|
|
# EPICS BASE is distributed subject to a Software License Agreement found
|
|
# in file LICENSE that is included with this distribution.
|
|
#*************************************************************************
|
|
recordtype(bo) {
|
|
include "dbCommon.dbd"
|
|
field(VAL,DBF_ENUM) {
|
|
prompt("Current Value")
|
|
promptgroup("50 - Output")
|
|
asl(ASL0)
|
|
pp(TRUE)
|
|
}
|
|
field(OMSL,DBF_MENU) {
|
|
prompt("Output Mode Select")
|
|
promptgroup("50 - Output")
|
|
interest(1)
|
|
menu(menuOmsl)
|
|
}
|
|
field(DOL,DBF_INLINK) {
|
|
prompt("Desired Output Loc")
|
|
promptgroup("40 - Input")
|
|
interest(1)
|
|
}
|
|
field(OUT,DBF_OUTLINK) {
|
|
prompt("Output Specification")
|
|
promptgroup("50 - Output")
|
|
interest(1)
|
|
}
|
|
field(HIGH,DBF_DOUBLE) {
|
|
prompt("Seconds to Hold High")
|
|
promptgroup("30 - Action")
|
|
interest(1)
|
|
}
|
|
field(ZNAM,DBF_STRING) {
|
|
prompt("Zero Name")
|
|
promptgroup("80 - Display")
|
|
pp(TRUE)
|
|
interest(1)
|
|
size(26)
|
|
prop(YES)
|
|
}
|
|
field(ONAM,DBF_STRING) {
|
|
prompt("One Name")
|
|
promptgroup("80 - Display")
|
|
pp(TRUE)
|
|
interest(1)
|
|
size(26)
|
|
prop(YES)
|
|
}
|
|
field(RVAL,DBF_ULONG) {
|
|
prompt("Raw Value")
|
|
pp(TRUE)
|
|
}
|
|
field(ORAW,DBF_ULONG) {
|
|
prompt("prev Raw Value")
|
|
special(SPC_NOMOD)
|
|
interest(3)
|
|
}
|
|
field(MASK,DBF_ULONG) {
|
|
prompt("Hardware Mask")
|
|
special(SPC_NOMOD)
|
|
interest(1)
|
|
}
|
|
field(RPVT,DBF_NOACCESS) {
|
|
prompt("Record Private")
|
|
special(SPC_NOMOD)
|
|
interest(4)
|
|
extra("void * rpvt")
|
|
}
|
|
field(WDPT,DBF_NOACCESS) {
|
|
prompt("Watch Dog Timer ID")
|
|
special(SPC_NOMOD)
|
|
interest(4)
|
|
extra("void * wdpt")
|
|
}
|
|
field(ZSV,DBF_MENU) {
|
|
prompt("Zero Error Severity")
|
|
promptgroup("70 - Alarm")
|
|
pp(TRUE)
|
|
interest(1)
|
|
menu(menuAlarmSevr)
|
|
}
|
|
field(OSV,DBF_MENU) {
|
|
prompt("One Error Severity")
|
|
promptgroup("70 - Alarm")
|
|
pp(TRUE)
|
|
interest(1)
|
|
menu(menuAlarmSevr)
|
|
}
|
|
field(COSV,DBF_MENU) {
|
|
prompt("Change of State Sevr")
|
|
promptgroup("70 - Alarm")
|
|
pp(TRUE)
|
|
interest(1)
|
|
menu(menuAlarmSevr)
|
|
}
|
|
field(RBV,DBF_ULONG) {
|
|
prompt("Readback Value")
|
|
special(SPC_NOMOD)
|
|
}
|
|
field(ORBV,DBF_ULONG) {
|
|
prompt("Prev Readback Value")
|
|
special(SPC_NOMOD)
|
|
interest(3)
|
|
}
|
|
field(MLST,DBF_USHORT) {
|
|
prompt("Last Value Monitored")
|
|
special(SPC_NOMOD)
|
|
interest(3)
|
|
}
|
|
field(LALM,DBF_USHORT) {
|
|
prompt("Last Value Alarmed")
|
|
special(SPC_NOMOD)
|
|
interest(3)
|
|
}
|
|
field(SIOL,DBF_OUTLINK) {
|
|
prompt("Simulation Output Link")
|
|
promptgroup("90 - Simulate")
|
|
interest(1)
|
|
}
|
|
field(SIML,DBF_INLINK) {
|
|
prompt("Simulation Mode Link")
|
|
promptgroup("90 - Simulate")
|
|
interest(1)
|
|
}
|
|
field(SIMM,DBF_MENU) {
|
|
prompt("Simulation Mode")
|
|
special(SPC_MOD)
|
|
interest(1)
|
|
menu(menuYesNo)
|
|
}
|
|
field(SIMS,DBF_MENU) {
|
|
prompt("Simulation Mode Severity")
|
|
promptgroup("90 - Simulate")
|
|
interest(2)
|
|
menu(menuAlarmSevr)
|
|
}
|
|
field(OLDSIMM,DBF_MENU) {
|
|
prompt("Prev. Simulation Mode")
|
|
special(SPC_NOMOD)
|
|
interest(4)
|
|
menu(menuSimm)
|
|
}
|
|
field(SSCN,DBF_MENU) {
|
|
prompt("Sim. Mode Scan")
|
|
promptgroup("90 - Simulate")
|
|
interest(1)
|
|
menu(menuScan)
|
|
initial("65535")
|
|
}
|
|
field(SDLY,DBF_DOUBLE) {
|
|
prompt("Sim. Mode Async Delay")
|
|
promptgroup("90 - Simulate")
|
|
interest(2)
|
|
initial("-1.0")
|
|
}
|
|
%#include "callback.h"
|
|
field(SIMPVT,DBF_NOACCESS) {
|
|
prompt("Sim. Mode Private")
|
|
special(SPC_NOMOD)
|
|
interest(4)
|
|
extra("CALLBACK *simpvt")
|
|
}
|
|
field(IVOA,DBF_MENU) {
|
|
prompt("INVALID outpt action")
|
|
promptgroup("50 - Output")
|
|
interest(2)
|
|
menu(menuIvoa)
|
|
}
|
|
field(IVOV,DBF_USHORT) {
|
|
prompt("INVALID output value")
|
|
promptgroup("50 - Output")
|
|
interest(2)
|
|
}
|
|
}
|
|
|
|
variable(boHIGHprecision, int)
|
|
variable(boHIGHlimit, double)
|