Options for project objects and shared objects regarding the project data

These dialogs are part of the configuration of the project data base options (‘Project’ ‘Options’ ‘Project source control’). Here you define the access parameters for the data base categories ‘Project objects’ und ‘Shared objects’. Both dialogs contain the same items. (A third dialog is available for the configuration of the access to the data base category Compile files.

../_images/c1b3a90143758de10a33139006eab46b

ENI-Connection

TCP/IP-Address: Address of the computer where the ENI-Server is running
Port: Default: 80; must be the same as set in the configuration parameters of the ENI Server
Project name: Name of the data base folder where the objects of this category should be stored. Press button … to open a folder tree of the already existing data base projects. If the desired folder already exists, you can select it in this tree and it will be entered in the ‘Project name’ edit field. If you had not logged in to the ENI Server until you try to open the folder tree by button …, then you will first get the Login dialog where you must enter ‘User name’ and ‘Password’ as defined in your ENI user account to get access to the three data base categories.
Read only If this option is activated, then only read access is possible to the above defined data base folder.

Get latest Version

The data base function ‘Get latest Version’ (Menu ‘Project’ ‘Data Base Link’ copies the actual version of POUs from the above defined data base folder to the currently opened project, whereby the local version of objects will be overwritten. This will be done automatically for all objects, for which the version found in the data base differs from that in the project, as soon as one of the chosen timing conditions will meet. Choose the options by setting a check mark:

At Project Open As soon as the project is opened in CoDeSys
Immediately after Changes in ENI As soon as a newer version of the POU is checked in to the data base (e.g. by another user); then the POU will be updated in the current project immediately and an appropriate message will pop up.
Before any Compile Before any compile process in CoDeSys

Check out

The data base function ‘Check out’ means that the POU will be marked as ‘in the works’ and will be locked for other users until it will be de-blocked again by a ‘Check in’ or ‘Undo check out’.

If the option Immediately at start of editing is activated, then an object will be checked out automatically as soon as you start to edit it. If the object is currently already checked out by another user (indicated by a red cross before the object name in the CoDeSys object organizer), then a message will pop up.

Check in

The data base function ‘Check in’ means, that a new version of the object will be created in the data base. The older versions will be kept anyway.

You can activate one or both of the following options to define the time of automatic Checking in:

At Project Save as soon as the project is saved
After successfull compile as soon as the project has been compiled without errors

For each of the options ‘Get last version’, ‘Check out’ and ‘Check in’ additionally the option with Query can be activatd. In this case, before the corresponding action is carried out, a dialog opens where you still can decide to cancel the action or otherwise confirm it.

The items of the dialog ‘Shared objects’ are the same like in the dialog ‘Project objects’ described above. The settings apply to all objects which are assigned to the data base category ‘Shared objects’.

If you do a primary configuration, the configuration dialogs will appear one after the other and you will be guided by a wizard (button Next). The settings made in the first dialog will automatically be inherited to the other ones. So those just have to be edited if modificiations are necessary.

Cancel will close the dialog without saving the done modifications in the currently opened dialog. You return to the main dialog ‘Options’ ‘Project source control’.

If an already existing configuration has been modified, then the new settings (for all three dialogs) can be saved by pressing OK. After that the dialog will be closed and you return to the main dialog ‘Options’ ‘Project source control’.

Note

The settings will be stored in the project.