Off Command
Overview
This document details the Off() command within the MCCS, covering the three primary repositories in MCCS: SPSHW, PaSD, and the Main repository.
Note: This command is current not implemented in SpsStation as we do not have control of the upstream power of the subracks. As such MccsStation currently calls SpsStation.Standby().
SPSHW Repository
Devices
MccsTile: Controls the TPM (Tile Processing Module). For more detailed information, see MccsTile Overview.
MccsSubrack: Manages the subrack containing TPMs. Note: Power control for the subrack is currently unimplemented due to the absence of PDU devices, which are planned for future development.
SpsStation: The central controller for the
MccsTileandMccsSubrackdevices.
Power Management Workflow
SpsStation.Off() Command:
The
SpsStationsends an Off() command to theMccsTiledevices.The
MccsTiledevices then turn off.The
SpsStationsends an Off() command to theMccsSubrackdevices.The
MccsSubrackdevices then turn off.
MccsTile.Off() Command:
The
MccsTilesends a request to theMccsSubrackto turn off power upon receiving the Off() command.
MccsSubrack.Off() Command:
The
MccsSubrackcurrently lacks power control due to the absence of PDU devices.
Future Development
PDU Integration: The
MccsSubrackwill be updated to include power control once the PDU devices are developed and integrated.
PaSD Repository
Devices
MccsPasdBus: A Modbus device that communicates with PaSD hardware, including FNDH (Field Node Distribution Hub) and Smartboxes.
MccsFNDH: Manages the FNDH, which provides power to connected Smartboxes.
MccsSmartbox: Controls a Smartbox, which distributes power to connected antennas.
FieldStation: The main controller for the
MccsFNDHandMccsSmartboxdevices.
Power Management Workflow
FieldStation.Off() Command:
The
FieldStationsends a PowerOffPorts() command to theMccsFNDH.The
MccsFNDHthen powers on the relevant set of ports (if not already powered off), thereby powering off the Smartboxes.
MccsSmartbox.Off() Command:
The
MccsSmartboxcommands theMccsPasdBusto power off the FNDH port it is attached to, if not already powered off.
MccsFNDH.Off() Command:
The
MccsFNDHis considered to be always ON as we do not have control of upstream power supply.
Main Repository
Devices
MccsStation: The top-level controller for both
SpsStationandFieldStation.MccsController: Manages multiple
MccsStationdevices, each responsible for a different station.
Power Management Workflow
MccsStation.Off() Command:
The
MccsStationsends the Off() command to theSpsStationandFieldStation.It waits for the completion of these commands to ensure that all associated hardware components are powered off correctly.
MccsController.Off() Command:
The
MccsControllerinitiates the power-off process by sending the Off() command to eachMccsStation.
Command Flow
The workflow above in diagrammatic form: