LMC to MCS
MCS provides commands and attributes to turn MCS on and off (through the CBF Controller) as well as commands needed to configure and execute scans through the subarrays. (CBF Subarray)
The sequence diagram below shows the interactions between LMC and MCS to assign receptors to a subarray, configure a scan, and run a scan. It shows configuration of one Mid.CBF subarray followed by running a scan on that subarray. It ends with no receptors assigned to the subarray. The calls to write the frequency offset K and frequency offset delta F values only need to be written when there are updates to the values. They must be written to the CBF Controller before the scan configuration.
For full details of MCS Controller see CbfController.
For full details of MCS Subarray see CbfSubarray.
CbfController Tango Commands
Command |
Parameters |
Return Type |
Action |
Supported Interface(s) |
|---|---|---|---|---|
Off |
None |
(ResultCode, str) |
Set power state to OFF for controller and
subordinate devices (subarrays, VCCs, FSPs)
Turn off power to all hardware
See also Off Sequence
|
|
InitSysParam |
JSON str* |
(ResultCode, str) |
Initialize Dish ID to VCC ID mapping and k values
See also InitSysParam Sequence
|
https://schema.skao.int/ska-mid-cbf-initsysparam/1.0
https://schema.skao.int/ska-mid-cbf-initsysparam/1.1
|
Standby |
None |
(ResultCode, str) |
None
|
|
On |
None |
(ResultCode, str) |
Turn on the controller and subordinate devices
|
* Schema for JSON string defined in the Telescope Model - Mid.CBF schemas
CbfSubarray Tango Commands
Command |
Parameters |
Return Type |
Action |
Supported Interface(s) |
|---|---|---|---|---|
Abort |
None |
(ResultCode, str) |
Change observing state to ABORTED
Send Abort to VCC
Send Abort to FSP <function mode> Subarrays
No action on hardware
See also Abort Sequence
|
|
AddReceptors |
List[str] |
(ResultCode, str) |
Assign receptors to this subarray
Turn subarray to ObsState = IDLE if no
receptor was previously assigned
|
|
ConfigureScan |
JSON str* |
(ResultCode, str) |
Change observing state to READY
Configure attributes from input JSON
Subscribe events
Configure VCC, VCC subarray, FSP, FSP Subarray
Publish output links.
See also Configure Scan Sequence
|
https://schema.skao.int/ska-csp-configurescan/4.1
https://schema.skao.int/ska-csp-configurescan/5.0
https://schema.skao.int/ska-csp-configurescan/6.0
https://schema.skao.int/ska-csp-configurescan/7.0
https://schema.skao.int/ska-csp-configurescan/8.1
|
EndScan |
None |
(ResultCode, str) |
End the scan
|
|
ObsReset |
None |
(ResultCode, str) |
Reset subarray scan configuration
Keep assigned receptors
Reset observing state to IDLE
If in FAULT, send Abort/ObsReset to VCC
If in FAULT, send Abort/ObsReset to
FSP <function mode> subarrays
No action on hardware
See also ObsReset Sequence
|
|
Off |
None |
(ResultCode, str) |
Set subarray power mode to off.
Commands FSP<function mode> Subarrays
to turn off
No action on hardware power
|
|
On |
None |
(ResultCode, str) |
Set subarry power mode to on.
Command FSP<function mode> Subarrays
to turn on
|
|
RemoveAllReceptors |
None |
(ResultCode, str) |
Remove all receptors
Turn Subarray off if no receptors are
assigned
|
|
RemoveReceptors |
List[str] |
(ResultCode, str) |
Remove receptors in input list
Change observing state to EMPTY if no
receptors assigned
|
|
Restart |
None |
(ResultCode, str) |
Reset subarray scan configuration
Remove assigned receptors
Restart observing state model to EMPTY
If in FAULT, send Abort/ObsReset to VCC
If in FAULT, send Abort/ObsReset to
FSP <function mode> subarrays
No action on hardware
See also Restart Sequence
|
|
Scan |
JSON str* |
(ResultCode, str) |
Start scanning
|
https://schema.skao.int/ska-csp-scan/2.2
https://schema.skao.int/ska-csp-scan/2.3
|
* Schema for JSON string defined in the Telescope Model - Mid.CBF schemas
Supported ConfigureScan Validation
The telescope model will validate AA4 ranges, but due to ongoing development, MCS supports a subset of values for the given parameters. The tables below might not contains all the fields that telscope model supports, but will contain all the fields that MCS will validate.
Currently, MCS supports Scan Configurations version 4.1 and 5.0.
See Telescope Model - Mid.CBF schemas - ska-csp-configurescan schemas
CSP Scan Configuration
Scan Configuration Parameter |
AA4 Ranges (see TM) |
Supported |
Comment |
|---|---|---|---|
common |
See TM |
See the Common Configuration subsection below |
Common section, containing the parameters and the sections belonging to all CSP subsystems.
This section is forwarded to all sub-elements.
See the Common Configuration section below for the values MCS validates in this section.
|
midcbf |
See TM |
See the MidCBF Configuration subsection below |
Correlator and Beamformer specific parameters.
This section contains the parameters relevant only for Mid.CBF sub-element.
This section is forwarded only to Mid.CBF subelement.
See the MidCBF Configuration section below for the values MCS validates in this section.
|
Common Configuration
Scan Configuration Parameter |
AA4 Ranges (see TM) |
Supported |
Comment |
|---|---|---|---|
subarray_id |
Integer from 1 to 16 inclusive |
Integer of value 1 |
|
band_5_tuning |
See TM |
None |
Warning This value is currently unsupported Using this value will result in a rejected scan configuration |
frequency_band |
Strings of values: 1, 2, 5a, 5b |
Strings of values: 1, 2 |
MidCBF Configuration
Scan Configuration Parameter |
AA4 Ranges (see TM) |
Supported |
Comment |
|---|---|---|---|
frequency_band_offset_stream1 |
See TM |
None |
Warning This value is currently unsupported Using this value will result in a rejected scan configuration |
frequency_band_offset_stream2 |
See TM |
None |
Warning This value is currently unsupported Using this value will result in a rejected scan configuration |
correlation |
See TM |
See the correlation section |
Correlation specific parameters for processing regions |
pst_bf |
See TM |
See the PST Processing Region Configuration section |
PST Beam-Former specific parameters for processing regions |
vlbi |
TBD |
None |
Warning This value is currently unsupported Using this value will result in a rejected scan configuration |
PST Processing Region Configuration
Scan Configuration Parameter |
AA4 Ranges (see TM) |
Supported |
Comment |
|---|---|---|---|
fsp_ids |
Array of 1 to 26 |
FSP IDs 1 to 8 |
Note When running in 4 FSP configuration, all 4 FSP must be configured to the same FSP Mode Validator does not check the FSP IDs requested; However, if the scan configuration specifies a FSP for PST (or CORR) but the FSP mode assigned to the FSP device is CORR (or PST), the command will get rejected by the FSP device. For further details see Frequency Slice Processor (FSP) and MCS Simulation Mode. |
start_freq |
See TM |
start_freq is a Enum value that is one of: Band 1 296862720
495075840
693235200
891448320
Band 2 891448320
1089607680
1287767040
1485980160
1684139520
|
|
channel_count |
See TM |
|
|
pst_start_channel_id |
Integer from 0 to 2147483647 inclusive |
Same as TM; |
Starting value for the channel numbering in the processing region. Used only to number channels in the output product (timing beam).
Channels in the output product are numbered sequentially starting with the pst_start_channel_id.
The channel with the centre frequency of start_freq will have a channel ID of pst_start_channel_id.
The next channel will have the channel ID of pst_start_channel_id + 1.
|
timing_beams |
|
Contains a list of mutiple timing_beam for this processing region.
See Timing-Beam Scan Configuration section for timing_beam specific supported values.
|
Correlation Processing Region Configuration
Scan Configuration Parameter |
AA4 Ranges (see TM) |
Supported |
Comment |
|---|---|---|---|
fsp_ids |
Array of 1 to 26 |
FSP IDs 1 to 8 |
Note When running in 4 FSP configuration, all 4 FSP must be configured to the same FSP Mode Validator does not check the FSP IDs requested; However, if the scan configuration specifies a FSP for PST (or CORR) but the FSP mode assigned to the FSP device is CORR (or PST), the command will get rejected by the FSP device. For further details see Frequency Slice Processor (FSP) and MCS Simulation Mode. |
start_freq |
See TM |
Range: Integer from 0Hz to 1980MHz inclusive |
Warning AA0.5 Mid.CBF will produce a warning when the bandwidth
|
channel_count |
See TM |
|
|
channel_width |
See TM for enum |
Integer of exactly 13440 |
|
sdp_start_channel_id |
See TM |
Same as TM |
No additional checks needed |
integration_factor |
Integer from 1 - 10 inclusive |
Same as TM |
No additional checks needed |
output_link_map |
Checks:
|
[[ |
|
output_port |
See TM |
Checks:
|
Timing-Beam Scan Configuration
Scan Configuration Parameter |
AA4 Ranges (see TM) |
Supported |
Comment |
|---|---|---|---|
timing_beam_id |
1 to 16 inclusive |
Same as TM |
Note Each To use more than one FSP for a specific timing_beam_id, users can assigned the the |
receptors |
See TM for valid values |
|
Note Optionally a subset of receptors to be included in the timing beam can be specified. If not specified, all receptors that belong to the subarray are included in the timing beam. |
output_link_map |
|
Single entry with link ID of 1. [[ |
Output links to emit timing beam on for every channel, given as a list of start channel ID to link ID.
Where no value is given for concrete channel, the previous value should be used.
|
output_host |
|
|
|
output_port |
|
|
|