ControlSystemInterfa..

Werbung
Control System Interfaces
Kay Rehlich
XFEL Collaboration Meeting April 2013
Control System Interfaces
XFEL Interfaces Overview
TINE Client
C and Java
2
DOOCS
C++
D
Ti
Ti
k
DOOCS
Java
E
D
D
Ti
k
E
Karabo
C++
Ta
D
k
Ti
TINE
Server
XFEL Collaboration Meeting April 2013
D
Ti
DOOCS
Server
Kay Rehlich, DESY
k
Undulator
Beckhoff
Karabo
Server
DAQ
Ti
DAQ
DOOCS
Server
E
EPICS
Server
Ta
TANGO
Server
Control System Interfaces
Example: TINE - DOOCS Interface
DOOCS
Java e.g. jddd
Standard
Application Programming Interface
API
Get(adr, dataIn, dataOut)
jdoocs
Adr 
 protocol, server adr
D
Ti
k
E
3
Equipment Name Server
ENS
Data transformation to uniform
format
Ta
Ti
TINE
Server
XFEL Collaboration Meeting April 2013
D
Ti
DOOCS
Server
Kay Rehlich, DESY
DAQ
Native libraries of the control
systems
Control System Interfaces
TINE - DOOCS Interface: Data Types




In total ~ 90 data types
 75 % can be translated TINE  DOOCS
 25 % are special types e.g. for archiving
A data type can hold a single bit … up to 32MB (image)
Data types can be quite complex:
 Archive types, images, …
The API provides many functions like:
 get_float_2D ( row, col )  has to be implemented for all types
XFEL Collaboration Meeting April 2013
Kay Rehlich, DESY
4
Control System Interfaces
Special Features (1): Addressing with Wild-cards

BPM simulation server
 ADR = XFEL.DIAG/BPM/*/Y
XFEL Collaboration Meeting April 2013
Kay Rehlich, DESY
All controls interfaces
should support this,
If not it has to be
simulated
5
Control System Interfaces
Special Features (2): Addressing with System Mask
All sections belonging to SASE2 e- beam lines
All e- beam lines
System Mask:
XFEL Collaboration Meeting April 2013
6
Kay Rehlich, DESY
Inj 2
SASE xx
Control System Interfaces
Address Conventions



DOOCS:
TINE:
TANGO:
7
facility/device/location/property
context/server/device/property
domain/family/member/property

EPICS:
flat, no standard definition
 Requires entries in the DOOCS name server
 karabo:
device(=facility/device/location)/property
 DOOCS addresses require static entry in karabo-DB
XFEL Collaboration Meeting April 2013
Kay Rehlich, DESY
Control System Interfaces
Undulator Interface per Section
Control System
Interface
Dynamic configuration of
locations and properties
D
Request Port:
List of ports
8
DOOCS Undulator Server
n
1
r
Publisher Port:
Sends changed data
0MQ Gateway
n
1
UND 1
UND n
...
Beckhoff Controller
...
UND 1
M
M
UND n
M
M
Impl. By Andreas Beckmann
XFEL Collaboration Meeting April 2013
Kay Rehlich, DESY
Control System Interfaces
DOOCS  karabo Demo
9
karabo GUI
DOOCS ddd
DOOCS
Camera
Server


Karabo
Camera
Server
First prototypes demonstrated on both control systems
JAVA interface is next step
XFEL Collaboration Meeting April 2013
Kay Rehlich, DESY
Herunterladen
Random flashcards
Medizin

5 Karten Sophia Gunkel

Laser

2 Karten anel1973

lernen

2 Karten oauth2_google_6c83f364-3e0e-4aa6-949b-029a07d782fb

Erstellen Lernkarten