Package xal.smf.impl
Class WireScanner.DevStatus
java.lang.Object
xal.smf.scada.ScadaRecord
xal.smf.impl.profile.ParameterSet
xal.smf.impl.WireScanner.DevStatus
- All Implemented Interfaces:
Cloneable,DataListener
- Enclosing class:
- WireScanner
Contains device status parameters.
- Since:
- Jan 21, 2010
- Author:
- Christopher K. Allen
-
Nested Class Summary
Nested classes/interfaces inherited from class xal.smf.scada.ScadaRecord
ScadaRecord.IFieldDescriptor -
Field Summary
FieldsModifier and TypeFieldDescriptionintAlarm flag for wire signal; it indicates a saturation condition.intTiming error flag.intDiagonal wire damage
status: 0=OK, 1=DamageintHorizontal wire damage
status: 0=OK, 1=MPS tripintVertical wire damage
status: 0=OK, 1=MPS tripintActuator collision error.intMPS 0 trip
status: 0=OK, 1=MPS tripintMPS 1 trip
status: 0=OK, 1=MPS tripintGeneral power supply error
status: 0=OK, 1=Error conditionintGeneral error during scan
status: 0=OK, 1=Error conditionintScan out of range errorstatic final ScadaFieldMapMap of field names to field SCADA descriptors for this structureintThe current scan sequence identifier.intforward limit switch activatedintreverse limit switch activateddoubleMaximum actuator excursion during a scanintMovement state of the wire.doubleThe maximum stroke length of the actuatordoubleCurrent position of the wiredoubleCurrent speed of the wire -
Constructor Summary
ConstructorsConstructorDescriptionCreate a newDevStatusobject.Create a newDevStatusobject. -
Method Summary
Modifier and TypeMethodDescriptionstatic WireScanner.DevStatusacquire(ProfileDevice ws) Convenience method for retrieving a new initialized data structure populated from the given device state.Methods inherited from class xal.smf.impl.profile.ParameterSet
dataLabelMethods inherited from class xal.smf.scada.ScadaRecord
clone, getFieldDescriptor, getFieldDescriptorMap, getFieldDescriptors, loadHardwareValues, setFieldFromPV, setHardwareValues, setPvFromField, toString, update, write
-
Field Details
-
FLD_MAP
Map of field names to field SCADA descriptors for this structure -
almSgnl
Alarm flag for wire signal; it indicates a saturation condition.
status: 0=OK, 1=Saturated -
limFwd
forward limit switch activated -
limRev
reverse limit switch activated -
errScanRng
Scan out of range error -
dmgHor
Horizontal wire damage
status: 0=OK, 1=MPS trip -
dmgVer
Vertical wire damage
status: 0=OK, 1=MPS trip -
dmgDia
Diagonal wire damage
status: 0=OK, 1=Damage -
almTmg
Timing error flag. General error in the device controller timing hardware. -
errMps0
MPS 0 trip
status: 0=OK, 1=MPS trip -
errMps1
MPS 1 trip
status: 0=OK, 1=MPS trip -
errPs
General power supply error
status: 0=OK, 1=Error condition -
errScan
General error during scan
status: 0=OK, 1=Error condition -
errCollsn
Actuator collision error. Motion was disabled to prevent collision with another device.
status: 0=OK, 1=collision detected -
idScan
The current scan sequence identifier. The value is incremented on the completion of each scan -
mvtStatus
Movement state of the wire.
Values: 0=stationary, 1=moving, 2=failure -
mvtMax
Maximum actuator excursion during a scan -
wirePos
Current position of the wire -
wireVel
Current speed of the wire -
wireMax
The maximum stroke length of the actuator
-
-
Constructor Details
-
DevStatus
public DevStatus()Create a newDevStatusobject.- Since:
- Jan 21, 2010
-
DevStatus
Create a newDevStatusobject.- Parameters:
ws- wire scanner device- Throws:
ConnectionException- unable to connect parameter read back channelGetException- general field initialization exception- Since:
- Jan 21, 2010
-
-
Method Details
-
acquire
public static WireScanner.DevStatus acquire(ProfileDevice ws) throws ConnectionException, GetException Convenience method for retrieving a new initialized data structure populated from the given device state.- Parameters:
ws- data acquisition device- Returns:
- current set of device status parameters
- Throws:
ConnectionException- unable to connect parameter read back channelGetException- general field initialization exception- Since:
- Dec 16, 2009
-