- CalibDone - Class in org.lsst.ccs.subsystem.shutter.plc
-
Contains a CalibDone message sent from the PLC.
- CalibDone(int, double[], double[], DoubleSupplier) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.CalibDone
-
Creates the message from scratch.
- CalibDone(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.CalibDone
-
Reads and converts the PLC form of the message.
- calibDone(Channel<EventReply>, CalibDone) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- calibDone(Channel<EventReply>, CalibDone) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Indicates that a Hall calibration operation has been successful.
- calibrate() - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- Calibrate - Class in org.lsst.ccs.subsystem.shutter.plc
-
Signals the PLC to start a calibration.
- Calibrate() - Constructor for class org.lsst.ccs.subsystem.shutter.plc.Calibrate
-
Constructs from scratch.
- Calibrate(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.Calibrate
-
Reads and converts the PLC form of the message from a byte buffer.
- calibrate(Channel<EventReply>, Calibrate) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- calibrate(Channel<EventReply>, Calibrate) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Requests a Hall calibration.
- cancelSyncTimer() - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- cancelSyncTimer() - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- cancelSyncTimer() - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Cancels the sync timer if it's still running.
- changeAxisEnable(ChangeAxisEnable) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- changeAxisEnable(Channel<EventReply>, ChangeAxisEnable) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- changeAxisEnable(Channel<EventReply>, ChangeAxisEnable) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Requests that the enable state of the given axis be changed.
- ChangeAxisEnablePLC - Class in org.lsst.ccs.subsystem.shutter.plc
-
Signals the PLC to change the enable state of an axis.
- ChangeAxisEnablePLC(ChangeAxisEnable) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.ChangeAxisEnablePLC
-
Constructs using an instance of the motorplatform message.
- ChangeAxisEnablePLC(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.ChangeAxisEnablePLC
-
Reads and converts the PLC form of the message.
- changeBrakeState(String, boolean) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- ChangeBrakeState - Class in org.lsst.ccs.subsystem.shutter.plc
-
Signals the PLC to engage or release a brake.
- ChangeBrakeState(Axis, ChangeBrakeState.State) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.ChangeBrakeState
-
Constructs from the field values.
- ChangeBrakeState(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.ChangeBrakeState
-
Reads and converts the PLC form of the message.
- changeBrakeState(Channel<EventReply>, Axis, ChangeBrakeState.State) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- changeBrakeState(Channel<EventReply>, Axis, ChangeBrakeState.State) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Requests that the brake state on a given axis be changed.
- ChangeBrakeState.State - Enum in org.lsst.ccs.subsystem.shutter.plc
-
Possible brake states.
- Channel<T> - Interface in org.lsst.ccs.subsystem.shutter.statemachine
-
A message-sending interface between two tasks.
- checkHallTransitions(MotionDonePLC) - Method in class org.lsst.ccs.subsystem.shutter.Controller
-
- checkMessageCount() - Method in class org.lsst.ccs.subsystem.shutter.Watchdog
-
If this is in the enabled state, raise an alert if no messages have yet been received and then reset
the count of messages received.
- clearAllFaults(ClearAllFaults) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- clearAllFaults(Channel<EventReply>, ClearAllFaults) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- clearAllFaults(Channel<EventReply>, ClearAllFaults) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Requests that fault conditions be cleared for both axes.
- ClearAllFaultsPLC - Class in org.lsst.ccs.subsystem.shutter.plc
-
Signals the PLC to clear all axis faults.
- ClearAllFaultsPLC(ClearAllFaults) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.ClearAllFaultsPLC
-
Constructs using an instance of the motorplatform message.
- ClearAllFaultsPLC(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.ClearAllFaultsPLC
-
Reads and converts the PLC form of the message.
- clearAxisFaults(ClearAxisFaults) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- clearAxisFaults(Channel<EventReply>, ClearAxisFaults) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- clearAxisFaults(Channel<EventReply>, ClearAxisFaults) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Requests that fault conditions be cleared for the given axis.
- ClearAxisFaultsPLC - Class in org.lsst.ccs.subsystem.shutter.plc
-
Signals the PLC to clear faults on one of the axes.
- ClearAxisFaultsPLC(ClearAxisFaults) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.ClearAxisFaultsPLC
-
Constructs using an instance of the motorplatform ClearAxisFaults message.
- ClearAxisFaultsPLC(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.ClearAxisFaultsPLC
-
Reads and converts the PLC form of the message.
- clearFaults() - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- close() - Method in class org.lsst.ccs.subsystems.shutter.ptp.PTPInfoReader
-
- closeShutter() - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- CloseShutter - Class in org.lsst.ccs.subsystem.shutter.plc
-
Signals the PLC to start closing the shutter.
- CloseShutter() - Constructor for class org.lsst.ccs.subsystem.shutter.plc.CloseShutter
-
Constructs from scratch.
- CloseShutter(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.CloseShutter
-
Reads and converts the PLC form of the message.
- closeShutter(Channel<EventReply>) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- closeShutter(Channel<EventReply>) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Requests that a closing of the shutter be started.
- Commands - Class in org.lsst.ccs.subsystem.shutter
-
Commands subsystem component, accepts commands.
- Commands() - Constructor for class org.lsst.ccs.subsystem.shutter.Commands
-
- contactLost(Channel<EventReply>) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- contactLost(Channel<EventReply>) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Indicates that the subsystem can't communicate properly with the shutter PLC.
- Controller - Class in org.lsst.ccs.subsystem.shutter
-
The subsystem component responsible for all communication with the Beckhoff PLC controller running the
shutter, which includes caching the last status message(s) received from the PLC.
- Controller() - Constructor for class org.lsst.ccs.subsystem.shutter.Controller
-
- countMessage() - Method in class org.lsst.ccs.subsystem.shutter.Watchdog
-
If this is in the enabled state, increment the count of messages received.
- enable(String) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- Enable - Class in org.lsst.ccs.subsystem.shutter.plc
-
Holds an Enable message sent from the PLC.
- Enable(int) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.Enable
-
Constructs from scratch.
- Enable(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.Enable
-
Reads and converts the PLC form of the message.
- enable(Channel<EventReply>) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- enable(Channel<EventReply>) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Indicates that the shutter hardware protection is is allowing shutter operation.
- enable() - Method in class org.lsst.ccs.subsystem.shutter.Watchdog
-
If this is in the disabled state, switch to the enabled state.
- enableAllAxes(EnableAllAxes) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- enableAllAxes(Channel<EventReply>, EnableAllAxes) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- enableAllAxes(Channel<EventReply>, EnableAllAxes) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Requests that both axes be enabled.
- EnableAllAxesPLC - Class in org.lsst.ccs.subsystem.shutter.plc
-
Signals the PLC to enable all axes.
- EnableAllAxesPLC(EnableAllAxes) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.EnableAllAxesPLC
-
Constructs using an instance of the motorplatform message.
- EnableAllAxesPLC(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.EnableAllAxesPLC
-
Reads and converts the PLC form of the message.
- enableWatchdog() - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- enableWatchdog() - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- enableWatchdog() - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Enables the watchdog that raises an alert if we don't get any PLC messages for a long time.
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.CalibDone
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.Calibrate
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.ChangeAxisEnablePLC
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.ChangeBrakeState
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.ClearAllFaultsPLC
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.ClearAxisFaultsPLC
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.CloseShutter
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.Disable
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.DisableAllAxesPLC
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.Enable
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.EnableAllAxesPLC
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.Error
-
Puts the message into a data buffer.
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.GoToProd
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.HomeAxisPLC
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.Ignored
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.MotionDonePLC
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.MoveAxisAbsolutePLC
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.MoveAxisRelativePLC
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.MsgToCCS
-
Puts the sequence number into a data buffer.
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.MsgToPLC
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.OpenShutter
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.PLCMsg
-
Converts the message fields to PLC form and appends them to a byte buffer.
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.Reset
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.ShutterStatusPLC
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.TakeExposure
-
- encode(ByteBuffer) - Method in class org.lsst.ccs.subsystem.shutter.plc.Timer
-
- Error - Class in org.lsst.ccs.subsystem.shutter.plc
-
Holds an Error message sent from the PLC.
- Error(int, Set<PLCError>) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.Error
-
Constructs from scratch.
- Error(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.Error
-
Reads and converts the PLC form of the message.
- error(Channel<EventReply>, Error) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- error(Channel<EventReply>, Error) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Indicates that the shutter tried and failed to carry out a requested operation.
- EventReply - Interface in org.lsst.ccs.subsystem.shutter.statemachine
-
Response to an event, returned by event methods in states and contexts.
- Events - Interface in org.lsst.ccs.subsystem.shutter.statemachine
-
The set of all events that are recognized by the state machine used by the CCS subsystem
to control the camera shutter.
- getActions() - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
Gets the set of actions used by the internal state internalMachine.
- getAxis() - Method in class org.lsst.ccs.subsystem.shutter.plc.ChangeBrakeState
-
- getAxisName() - Method in class org.lsst.ccs.subsystem.shutter.plc.HomeAxisPLC
-
- getAxisStatus(Axis) - Method in class org.lsst.ccs.subsystem.shutter.plc.ShutterStatusPLC
-
Forwarded to the internal ShutterStatus instance.
- getBoolean(ByteBuffer) - Static method in class org.lsst.ccs.subsystem.shutter.plc.Tools
-
Gets a PLC BOOL value from a byte buffer and converts it to a boolean value.
- getDeployedPosition(Axis) - Method in class org.lsst.ccs.subsystem.shutter.plc.CalibDone
-
Returns the deployed position for an axis.
- getErrors() - Method in class org.lsst.ccs.subsystem.shutter.plc.Error
-
Gets the set of errors that this message is reporting.
- getHallTransitions(Axis, Direction) - Method in class org.lsst.ccs.subsystem.shutter.plc.CalibDone
-
Returns the set of Hall transition positions for a given axis and direction of travel.
- getHomePosition(Axis) - Method in class org.lsst.ccs.subsystem.shutter.plc.CalibDone
-
Returns the home position for an axis.
- getInfo() - Method in class org.lsst.ccs.subsystems.shutter.ptp.PTPInfoReader
-
- getKey() - Method in enum org.lsst.ccs.subsystem.shutter.plc.BladeSetPosition
-
Gets the associated map key.
- getMaxStrokeSpeed() - Method in class org.lsst.ccs.subsystem.shutter.plc.Reset
-
- getMessage() - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.EventReply
-
Gets a short string describing the acceptance or rejection.
- getMessage() - Method in class org.lsst.ccs.subsystem.shutter.statemachine.FutureReply
-
- getMotionProfile() - Method in class org.lsst.ccs.subsystem.shutter.plc.ShutterStatusPLC
-
Forwarded to the internal ShutterStatus instance.
- getReason() - Method in class org.lsst.ccs.subsystem.shutter.plc.Ignored
-
Gets the reason why the PLC ignored one of out messages.
- getSmState() - Method in class org.lsst.ccs.subsystem.shutter.plc.ShutterStatusPLC
-
Forwarded to the internal ShutterStatus instance.
- getState() - Method in class org.lsst.ccs.subsystem.shutter.plc.ChangeBrakeState
-
- getStatusBusMessage() - Method in class org.lsst.ccs.subsystem.shutter.plc.MotionDonePLC
-
Returns the internal MotionDone instance.
- getStatusBusMessage() - Method in class org.lsst.ccs.subsystem.shutter.plc.MoveAxisAbsolutePLC
-
- getStatusBusMessage() - Method in class org.lsst.ccs.subsystem.shutter.plc.ShutterStatusPLC
-
Gets the object that can be transmitted on the CCS status bus.
- getVersion() - Method in class org.lsst.ccs.subsystem.shutter.plc.PLCMsg
-
Gets the message-set version number embedded in this message.
- gotoCenter() - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- gotoCenter(Channel<EventReply>) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Requests that the shutter prepare for power-down by placing both blade sets in the center
position.
- gotoCenter(Channel<EventReply>) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- GoToProd - Class in org.lsst.ccs.subsystem.shutter.plc
-
Signals the PLC enter the Prod state.
- GoToProd() - Constructor for class org.lsst.ccs.subsystem.shutter.plc.GoToProd
-
Constructs from scratch.
- GoToProd(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.GoToProd
-
Reads and converts the PLC form of the message.
- gotoProd(Channel<EventReply>) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Requests that the shutter, if it's ready to do so, accept subsequent requests to take exposures.
- gotoProd(Channel<EventReply>) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- main(String[]) - Static method in class org.lsst.ccs.subsystem.shutter.plc.Tools
-
- main(String[]) - Static method in class org.lsst.ccs.subsystems.shutter.ptp.PTPInfoReader
-
- makeFullContact() - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- makeFullContact() - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- makeFullContact() - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Widens the link to the shutter controller, allowing the full exchange
of all message types.
- makePartialContact() - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- makePartialContact() - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- makePartialContact() - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Makes a link to the shutter controller, just enough to sent rest messages
and receive shutter status messages.
- MESSAGE_SET_VERSION - Static variable in class org.lsst.ccs.subsystem.shutter.plc.PLCMsg
-
The version number for the set of messages exchanged by CCS and PLC.
- messageVersionIsBad(ByteBuffer) - Static method in class org.lsst.ccs.subsystem.shutter.plc.PLCMsg
-
Checks whether the message just received (or encoded) has the correct message-set version
number.
- MOTION - Static variable in class org.lsst.ccs.subsystem.shutter.Alerts
-
Raised if the Hall data from the last motion indicate a significant deviation
from the predicted motion.
- motionDone(Channel<EventReply>, MotionDonePLC) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Indicates that a blade set has successfully completed a motion.
- motionDone(Channel<EventReply>, MotionDonePLC) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- MotionDonePLC - Class in org.lsst.ccs.subsystem.shutter.plc
-
Contains a motion-done message sent from the PLC.
- MotionDonePLC(int, MotionDone) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.MotionDonePLC
-
Constructs from scratch.
- MotionDonePLC(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.MotionDonePLC
-
Reads and converts the PLC form of the message.
- moveAxisAbsolute(MoveAxisAbsolute) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- moveAxisAbsolute(Channel<EventReply>, MoveAxisAbsolute) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Requests that the given axis be moved to a given absolute position.
- moveAxisAbsolute(Channel<EventReply>, MoveAxisAbsolute) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- MoveAxisAbsolutePLC - Class in org.lsst.ccs.subsystem.shutter.plc
-
Signals the PLC to move one axis to a given coordinate.
- MoveAxisAbsolutePLC(MoveAxisAbsolute) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.MoveAxisAbsolutePLC
-
Constructs using an instance of the motorplatform message.
- MoveAxisAbsolutePLC(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.MoveAxisAbsolutePLC
-
Reads and converts the PLC form of the message.
- moveAxisRelative(MoveAxisRelative) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- moveAxisRelative(Channel<EventReply>, MoveAxisRelative) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Requests that an axis change its position by a certain offset.
- moveAxisRelative(Channel<EventReply>, MoveAxisRelative) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- MoveAxisRelativePLC - Class in org.lsst.ccs.subsystem.shutter.plc
-
Signals the PLC to move one axis to a given distance from its current coordinate
at the time the command is actually executed.
- MoveAxisRelativePLC(MoveAxisRelative) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.MoveAxisRelativePLC
-
Constructs using an instance of the motorplatform message.
- MoveAxisRelativePLC(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.MoveAxisRelativePLC
-
Reads and converts the PLC form of the message.
- moveBy(String, double, double) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- moveTo(String, double, double) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- MsgToCCS - Class in org.lsst.ccs.subsystem.shutter.plc
-
The base class for all messages sent from the PLC task to CCS.
- MsgToCCS(int) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.MsgToCCS
-
Saves the sequence number.
- MsgToCCS(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.MsgToCCS
-
Gets the sequence number from a byte buffer.
- MsgToPLC - Class in org.lsst.ccs.subsystem.shutter.plc
-
The base class for all messages to be sent to the PLC.
- MsgToPLC() - Constructor for class org.lsst.ccs.subsystem.shutter.plc.MsgToPLC
-
Sets the version and message identification fields of a message to be sent to the PLC.
- MsgToPLC(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.MsgToPLC
-
Reads and converts the version and message identification fields of a PLC message.
- PLC - Static variable in class org.lsst.ccs.subsystem.shutter.Alerts
-
Raised if the shutter controller sends an explicit error message to the subsystem.
- PLCEventSubmitter - Interface in org.lsst.ccs.subsystem.shutter
-
- plcIsDisabled(Channel<EventReply>) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Indicates that shutter controller has sent a status message in which the reported state
is Enabled.
- plcIsDisabled(Channel<EventReply>) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- plcIsEnabled(Channel<EventReply>) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Indicates that the shutter controller has sent a status message in which reported
state is Disabled.
- plcIsEnabled(Channel<EventReply>) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- PLCMsg - Class in org.lsst.ccs.subsystem.shutter.plc
-
The base class for all messages sent CCS and PLC in either direction.
- PLCMsg() - Constructor for class org.lsst.ccs.subsystem.shutter.plc.PLCMsg
-
Sets the version number to MESSAGE_SET_VERSION.
- PLCMsg(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.PLCMsg
-
Reads and converts the version field of a PLC message.
- postInit() - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
Sets the Agent property marking this as a motorplatform subsystem.
- postShutdown() - Method in class org.lsst.ccs.subsystem.shutter.Controller
-
- postStart() - Method in class org.lsst.ccs.subsystem.shutter.Publisher
-
Takes configuration changes into account and starts the publication task.
- postStart() - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
Starts the shutter-control state internalMachine along with a task for feeding it events from the queue.
- PTPInfoReader - Class in org.lsst.ccs.subsystems.shutter.ptp
-
Sets up ADS notification for changes to the variable MAIN.tinfo in the PLC program
running on the Beckhoff CX controller.
- PTPInfoReader.TimeInfo - Class in org.lsst.ccs.subsystems.shutter.ptp
-
- publish(Serializable) - Method in class org.lsst.ccs.subsystem.shutter.Publisher
-
Immediately publishes any non-null serializable object as a KeyValueData instance,
- publishEnableStatus(boolean) - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- publishEnableStatus(boolean) - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- publishEnableStatus(boolean) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Record when we enter or leave the Enabled state.
- Publisher - Class in org.lsst.ccs.subsystem.shutter
-
The publisher of all messages going out on the CCS status bus.
- Publisher() - Constructor for class org.lsst.ccs.subsystem.shutter.Publisher
-
- publishMotionDone(MotionDone) - Method in class org.lsst.ccs.subsystem.shutter.Publisher
-
Publish a MotionDone message.
- put(EventReply) - Method in class org.lsst.ccs.subsystem.shutter.statemachine.FutureReply
-
Posts a reply using a PromptReply as the source of the message text.
- putBoolean(ByteBuffer, boolean) - Static method in class org.lsst.ccs.subsystem.shutter.plc.Tools
-
Appends to a byte buffer the PLC BOOL value equivalent to a Java boolean.
- saveCalib(CalibDone) - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- saveCalib(CalibDone) - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- saveCalib(CalibDone) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Saves the calibration data to a filesystem on the CCS network.
- sendAxisStatus(SendAxisStatus) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- sendConfiguration(SendConfiguration) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- sendControllerStatus(SendControllerStatus) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- sendProfile(MotionDonePLC) - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- sendProfile(MotionDonePLC) - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- sendProfile(MotionDonePLC) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Sends the motion profile out on the CCS status bus.
- setPhysicalState(PhysicalState) - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- setPhysicalState(PhysicalState) - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- setPhysicalState(PhysicalState) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Sets the physical shutter custom state that appears in the subsystem's state bundle.
- setSoftwareState(SoftwareState) - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- setSoftwareState(SoftwareState) - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- setSoftwareState(SoftwareState) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Sets the CCS software custom state that appears in the subsystem's state bundle.
- shutdown() - Method in class org.lsst.ccs.subsystem.shutter.Controller
-
- shutdown() - Method in class org.lsst.ccs.subsystem.shutter.Publisher
-
Shuts down the publication task and its scheduler.
- shutdown() - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- shutdown() - Method in class org.lsst.ccs.subsystem.shutter.Watchdog
-
- shutterIsReady() - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- shutterIsReady() - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- shutterIsReady() - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Determines if the shutter is ready for production data-taking.
- ShutterStatusPLC - Class in org.lsst.ccs.subsystem.shutter.plc
-
Holds a ShutterStatusPLC message sent from the PLC.
- ShutterStatusPLC(int, ShutterStatus) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.ShutterStatusPLC
-
Constructs from a sequence number and a ShutterStatus value.
- ShutterStatusPLC(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.ShutterStatusPLC
-
Reads and converts the PLC form of the message.
- SimulatedActions - Class in org.lsst.ccs.subsystem.shutter
-
An implementation of Actions in which no hardware operations are performed.
- SimulatedActions(Controller, StateMachine, Subsystem, Publisher, Watchdog) - Constructor for class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
Saves references to the components that actually implement the actions.
- SimulatedShutter - Class in org.lsst.ccs.subsystem.shutter
-
Uses a thread to simulate an external shutter controller.
- start() - Method in class org.lsst.ccs.subsystem.shutter.Watchdog
-
- startFirstCentering() - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- startFirstCentering() - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- startFirstCentering() - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Sends an event to the PLC that will start it moving one of the blade sets to its center position.
- startSecondCentering() - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- startSecondCentering() - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- startSecondCentering() - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Sends an event to the PLC that will start it moving the second blade set to be centered, which is the
one that wasn't moved by startFirstCentering().
- startSyncTimer() - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- startSyncTimer() - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- startSyncTimer() - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Starts a timer which will generate a syncYimeout() when it expires.
- StateMachine - Class in org.lsst.ccs.subsystem.shutter
-
Component that owns and operates the internal shutter-control state internalMachine.
- StateMachine() - Constructor for class org.lsst.ccs.subsystem.shutter.StateMachine
-
Creates the state internalMachine implementation and the priority queue.
- status(String) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- stopAll() - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- stopAllMotion(StopAllMotion) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- submit(Channel<EventReply>, MsgToCCS) - Method in interface org.lsst.ccs.subsystem.shutter.PLCEventSubmitter
-
- subsystemUUID - Static variable in class org.lsst.ccs.subsystem.shutter.plc.MsgToPLC
-
The UUID to use in messages sent to the PLC.
- SYNC - Static variable in class org.lsst.ccs.subsystem.shutter.Alerts
-
Raised if the PLC state machine and the subsystem state machine appear to
have gotten out of sync.
- SynchronousChannel<T> - Class in org.lsst.ccs.subsystem.shutter.statemachine
-
A message channel that is fully synchronous and fair.
- SynchronousChannel() - Constructor for class org.lsst.ccs.subsystem.shutter.statemachine.SynchronousChannel
-
- syncTimeout(Channel<EventReply>) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Indicates that after a reset the PLC has taken too long to reach one of
the designated after-reset states.
- syncTimeout(Channel<EventReply>) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- takeExposure(double) - Method in class org.lsst.ccs.subsystem.shutter.Commands
-
- TakeExposure - Class in org.lsst.ccs.subsystem.shutter.plc
-
Signals the PLC to take an exposure.
- TakeExposure(Duration) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.TakeExposure
-
Constructs from scratch.
- TakeExposure(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.TakeExposure
-
Reads and converts the PLC form of the message.
- takeExposure(Channel<EventReply>, Duration) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Requests that an exposure of the given duration be started.
- takeExposure(Channel<EventReply>, Duration) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- terminateContact() - Method in class org.lsst.ccs.subsystem.shutter.RealActions
-
- terminateContact() - Method in class org.lsst.ccs.subsystem.shutter.SimulatedActions
-
- terminateContact() - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Actions
-
Close any connection we may have to the shutter controller and stop decoding any messages
we have already received.
- TimeInfo(LongBuffer) - Constructor for class org.lsst.ccs.subsystems.shutter.ptp.PTPInfoReader.TimeInfo
-
- Timer - Class in org.lsst.ccs.subsystem.shutter.plc
-
Holds a Timer message sent from the PLC.
- Timer(int) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.Timer
-
Constructs from scratch.
- Timer(ByteBuffer) - Constructor for class org.lsst.ccs.subsystem.shutter.plc.Timer
-
Reads and converts the PLC form of the message.
- timer(Channel<EventReply>) - Method in interface org.lsst.ccs.subsystem.shutter.statemachine.Events
-
Indicates that an exposure in progress has run for its allotted time.
- timer(Channel<EventReply>) - Method in class org.lsst.ccs.subsystem.shutter.StateMachine
-
- toDcDuration(Duration) - Static method in class org.lsst.ccs.subsystem.shutter.plc.Tools
-
- toDcInstant(CCSTimeStamp) - Static method in class org.lsst.ccs.subsystem.shutter.plc.Tools
-
Converts a CCS timestamp to a DC time value (count of nanoseconds) with
millisecond resolution.
- Tools - Class in org.lsst.ccs.subsystem.shutter.plc
-
Provides some small utility functions.
- Tools() - Constructor for class org.lsst.ccs.subsystem.shutter.plc.Tools
-
- TopContext - Class in org.lsst.ccs.subsystem.shutter.statemachine
-
The top-level context for the state machine.
- TopContext(Actions) - Constructor for class org.lsst.ccs.subsystem.shutter.statemachine.TopContext
-
Saves the action implementations for this context.
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.CalibDone
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.Calibrate
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.ChangeAxisEnablePLC
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.ChangeBrakeState
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.ClearAllFaultsPLC
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.ClearAxisFaultsPLC
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.CloseShutter
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.Disable
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.DisableAllAxesPLC
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.Enable
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.EnableAllAxesPLC
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.Error
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.GoToProd
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.HomeAxisPLC
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.Ignored
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.MotionDonePLC
-
Creates a string of the form 'MotionDonePLC{MsgToCCS={...} motion=MotionDone{...}}'
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.MoveAxisAbsolutePLC
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.MoveAxisRelativePLC
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.MsgToCCS
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.MsgToPLC
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.OpenShutter
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.PLCMsg
-
Converts the message to a readable string.
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.Reset
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.ShutterStatusPLC
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.TakeExposure
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.plc.Timer
-
- toString() - Method in class org.lsst.ccs.subsystem.shutter.statemachine.FutureReply
-
Gets the string form of the response.
- toString() - Method in class org.lsst.ccs.subsystems.shutter.ptp.PTPInfoReader.TimeInfo
-