MCCS Power States
Overview
This document details the power states within the MCCS subsystem, focusing on how these states are determined based on the power state of subservient devices or the hardware directly controlled by a device. MCCS devices have 5 states:
On: The device or hardware is fully powered and operational.
Off: The device or hardware is powered down. This state is not always implemented if power-off control is unavailable.
Standby: The device or hardware is in a low-power state, with some components powered off and others remaining on.
Unknown: The device is in an error state because it cannot accurately determine the power state of its hardware or its subservient devices.
Fault: The device is in an error state where the expected power state conflicts with the actual power state of its hardware or subservient devices.
Power State Logic by Repository
Main Repository
MccsStation
On: The
MccsStationis On if both theSpsStationandFieldStationare On.Standby: The
MccsStationis Standby if both theSpsStationandFieldStationare Standby.Off: The
MccsStationis Off if both theSpsStationandFieldStationare Off.Unknown: The
MccsStationis Unknown if the above conditions are not met. This state is common due to mixed power states between theSpsStationandFieldStation.
MccsController
On: The
MccsControlleris On if all controlledMccsStationdevices are On.Standby: The
MccsControlleris Standby if all controlledMccsStationdevices are Standby.Off: The
MccsControlleris Off if all controlledMccsStationdevices are Off.Unknown: The
MccsControlleris Unknown if any controlledMccsStationdevice is Unknown. This state is common due to mixed states across stations.
SPSHW Repository
SpsStation
On: The
SpsStationis On if allMccsTiledevices are On and allMccsSubrackdevices are On.Standby: The
SpsStationis Standby if allMccsTiledevices are Off and allMccsSubrackdevices are On.Off: The
SpsStationis Off if allMccsTiledevices are Off and allMccsSubrackdevices are Off. This state is currently unimplemented as subracks cannot be powered off.Unknown: The
SpsStationis Unknown if the above conditions are not met. Future work may redefine the On state to apply if any tiles are on, provided all subracks are on.
MccsTile
On/Off:
MccsTiledevices are either On or Off, depending on the power supplied by theMccsSubrack. They do not have a Standby state.Fault: As
MccsTiledevices rely on theMccsSubrackdevice to determine their state, if theMccsSubrackresponds with a state which theMccsTiledoesn’t think is correct, it will go to the Fault state.
MccsSubrack
On:
MccsSubrackdevices are currently always On, but they will support both On and Off states once PDU control is implemented.
PaSD Repository
FieldStation
On: The
FieldStationis On if all unmasked ports of theMccsFNDHandMccsSmartboxare On.Standby: The
FieldStationis Standby if all unmasked ports of theMccsFNDHare On and all ports of theMccsSmartboxare Off.Off: The
FieldStationis Off if all ports of theMccsFNDHare Off.
MccsSmartbox
On: A
MccsSmartboxis On if any of its unmasked ports are On.Standby: A
MccsSmartboxis Standby if all ports are Off but its FNDH port is On.Off: A
MccsSmartboxis Off if its FNDH port is Off.
MccsFNDH
On:
MccsFNDHis always On as there is no control over its upstream power supply.
Error Handling
Unknown State
A device enters the Unknown state when it cannot determine the power state of its hardware or when subservient devices do not report their power states. This state indicates uncertainty or a communication issue within the system.
Fault State
A device enters the Fault state when it detects a conflict between its
expected power state and the actual power state of its hardware or subservient
devices. For example, an MccsTile would enter the Fault state if it
believes it is On, but the MccsSubrack it resides in reports that it is
Off.
Future Considerations
Revising SpsStation Logic: There may be future work to redefine the On state of the
SpsStationsuch that it is On if any tiles are On, provided all subracks are On.Mixed State Handling: The frequent occurrence of Unknown states due to mixed power states between devices may lead to revisions in how these states are managed, particularly for the
MccsStationandMccsControllerdevices.