public interface Events
void| Modifier and Type | Method and Description |
|---|---|
void |
brakePowerChange(Channel<EventReply> chan,
boolean powerIsOn)
Indicates that the 24V dirty power for the brakes has been lost or regained.
|
void |
brakePowerLoss(Channel<EventReply> chan)
Indicates that we've just lost power to the brakes.
|
void |
calibDone(Channel<EventReply> chan,
CalibDone calibResults)
Indicates that a Hall calibration operation has been successful.
|
void |
calibrate(Channel<EventReply> chan,
Calibrate calibParams)
Requests a Hall calibration.
|
void |
changeAxisEnable(Channel<EventReply> chan,
org.lsst.ccs.subsystem.motorplatform.bus.ChangeAxisEnable req)
Requests that the enable state of the given axis be changed.
|
void |
changeBrakeState(Channel<EventReply> chan,
Axis ax,
ChangeBrakeState.State newState)
Requests that the brake state on a given axis be changed.
|
void |
clearAllFaults(Channel<EventReply> chan,
org.lsst.ccs.subsystem.motorplatform.bus.ClearAllFaults req)
Requests that fault conditions be cleared for both axes.
|
void |
clearAxisFaults(Channel<EventReply> chan,
org.lsst.ccs.subsystem.motorplatform.bus.ClearAxisFaults req)
Requests that fault conditions be cleared for the given axis.
|
void |
closeShutter(Channel<EventReply> chan)
Requests that a closing of the shutter be started.
|
void |
contactLost(Channel<EventReply> chan)
Indicates that the subsystem can't communicate properly with the shutter PLC.
|
void |
disable(Channel<EventReply> chan)
Indicates that the shutter hardware protection is forbidding shutter operation.
|
void |
disableAllAxes(Channel<EventReply> chan,
org.lsst.ccs.subsystem.motorplatform.bus.DisableAllAxes req)
Requests that both axes be disabled.
|
void |
enable(Channel<EventReply> chan)
Indicates that the shutter hardware protection is is allowing shutter operation.
|
void |
enableAllAxes(Channel<EventReply> chan,
org.lsst.ccs.subsystem.motorplatform.bus.EnableAllAxes req)
Requests that both axes be enabled.
|
void |
error(Channel<EventReply> chan,
Error err)
Indicates that the shutter tried and failed to carry out a requested operation.
|
void |
gotoCenter(Channel<EventReply> chan)
Requests that the shutter prepare for power-down by placing both blade sets in the center
position.
|
void |
gotoProd(Channel<EventReply> chan)
Requests that the shutter, if it's ready to do so, accept subsequent requests to take exposures.
|
void |
homeAxis(Channel<EventReply> chan,
org.lsst.ccs.subsystem.motorplatform.bus.HomeAxis req)
Requests that the shutter perform a homing operation for the given axis.
|
void |
ignored(Channel<EventReply> chan,
Ignored.Reason reason)
Indicates that the shutter PLC state machine has ignored an event sent to it.
|
void |
motionDone(Channel<EventReply> chan,
MotionDonePLC profileData)
Indicates that a blade set has successfully completed a motion.
|
void |
moveAxisAbsolute(Channel<EventReply> chan,
org.lsst.ccs.subsystem.motorplatform.bus.MoveAxisAbsolute req)
Requests that the given axis be moved to a given absolute position.
|
void |
moveAxisRelative(Channel<EventReply> chan,
org.lsst.ccs.subsystem.motorplatform.bus.MoveAxisRelative req)
Requests that an axis change its position by a certain offset.
|
void |
openShutter(Channel<EventReply> chan)
Requests that an opening of the shutter be started.
|
void |
plcIsDisabled(Channel<EventReply> chan)
Indicates that shutter controller has sent a status message in which the reported state
is Enabled.
|
void |
plcIsEnabled(Channel<EventReply> chan)
Indicates that the shutter controller has sent a status message in which reported
state is Disabled.
|
void |
reset(Channel<EventReply> chan)
Requests that the shutter controller stop any motion in progress and
reset its state machine to one of its initial states.
|
void |
resync(Channel<EventReply> chan)
Triggers another attempt to synchronize states with the PLC.
|
void |
syncTimeout(Channel<EventReply> chan)
Indicates that after a reset the PLC has taken too long to reach one of
the designated after-reset states.
|
void |
takeExposure(Channel<EventReply> chan,
Duration exposureTime)
Requests that an exposure of the given duration be started.
|
void |
timer(Channel<EventReply> chan)
Indicates that an exposure in progress has run for its allotted time.
|
void |
toggleSafetyCheck(Channel<EventReply> chan)
Reverses the current setting of the PLC safety check flag, true->false, false->true.
|
void brakePowerChange(Channel<EventReply> chan, boolean powerIsOn) throws InterruptedException
chan - The channel used to deliver the event reply.powerIsOn - True if and only if the power is known to be on. Otherwise the power
is either known to be off or not known to be on or off.InterruptedException - if inter-task communication is interrupted.void brakePowerLoss(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedExceptionvoid contactLost(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void plcIsEnabled(Channel<EventReply> chan) throws InterruptedException
enable()
and disable() event messages sent from the controller.chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void plcIsDisabled(Channel<EventReply> chan) throws InterruptedException
enable()
and disable() event messages sent from the controller.chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void resync(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void syncTimeout(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void enable(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void disable(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void motionDone(Channel<EventReply> chan, MotionDonePLC profileData) throws InterruptedException
chan - The channel used to deliver the event reply.profileData - The motion profile.InterruptedException - if inter-task communication is interrupted.void calibrate(Channel<EventReply> chan, Calibrate calibParams) throws InterruptedException
chan - The channel used to deliver the event reply.calibParams - The calibration parameters. If null the event is rejected.InterruptedException - if inter-task communication is interrupted.void toggleSafetyCheck(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void calibDone(Channel<EventReply> chan, CalibDone calibResults) throws InterruptedException
chan - The channel used to deliver the event reply.calibResults - The results of the calibration.InterruptedException - if inter-task communication is interrupted.void error(Channel<EventReply> chan, Error err) throws InterruptedException
chan - The channel used to deliver the event reply.err - The error message received from the shutter.InterruptedException - if inter-task communication is interrupted.void reset(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void takeExposure(Channel<EventReply> chan, Duration exposureTime) throws InterruptedException
chan - The channel used to deliver the event reply.exposureTime - The length of the exposure. If null or too short a duration the
event is rejected.InterruptedException - if inter-task communication is interrupted.void openShutter(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void timer(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void closeShutter(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void ignored(Channel<EventReply> chan, Ignored.Reason reason) throws InterruptedException
chan - The channel used to deliver the event reply.reason - The reason why the event was rejected.InterruptedException - if inter-task communication is interrupted.void gotoProd(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void homeAxis(Channel<EventReply> chan, org.lsst.ccs.subsystem.motorplatform.bus.HomeAxis req) throws InterruptedException
chan - The channel used to deliver the event reply.req - Contains the request parameters. If null then the event is rejected.InterruptedException - if inter-task communication is interrupted.void gotoCenter(Channel<EventReply> chan) throws InterruptedException
chan - The channel used to deliver the event reply.InterruptedException - if inter-task communication is interrupted.void moveAxisAbsolute(Channel<EventReply> chan, org.lsst.ccs.subsystem.motorplatform.bus.MoveAxisAbsolute req) throws InterruptedException
chan - The channel used to deliver the event reply.req - Contains the request parameters. If null then the event is rejected.InterruptedException - if inter-task communication is interrupted.void moveAxisRelative(Channel<EventReply> chan, org.lsst.ccs.subsystem.motorplatform.bus.MoveAxisRelative req) throws InterruptedException
chan - The channel used to deliver the event reply.req - Contains the request parameters. If null then event is rejected.InterruptedException - if inter-task communication is interrupted.void clearAllFaults(Channel<EventReply> chan, org.lsst.ccs.subsystem.motorplatform.bus.ClearAllFaults req) throws InterruptedException
chan - The channel used to deliver the event reply.req - Contains the request parameters. If null then the event is rejected.InterruptedException - if inter-task communication is interrupted.void changeAxisEnable(Channel<EventReply> chan, org.lsst.ccs.subsystem.motorplatform.bus.ChangeAxisEnable req) throws InterruptedException
chan - The channel used to deliver the event reply.req - Contains the request parameters. If null then the event is rejected.InterruptedException - if inter-task communication is interrupted.void changeBrakeState(Channel<EventReply> chan, Axis ax, ChangeBrakeState.State newState) throws InterruptedException
chan - The channel used to deliver the event reply.ax - The PLC task axis to affect.newState - The desired brake state.InterruptedException - if inter-task communication is interrupted.void clearAxisFaults(Channel<EventReply> chan, org.lsst.ccs.subsystem.motorplatform.bus.ClearAxisFaults req) throws InterruptedException
chan - The channel used to deliver the event reply.req - Contains the request parameters. If null then the event is rejected.InterruptedException - if inter-task communication is interrupted.void enableAllAxes(Channel<EventReply> chan, org.lsst.ccs.subsystem.motorplatform.bus.EnableAllAxes req) throws InterruptedException
chan - The channel used to deliver the event reply.req - Contains the request parameters. If null then event is rejected.InterruptedException - if inter-task communication is interrupted.void disableAllAxes(Channel<EventReply> chan, org.lsst.ccs.subsystem.motorplatform.bus.DisableAllAxes req) throws InterruptedException
chan - The channel used to deliver the event reply.req - Contains the request parameters. If null then the event is rejected.InterruptedException - if inter-task communication is interrupted.Copyright © 2024 LSST. All rights reserved.