logoct.jpg (1347 bytes) ConsoliTech Corp.   
  
       Industrial Control Systems
OPC HMI Industrial Control Toolkit  and Servers
Home

VB HMI Toolkit

OPC PLC servers

ActiveX PLC Communications

Full working downlable DEMO

Product list and Pricing

Industrial Control Systems Design and Development

this is a note

New KEPServerEX Feature
   Automatic Tag Database Generation

The promise of OPC is to make the customer's life easier. With that goal in mind consolitech has added a new feature that helps bring OPC technology closer to true Plug and Play operation. The Automatic Tag Database Generation feature of KEPServerEX, available on select OPC servers, allows you to configure all of the necessary tags for your device automatically at startup, or with the simple press of a button.

OPC Tag browsing is one of the key features of OPC technology. To use this feature in most cases requires the user to manually enter all of the tags required for their application. While tedious, once complete the user had the benefit of being able to point and click from their OPC client applications to link with these tags. The Automatic Tag Database Generation feature of KEPServerEX eliminates that last tedious step for OPC users. For the drivers that support it, this feature makes OPC project setup a quick and painless operation.

As of 09/20/2002 the following drivers now support this feature:

Here is an excerpt from the KEPServerEX help describing the Automatic Tag Database Generation function:


The automatic OPC tag database generation features of KEPServerEX have been designed to make the setup of your OPC application a Plug and Play operation. For communication drivers that support this feature, you can configure them to automatically build a list of OPC tags within KEPServerEX that correspond to device specific data. The automatically generated OPC tags can then be browsed from your OPC client. The OPC tags that are generated are dependent upon the nature of the supporting driver.

If the target device supports its own local tag database the driver will read the device's tag information and use this data to generate OPC tags within KEPServerEX. If the device does not natively support its own named tags, the driver will create a list of tags based on information specific to the driver. An example of these two conditions may be as follows:

  1. A data acquisition system that supports its own local tag database. The driver will use the tags names found in the device to build KEPServerEX's OPC tags.
  2. An Ethernet I/O system that supports detection of I/O module type. The driver in this case will automatically generate OPC tags in KEPServerEX that are based on the types of I/O modules plugged into the Ethernet I/O rack.

The mode of operation for automatic tag database generation is completely configurable. The following dialog allows you to configure how KEPServerEX and the associated communications driver will handle automatic OPC tag database generation:

The "Automatic tag database generation on device startup" selection allows you to configure when OPC tags will be automatically generated. There are three possible selections. The default condition, "Do not generate on startup", will prevent the driver from adding any OPC tags to the tag space of KEPServerEX. The selection "Always generate on startup", will cause the driver to always evaluate the device for tag information and to add OPC tags to the tag space of the server each time the server is launched. The final selection "Generate on first startup" will cause the driver to evaluate the target device for tag information the first time this KEPServerEX project is run and to add any OPC tags to the server tag space as needed. When the automatic generation of OPC tags is selected, any tags that are added to the server's tag space must be saved with the project. You can configure your KEPServerEX project to auto save from the Tools|Options menu.

When automatic tag generation is enabled, the server needs to know what to do with OPC tags that it may have added from a previous run or with OPC tags that you may have added or modified after the communications driver added them. The selection "Perform the following action" allows you to control how the server will handle OPC tags that were automatically generated and currently exist in your KEPServerEX project. This feature prevents automatically generated tags from piling up in the server. This would occur if, using the Ethernet I/O example above, you continued to change the I/O modules in the rack with KEPServerEX configured to always generate new OPC tags on startup. Under this condition every time the communications driver detected a new I/O module, the tags would be added to the server. If the old tags were not allowed to be removed, a number of unused tags could accumulate in the server's tag space. The selection "Perform the following action" allows you to tailor the server's operation to best fit your application's needs. The default condition,"Delete on create" allows the server to remove any tags that had previously been added to the tag space before the communications driver can add any new tags. The second selection, "Overwrite as necessary", will allow the server to remove only tags the communications driver is replacing with new tags. Any tags that are not being overwritten will remain in the server's tag space. The third selection ,"Do not overwrite", will prevent the server from removing any tags that had been previous generated or may have already existed in the server. With this selection, the communications driver can only add tags that are completely new. The final selection "Do not overwrite, log error", has the same effect as the third with the addition, an error message will be posted to KEPServerEX's event log when a tag overwrite would have occurred.

Note: The removal of OPC tags affects tags that have been automatically generated by the communications driver and any tags you have added using names that match generated tags. It is recommended that you try to avoid adding your own tags to the server using names that are identical to tags that are automatically generated by the driver.

To aid in keeping automatically generated tags from mixing with tags you may have entered manually, the parameter, "Add generated tags to the following group" can be used. This parameter allows you to specify a sub group that will be used when adding all automatically generated tags for this device. The name of the sub group can be up to 31 characters in length. The following displays demonstrate how this parameter effects where automatically generated tags are placed in the server's tag space. As shown here, this parameter provides a root branch to which all automatically generated tags will be added:

No sub group specified.

Sub group named"MyGroup" specified.

The "Auto Create" button allows you to manually initiate the creation of automatically generated OPC tags. If you modify the configuration of your device and want the communications driver to reevaluate the device for possible tag changes, pressing the "Auto Create" button will force this to occur. The "Auto Create" feature can also be accessed from the System Tags for this device allowing your OPC client application to initiate tag database creation.


ConsoliTech Corp.
Contact us at
Email sales@consolitech.com
317-258-3544

credit cards accepted

Back to Top

Hit Counter vistor counter

Copyright (c) 1996-2003 ConsoliTech Corp. All rights reserved.
Information in this document is subject to change without notice.
Other products and companies referred to herein are trademarks or registered trademarks of their respective companies or mark holders.
*Prices are subject to change without notice

Site references: OPC, PLC communications with I/O scanning and modem support for Modicon Modbus, Allen-Bradley Data Highway, SLC 500 serial DF1 protocol, Opto22, Modbus, AB, SLC 500, SLC 5/03, SLC 5/04, DH, DH+, MicroLogix, ModBus, Modicon, MMI, Operator Interface, HMI, SCADA, User Interface, Visual Basic, VB controls, OCX, ActiveX, controls, ModBus protocol, PLC, programmable controllers, DF1 , Data acquisition, Alarming, Trending, SPC, Data logging, Modbus, Industrial notebook computer enclosure, Notebook computer, Enclosures, Computer enclosures, Industrial computer, SA-85, Industrial, Industrial Controls, Modbus.SLC 500, Data Highway, DataHighway, AB, Data highway driver, Modbus driver, Modbus communications, Data highway communications.