11.5.2.
EPICS
For the use of iseg hardware with Experimental Physics and Industrial Control System (EPICS) the iCS comes with a preinstalled
integrated Input-Output-Controller (IOC). This service can be enabled or disabled using the switch „
enable EPICS input / output
controller
“. To keep things straight-forward the iCS can generate IOC configuration files (.db and .sub), using the current
hardware configuration. Both files can be downloaded to the local computer, be edited manually, e.g. with a text editor and be
uploaded again. This gives a quick start to run an IOC out of the box. To get an overview on all available process variables (PV),
which are generated at the start of IOC, the PV list can be downloaded using the respective button. The IOC script combines a
process variable definition file (.db) with a substitution file (.sub), which contains hardware setup information and placeholders to
create all accessable process-variables at runtime.
File
Description
Sample content (extraction)
iseg_epics.db
Database file with definitions of PV
#############################
# ### Crate item values ### #
#############################
record( mbbiDirect, "ISEG:${CONTROLLER_SN}:${CAN_LINE}:$
{DEVICE_ID}:StatusLow" ) {
field( DESC, "Lower 16 bit of module status register" )
field( DTYP, "isegHAL" )
field( INP, "@${CAN_LINE}.${DEVICE_ID}.Status" )
field( NOBT, "16" )
field( SHFT, "0" )
field( TSE, "-2" )
}
...
iseg_epics.sub
Substitution file contains a pattern
that will be substituted by the
following lines for each corresponding
channel
{CONTROLLER_SN,CAN_LINE,DEVICE_ID,MODULE_ID,CHANNEL_ID}
{5230003,0,1000,0,0}
{5230003,0,1000,0,1}
{5230003,0,1000,0,2}
...
iseg_epics.pv
Text file with list of process variables
generated
ISEG:5230003:0:0:0:CurrentMeasure
ISEG:5230003:0:0:0:CurrentNominal
ISEG:5230003:0:0:0:VoltageMeasure
ISEG:5230003:0:0:0:VoltageNominal
...
For more detailed information on EPICS, please visit:
, for sample libraries and test scripts, please contact
INFORMATION
INFORMATION
The documentation of iseg EPICS IOC and a sample script is available on iCS directly (iCSconfig / EPICS) or
online on:
https://iseg-hv.com/download/?dir=SOFTWARE/iCS/doc/isegIOC/
Crate Controller CC24/CC23 | Last change on: 14.04.2020 |
www.iseg-hv.com
30/44