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 TypeFieldDescriptionint
Alarm flag for wire signal; it indicates a saturation condition.int
Timing error flag.int
Diagonal wire damage
status: 0=OK, 1=Damageint
Horizontal wire damage
status: 0=OK, 1=MPS tripint
Vertical wire damage
status: 0=OK, 1=MPS tripint
Actuator collision error.int
MPS 0 trip
status: 0=OK, 1=MPS tripint
MPS 1 trip
status: 0=OK, 1=MPS tripint
General power supply error
status: 0=OK, 1=Error conditionint
General error during scan
status: 0=OK, 1=Error conditionint
Scan out of range errorstatic final ScadaFieldMap
Map of field names to field SCADA descriptors for this structureint
The current scan sequence identifier.int
forward limit switch activatedint
reverse limit switch activateddouble
Maximum actuator excursion during a scanint
Movement state of the wire.double
The maximum stroke length of the actuatordouble
Current position of the wiredouble
Current speed of the wire -
Constructor Summary
ConstructorsConstructorDescriptionCreate a newDevStatus
object.Create a newDevStatus
object. -
Method Summary
Modifier and TypeMethodDescriptionstatic WireScanner.DevStatus
acquire
(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
dataLabel
Methods 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 newDevStatus
object.- Since:
- Jan 21, 2010
-
DevStatus
Create a newDevStatus
object.- 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
-