Folie 1 - WebHome < Main < GSI Wiki

Download Report

Transcript Folie 1 - WebHome < Main < GSI Wiki

Topics:
1. Network Processes via a Esone Server
2. The CSBP Group Object
3. Object Net´s, first steps
4. Petri Net´s – further development
27.01.06
Alexander Schwinn
Messhütte
1. Network Processes via a Esone Server
TCP/IP
Server
CS
-Interface Objekte
-Ausfall Kontrolle
OPC Server
Linux-Client
CS
-Benutzer GUI´s
(Eingabepanels)
WinXP-Client
CS
- Benutzer GUI´s
(Eingabepanels)
…
CAVE
PT100 Temp.Sensoren
Beckhoff BC9000
Esone Server
CAMAC BUS
CAEN- Hoch
Spannungsversorgung
-18 Channels
Ethernet – GBIP
LeCroy – HV
Devices
-1792
Channels
Constant
Fractions,
ca. 150 Stck.
GPIB-Bus
Controller
Lambda, low-Voltage device
Lambda, low-Voltage device
…
1. Network Processes via a Esone Server
kp1pc065 (FOPI CS Server)
CS
CS Events
Esone Dispatcher
-usese the Labview Esone
Driver to communicate with
the Server
- only the commands cfsa
and cdreg seems to work
TCP/IP
LeCroy 2132
Interface
Constant Fraction
Interface
- can read and write
Voltages,etc. from a LeCroy
1440 Module
- can read and write values
to CF8101 modules
- Esone Dispatcher provides single CAMAC CNAF´s from
the Labview Event, to the real CNAF
- Esone driver is coded in C and only fittet in as ".dll" by
a call Libary node
Esone Server
Camac Bus
- To talk with the esone dispatcher only send the event, that
fits your camac-action, for example cfsa
- It seem, that only cfsa and cdrag do work correctly, by
using other camac functions the esone server get stuck. But
by using cfsa i was able to do all nessesary actions
2. The CSPBGroup Object
The CSBP Group Object
- is for grouping many BaseProcess-Classes
testclass
CSBPGroup
- to make talking to them more easy
- to give some structure to your Project
CSBPGroup
- and to get rid of the loadProcess procedure
Group1
test2
Group2
testclass
other_class
test1
test 3
- "get State" gets also the state of eventually sub Groups, needs no argument
- if you send a event to the GroupObject, it will provide it to all its members.
- The data array in the answer cluster has the laengt of the number of responses,
made by the member objects
- you can also create group elements on other nodenames, if the CS there knows
the class
- if you set the bool in "deleteGroup" the whole Group-tree will also get deleted
Radiator - Controll
Object Net, made with ObjectView
Advantages of Object Nets
- the whole Project on one Page
- a startup procedure is no longer
nesesarry
- You can "see" which Objects are
talking together
- also "LoadProcess" on other
Machnines could be implemented, to
produce a distributed Object Network
Implementation in the CS ?
3. Object Nets
working with EON (Elemental
Object Net´s)
requirements to CS:
- If you want to use EON, you need
to build a EON Object for your
device Object
1. Seperation of the BaseProcess in:
- PeriodicProcess
- EventReciverProcess
- DatabaseProcess
profit : makes it possible to generate
Instances of EventReciver Objects
programaticly
- Define Events/eventdata, which
are able to handle the
communication between the EON
Objects
- Communication via Dim-Events
Device
Object
2. a super Function "Load Object"
- with "Data in" as Input
- similar to "CSSysem._new.vi"
profit : The super Process could now be
used as "Object Factory"
Device Layer
Application Layer
Controll refnum
EON Device
EON
Panel
Object
Dataflow
4. Petri Nets
Petri Net´s
Transition
Empty Place
Place with Marker
- simple modelling of process structures
- possibility of Parallelprocesses,
sub routines and process loops
- easy and fast coding of complicated
processes
- possibility to make mathematical
calculations on the modell, and to simulate
all cases
Petri Net´s in
ObjectVIew
4. Petri Nets
Philosoph problem
- every philosoph needs two forks to
eat
- after eating a bite, the philosoph
needs some time for thinking
Petri net for two philosophs in Labview
thank you for your attention
27.01.06
Alexander Schwinn