...
Page properties | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
- New acquisition and visualisation of Dafne temperature probes.DT modbus devices
Background and strategic fit
We want to acquire PT100 probes + xxDT modbus devices, we want to use EPICS as base control system to acquire modbus ICPDAS interface ICPDAS ET7xx. Show historical data using Grafana dashboard.
...
List and information of acquisition modules are available at Asset Management.
...
Layout Dafne
...
Modules
...
Rack 86/87/90 (ground floor) - 4 Modules
1 DC (20W) for 4 Modules (3W each)
...
Rack 091 (ground floor) - 5 modules
1 DC (20W) for 2 Modules (3W etch) & 1 DC (20W) for 3 Modules (3W each)
Grafana dashboard
directory DT-LNF-INFN
Probe List
Insert here the information about the Element Name of the probe, the installation Zone, Probe type (i.e PT100),the ICPDAS IP that acquires the probe, the Analog Input the number of (1:7) connected to the probe, the switch IP and port connected to the ICPDAS that acquire the probe.
...
TRKEL103
...
TRBEL102
...
TRAEL101
...
TRAEL103
...
TRAEL102
...
TRAEL104
...
TRAEL105
...
TRAEL107
...
TRAEL108
...
TRBEL103
...
TRSEL101
...
TRSEL102
...
TRBI1001
...
TRBI1003
...
TRAES101
...
TRAES102
...
TRAES103
...
TRAES107
...
TRAES104
...
TRAES105
...
TRAES106
...
TRAES108
...
TRKES201
...
TRCES201
...
TRIES201
...
TRAES202
...
TRAES203
...
TRAES204
...
TRAES205
...
TRAES206
...
TRAES207
...
TRAES209
...
TRBES203
...
TRBI2001
...
TRBI2004
...
TRSEL201
...
TRSEL202
...
TRBEL202
...
TRAEL201
...
TRAEL203
...
TRAEL204
...
TRAEL206
...
TRAEL205
...
TRAEL207
...
TRAEL208
...
TRAEL209
...
TRBEL203
...
TRKEL204
...
TRKPL101
...
TRBPL103
...
TRAPL109
...
TRAPL111
...
TRAPL108
...
TRAPL107
...
TRAPL106
...
TRAPL105
...
TRAPL104
...
TRAPL103
...
TRAPL102
...
TRBPL102
...
TRSPL101
...
TRSPL102
...
TRBI1004
...
TRBI1002
...
TRBPS102
...
TRAPS108
...
TRAPS107
...
TRAPS106
...
TRAPS102
...
TRAPS104
...
TRAPS103
...
TRAPS101
...
TRBPS101
...
TRVPS101
...
TRKPS202
...
TRKPS201
...
TRAPS209
...
TRAPS208
...
TRAPS207
...
TRAPS205
...
TRAPS206
...
TRAPS204
...
TRAPS203
...
TRAPS201
...
TRBPS202
...
TRBI2003
...
TRBI2002
...
TRSPL202
...
TRSPL201
...
TRBPL203
...
TRAPL209
...
TRAPL207
...
TRAPL208
...
TRAPL206
...
TRAPL205
...
TRAPL204
...
TRAPL203
...
TRAPL202
...
TRBPL202
...
TRKPL203
...
View file | ||||
---|---|---|---|---|
|
Grafana dashboard
How to add sensors
Sensors must be added to file epics-archiver-on-dafne/iocsh-icpdas/dafne-icpdas.cmd. https://baltig.infn.it/chaos-lnf-control/iocsh-dt-modbusdev/-/blob/main/dt-modbusdev.cmd
The configuration is self-explanatory, please pay attention to change the name accordingly when cut and paste.
...
Update the config
Code Block |
---|
ssh dante@vldanteco101 cd epics-archiver-on-dafne cd /iocsh-icpdas gedit dafne-icpdas.cmd |
Once finished as root restart the docker compose that contains an IOC that reads ICPDAS , the epics archiver and a CU that reads the IOC:
Code Block |
---|
systemctl start dafne-epics
# and check
systemctl status dafne-epics
|
To check if a PV( i.e. DAFNE:ICP-23-0001:Temp_TRAES104) is correctly added you can attach to the running epics container through:
Code Block |
---|
ssh dante@vldanteco101
docker exec -it epics bash
root@367907cf46e3:/mnt/data/iocsh-icpdas# caget DAFNE:ICP-23-0001:Temp_TRAES104
DAFNE:ICP-23-0001:Temp_TRAES104 20.5366 |
Add sensor to !CHAOS Config
Open Chaos Dashboard node configuration, edit DAFNE/MAINRING/TEMP/ALL and add new PVs.
The add the PV in driver parameters:
Restart the CU DAFNE/MAINRING/TEMP/ALL
Git commit changes
Code Block |
---|
ssh dante@vldanteco101 cd epics-archiver-on-dafne cd iocsh-icpdas git commit -m "my comment" . git push origindt-modbusdev ## update the config git pull origin master ## insert AAI credentials cd .. docker-compose restart dt-plc-ioc |
Add PV to Epics Archiver
Open Epics Archiver
Add the new PV(s) in the text box, then check and archive.
Update Grafana
Update Grafana Temperature Dasboard
Contributors | ||||||
---|---|---|---|---|---|---|
|