Download 3318 kB
Transcript
Tools
a project data base for which an ENI-supported driver is available, must be installed. It is reasonable
to do this on the same computer, where the ENI Server is running. Alternatively a local file system
can be used, for which a driver will also be provided by default.
in the data base administration possibly the user (Client) as well as the ENI Server must be
registered as valid users with access rights. Anyway this is required for the 'Visual SourceSafe', if
you use another data base system, please see the corresponding documentation for information
on the user configuration.
for the current CoDeSys project the ENI interface must be activated (to be done in the CoDeSys
dialog 'Project' 'Options' 'Project data base'). (It is possible to switch in a user definition in ENI, e.g.
for the purpose of defining more detailed access rights as it is possible in the data base
administration. But in general it is sufficient if the user who wants to log in to the data base via ENI,
is registered in the data base.
for the current CoDeSys project the connection to the data base must be configured correctly; this is
to be done in the CoDeSys dialogs 'Project' 'Options' 'Project source control.
in the current project the user must log in to the ENI Server with user name and password; this is to
be done in the Login dialog, which can be opened explicitly by the command 'Project' 'Data Base
Link' 'Login' resp. which will be opened automatically in case you try to access the data base
without having logged in before.
7.1.3
Working with the ENI project data base in CoDeSys
The data base commands (Get Latest Version, Check Out, Check In, Version History, Label Version
etc.) which are used for managing the project objects in the ENI project data base, will be available in
the current CoDeSys project as soon as the connection to the data base has been activated and
configured correctly. See for this the Preconditions for Working with an ENI project data base . The
commands then are disposable in the submenu 'Data Base Link' of the context menu or of the 'Project'
menu and refer to the object which is currently marked in the Object Organizer.
The current assignment of an object to a data base category is shown in the Object Properties and
can be modified there.
The properties of the data base categories (communication parameters, access rights, check in/check
out behaviour) can be modified in the option dialogs of the project data base ('Project' 'Options'
'Project Source Control').
7.1.4
Object categories concerning the project data base
There are four categories of objects of a CoDeSys project concerning the project source control:
The ENI distinguishes three categories ("ENI object categories") of objects which are managed in the
project data base: Project objects, Shared objects, Compile files.
The category 'Local', to which an object will be assigned if it should not be stored in the data base.
That means that it will be handled as it is known for projects without any source control.
Thus in the programming system a CoDeSys object can be assigned to one of the categories 'Project
objects', 'Shared objects' or 'Local'; the 'Compile files' do not yet exist as objects within the project.
Assigning an object to one of the categories is done automatically when the object is created,
because this is defined in the project options dialog 'Project source control', or explicitly via command
'Project' 'Data Base Link' 'Define' or 'Multiple Define', but it can be modified anytime in the 'Object
Properties' dialog.
Each ENI object category will be configured separately in the settings for the 'Project source control'
which are part of the project options ('Project' 'Options'). That means that each category gets defined
own parameters for the communication with the data base (directory, port, access right, user access
data etc.) and concerning the behaviour at calling the latest version, checking out and checking in.
These settings then will be valid for all objects belonging to the category. As a result you will have to
log in to each data base category separately; this will be done via the 'Login' dialog.
7-2
CoDeSys V2.3