Mailing list
lhcb-rich-upgrade-ecs
RICH ECS requirements
https://www.overleaf.com/read/ghtjzsfrshrz
Gitlab repository
https://gitlab.cern.ch/LHCbRICHUpgrade/ECS
Send and e-mail to
giovanni.cavallero@cernNOSPAMPLEASE.ch to be added as developer.
Naming conventions and port numbers
System |
VM name |
project/sysName |
sysNum |
pMonPort |
dataPort |
eventPort |
distPort |
ECS |
R1ECS01 |
R1ECS1 |
1134 |
11340 |
11341 |
11342 |
11347 |
IBCDB |
R1IBCDB01 |
R1IBCDB1 |
1133 |
11330 |
11331 |
11332 |
11337 |
RICH1 DCS |
R1DCS01 |
R1DCS1 |
1131 |
11310 |
11311 |
11312 |
11317 |
RICH1 HV |
R1HV01 |
R1HV1 |
1132 |
11320 |
11321 |
11322 |
11327 |
RICH1 DAQ TELL40 |
R1DAQ01 |
R1DAQ1 |
1135 |
11350 |
11351 |
11352 |
11357 |
RICH1 DAQ FEE |
R1DAQFEE01 |
R1DAQFEE1 |
1136 |
11360 |
11361 |
11362 |
11367 |
RICH2 DCS |
R2DCS01 |
R2DCS1 |
1161 |
11610 |
11611 |
11612 |
11617 |
RICH2 HV |
R2HV01 |
R2HV1 |
1162 |
11620 |
11621 |
11622 |
11627 |
RICH2 DAQ TELL40 |
R2DAQ01 |
R2DAQ1 |
1165 |
11650 |
11651 |
11652 |
11657 |
RICH2 DAQ FEE |
R2DAQFEE01 |
R2DAQFEE1 |
1166 |
11660 |
11661 |
11662 |
11667 |
RICH2 OPC servers control |
R2CC0402 |
R2OPC1 |
|
|
|
|
|
|
CCPCs for USB connections and OPC servers:
r1cc0401
and
r2cc0402
Install the MiniDAQ (ECS+DAQ) project from scratch
Create a new WinCC project.
Copy the fwInstallation folder into the project folder and install the jcop fw components: fwCore, fwConfigurationDB, fwDIM and fwTrending.
Install the fwMiniDAQ component.
Open the MiniDAQ fsm, click on
Configure Subscriptions, Configure Multi, delete existing devices, create the RICH_TELL40 type and apply the default settings for each device. Open the HW tool and create the TELL40_RICH device type using the appropriate xml. Also create the RICHPDMDB device type using the appropriate xml.
Define the other devices in the MiniDAQ FSM view and click on subscribe all. The click on the
Create FSM button.
Install the fwRich component.
Open the fwRich_Configurator.pnl panel to create the new PDMDBs clicking on the
Generate button.
Select the new devices in the table, select the firmwares, and click on the
Update Selected button.
Click on the
Generate FSM button.
Create the recipe DEFAULT/CONFIGURE in the hardware view tab.
Check that everything is ok within the fsm, i.e. try to take a run.
Modify the config file of the project to include the lbRichHV, lbRichDCS and lbRichECS as distributed peers. (it is not needed if the config file is present in the fwRich.xml file)
Import the fwRichMiniDAQtop.dpl using the Ascii Manager and append the RICH_DCS and RICH_HV partitions to the MiniDAQ fsm.
Add the HV and DCS partitions to the MiniDAQ FSM
FSM view, configuration, Create/Configure FSM objects, Import from sys: (lbRichHV or lbRichDCS) and import RICH_HV and RICH_DCS accordingly to the selected system.
Right click on MiniDAQ partition, select Add Object(s) from FSM View, System(s) (select the system), and the type you want to add (RICH_HV or RICH_DCS), tick as Control Unit, click OK.
Generate FSM.
Change the type of MiniDAQ from MiniDAQtop to MiniDAQtopRICH.
Obsolete: Add the PDMDB ADC monitoring to the DCS project
On the machine running the DIM_DNS_server type
cat etc/sysconfig/dnsd
and add the line DIM_HOST_NODE=machineName.dyndns.cern.ch
Install the fwGbt and fwHw component. Add -dim_dns_node machineName.dyndns.cern.ch to the options for dim manager involving Gbt.
From the Hw tool panel, ADVANCED tab, click on XML file button and select the HWDescription_PDMDB(R,H)_ADC.xml file containing the ADC line registers. Click import. Click on Edit to check the script is reasonable. Click on Execute. Close and reopen the hardware tool. Select the type and create devices in Hardware tab. Click subscribe and press OK to activate the DIM manager. Add the -dim_dns_node machineName.dyndns.cern.ch option to the corresponding manager.
--
GiovanniCavallero - 2019-08-14