On Command
Overview
This document details the On() command within the MCCS, covering the three primary repositories in MCCS: SPSHW, PaSD, and the Main repository.
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.On() Command:
When the
On()command is executed, theSpsStationsequentially powers on eachMccsTiledevice.The process is staggered with a few seconds delay between each
MccsTile. Future enhancements may include dynamic calculation of this delay.
MccsTile.On() Command:
The
MccsTilesends a request to theMccsSubrackto turn on power upon receiving theOn()command.
MccsSubrack.On() Command:
Currently, the
MccsSubracklacks 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 provides power to connected antennas.
FieldStation: The central controller for the
MccsFNDHandMccsSmartboxdevices.
Power Management Workflow
FieldStation.On() Command:
The
FieldStationdirectly commands theMccsFNDHto power on specific ports, enabling power to the relevant Smartboxes.It then commands the
MccsSmartboxdevices to power on specific ports that have antennas attached, provided those antennas are not masked.The
MccsFNDHandMccsSmartboxdevices send the necessary commands to theMccsPasdBusto ensure proper communication with the PaSD hardware.
MccsSmartbox.On() Command:
The
MccsSmartboxcurrently does not have a meaningfulOn()command, as the knowledge of port mappings is managed directly by theFieldStation.
MccsFNDH.On() 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.On() Command:
The
MccsStationsends theOn()command to theSpsStationandFieldStation.It waits for the completion of these commands to ensure that all associated hardware components are powered on in the correct sequence.
MccsController.On() Command:
The
MccsControllerinitiates the power-on process by sending theOn()command to eachMccsStation.The power-on process is coordinated across multiple stations, ensuring a smooth startup of the entire MCCS subsystem.
Command Flow
The workflow above in diagrammatic form: