Engineering Interface (ENI) 9 Engineering Interface (ENI) The ENI interface ('Engineering Interface') allows to connect the 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 functionality by making possible the following items: Revision control for projects and associated ressources (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. (This does not apply to the using of a local data system as data base.) 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 TwinCAT PLC Control 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 TwinCAT PLC Control or which also produce data. 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 TwinCAT PLC Control 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' and 'Visual SourceSafe 6.0' and a local file system. Objects can be stored there in different ' folders' (data base categories with different access properties ). 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. The *.pro file is the local working copy of an project managed by the data base. Preconditions for Working with an ENI project data base If you want to use the ENI in TwinCAT PLC Control to manage the project objects in an external data base, the below mentioned preconditions must be fulfilled: For a guide concerning installation and usage of the ENI Server please see the separate server documentation TS1600 | TwinCAT ENI Server . There you will also find a quick start guide.
Also consider the possibility of using the ENI Explorer which allows to perform data base actions independently from the currently used data base system. the communication between TwinCAT PLC Control and the ENI Server requires TCP/IP because the ENI Server uses the HTTP protocol. an ENI Server (ENI Server Suite)) must be installed and started locally or on a remote computer. A license is required to run it with the standard database drivers which are installed with the server. Just the driver for a local file system can be used with a non-licensed ENI Server version. in the ENI Server administration tool (ENI Admin) the following must be configured:
◦the user must be registered and have access rights (User Management) ◦the access rights concerning the data base folders must be set correctly (Access Rights) Recommendation : the administrator password for the access to ENIAdmin.exe and ENIControl.exe should be defined immediately after the installation in the ENI Server service control tool (ENI Control) the connection to the desired data base must be configured correctly (Data base). You will automatically be asked to do this during installation, but you can modify the settings later in ENI Control. 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 be provided by default. TX1200 254 Version: 1.3