Download CoDeSys 2.3 - esco

Transcript
Kapitel 9 - The CoDeSys ENI
9 The CoDeSys ENI
What is ENI
The ENI ('Engineering Interface') allows to connect the CoDeSys programming
system to an external data base. There the data which are needed during creation of
an automation project can be stored. The usage of an external data base guarantees
the consistency of the data, which then can be shared by several users, projects and
programs. Also it extends the CoDeSys functionality by making possible the
following items:
· Revision control for CoDeSys projects and associated resources (shared
objects): If a object has been checked out from the data base, modified and
checked in again, then in the data base a new version of the object will be
created, but the older versions will be kept also and can be called again on
demand. For each object and for a whole project the version history will be
logged. Two versions can be checked for differences.
· Multi-User Operation: The latest version of a sample of objects, e.g. of POUs
of a project, can be made accessible for a group of users. Then the objects which
are currently checked out by one of the users will be marked as "in the works"
and not editable by the other users. Thus several users can work in parallel on the
same project without risking to overwrite versions mutually.
· Access by external tools: Besides the CoDeSys programming system also other
tools, which have an ENI too, can access the common data base. These might be
e.g. external visualizations, ECAD systems etc., which need the data created in
CoDeSys or which also produce data which are needed by other programs.
The ENI is composed of a client and a server part. So it is possible to hold the data
base on a remote computer, which is required for multi-user operation. The CoDeSys
programming system is a client of the independent ENI Server Process as well as
another application, which needs access to the data base (Please see the separate
documentation on the ENI Server).
Currently the ENI supports the data base systems 'Visual SourceSafe 5.0', 'Visual
SourceSafe 6.0', 'MKS Source Intergrity' and a local file system. Objects can be
stored there in different 'folders' (data base categories with different access
properties, see Chapter 7.3). The objects can be checked out for editing and thereby
will get locked for other users. The latest version of an object can be called from the
data base. Furtheron in parallel you can store any objects just locally in the project as
usual for projects without source control.
9.1 Preconditions for Working with an ENI project data base
If you want to use the ENI in the CoDeSys programming system in order to manage
the project objects in an external data base, the below mentioned preconditions must
be fulfilled:
Please regard: For a guide concerning installation and usage of the ENI Server
CoDeSys 2.3
9-7