TWiki> Main Web>MyTopics>OpcUaLtdbPeripheralServer (revision 30)EditAttachPDF

Twiki For the Opcua Ltdb Peripheral server

All download links are given for CentOS 7

To download the last compiled version (download packages artifact) :

https://gitlab.cern.ch/atlas-dcs-opcua-servers/opcualarltdbserver/pipelines

For sources:

Gitlab link for the server (don't forget the --recursive flag when cloning)

Ltdb Error

LTDBErrorSpreadSheet

Ltdb configuration at emf and P1

LtdbPeripheralHowToInstallFromScratch

LtdbConfigurationEmfPeripheral

LtdbConfigurationP1Peripheral

Ltdb expert troobleshooting

LtdbExchange

LtdbHowToInstallNewLtdb

LtdbMappingGeneration

LtdbPowerCutResolution

LtdbChangeLatomeVersion

Intetgration CheckList

LtdbDcsIntegrationCheckList

Description of the peripheric server

procedurePeriphericServer (Document written by Daniele LAUGIER)

Conversion xlsx to csv

WIth libreoffice configured with language english !!!! To have dot as decimal converter

libreoffice --headless --convert-to "csv:Text - txt - csv (StarCalc):44,,UNICODE,1,1" "ADC_constants_10.xlsx"

How to compile

Now the peripheral use CI, but if you want to compile by "hand":

source setup.sh
./quasar.py enable_module open62541-compat
./quasar.py set_build_config open62541_config.cmake
./quasar.py prepare_build
./quasar.py build

Design

See the design.xml files on the packages artifacts

How to write the design.xml file

Access with WinCCOA

Link to the gitlab of the WinCCOA project peripheral_server branch

With WinCCOA it's impossible to call directly a method. To passthrough this issue the peripheral server implement register to call the methods.

  • For each method there is registers (method_parameter) with the needed parameter of the method
  • A boolean register to call the method (callMethod)
  • Registers with the output of the method (method_output)
  • Register with the value of the error code (method_error)
All the registers name are written on the design diagram

Now only 3 error code are implemented:

  • 0- METHOD_NOT_CALLED
  • 1- METHOD_IN_PROGRESS
  • 2- METHOD_GOOD
  • 3- METHOD_BAD

Development tools

For the development of the peripheral server many tools are needed

InstallPath

Trainings for the development of peripheric servers have been provided by Piotr Nikiel Link to training

Link to the OpcUAScaServer 1.2.1

Link to the simulator => download the last artifact

How to setup the simulator

Link to the uhal librairy

Other informations

librairy 62541

The quasar tool can use two different librairy for OpcUa: the open source 62541 and the OpcUa develloped by unified automation. Because the license for unified automation is linked to a developer we can't use this library for development, so we will use the open source. But this open source don't have all the functions implemented (can't have source variable or asynchronous method) and they will be useful for production version of OpcUaLtdbPeripheralServer. So for the production version the compilation will be done by Piotr Nikiel who have a valid license.

QuasarCommmands

UaoClientForOpcUaSca

Description

HowToConfigureSubscription

Where to compile

EssaiStandaloneConfigure

Gitlab configuration of kai

HowToProgramFelix

usefull script

Clean log files

sed -i 's/2019.*INF] //g' test.txt

Shell latome at USA15

#reload the firmware
cd /det/lar/project/firmware/LATOME/config_test/LATOME_FW-v2.3/LATOME/projects/firmware_control 
./switch_application.latome.sh LATOME_ID
#Reset to load mapping
cd /det/lar/project/firmware/LATOME/LATOME_config/LATOME_config-v2.3
./reset_latome.sh LATOME_ID
#shell to
cd /det/lar/project/firmware/LATOME/config_test/LATOME_FW-v2.3/LATOME/projects/firmware_control
./shell.latome.sh LATOME_ID

-- Main.etfortin - 2018-11-29

Topic attachments
I Attachment History Action Size Date Who Comment
XMLxml configLTDB320-V2.xml r1 manage 61.7 K 2019-04-19 - 11:37 EtienneMarieFortin  
PDFpdf diagram.pdf r1 manage 39.0 K 2018-11-29 - 15:10 EtienneMarieFortin  
Microsoft Word filedoc procedurePeriphicServer.doc r1 manage 14.5 K 2018-11-29 - 17:13 EtienneMarieFortin  
Edit | Attach | Watch | Print version | History: r32 < r31 < r30 < r29 < r28 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r30 - 2022-07-15 - FlorentBernon
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 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