Mailing list


RICH ECS requirements

Naming conventions, port numbers and git repositories

System VM name project/sysName sysNum pMonPort dataPort eventPort distPort
IBCDB R1IBCDB01 R1IBCDB1 1133 11330 11331 11332 11337
ECS R1ECS01 R1ECS1 1134 11340 11341 11342 11347
RICH1 DCS R1DCS01 R1DCS1 1131 11310 11311 11312 11317
RICH1 HV R1HV01 R1HV1 1132 11320 11321 11322 11327
RICH1 DAQ 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 R2DAQ01 R2DAQ1 1165 11650 11651 11652 11657
RICH2 DAQ FEE R2DAQFEE01 R2DAQFEE1 1166 11660 11661 11662 11667
The git repositories for each projects live under the LHCb ECS/sub-detectors/rich group on gitlab. Link: The repositories are cloned on lbrichecs01 under /home/WinCC/git and on the lbgw cluster under /group/rich/git

OPC servers

System VM name Type Path to config file
RICH 2 LV r2cc0402 Wiener  
RICH 2 ELMBs r2cc0402 CanOpen /group/rich/opc/elmb

Start the OPC server

/opt/OpcUaCanOpenServer/bin/OpcUaCanOpenServer OPCUACANOpenServer.xml (change CanOpen into the desired type and set the appropriate config file).

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

Install the fwGbt and fwHw component. Add -dim_dns_node 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 option to the corresponding manager. -- GiovanniCavallero - 2020-05-14

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2021-01-29 - GiovanniCavallero
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback