The promise of OPC is to make the customer's life easier. With
that goal in mind Kepware 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 07/22/2003 the following drivers now support this feature:
- Allen Bradley Bulletin 900
- Allen Bradley ControlLogix
- AutomationDirect
Ethernet Base Controller (EBC)
- AutomationDirect ECOM
- AutomationDirect DirectNet
- AutomationDirect KSequence
- Dataforth isoLynx
- Fisher ROC Serial
- Fisher ROC Plus Serial
- GE Fanuc Ethernet Global Data
- GE Ethernet
- GE SNP
- GE SNPX
- Hilscher Universal
- Honeywell HC900
- IDEC
- InTouch Client Driver
- Modbus RTU Serial
- Modbus Plus
- Modbus Ethernet
- Optimation OptiLogic Ethernet I/O
- Scanivalve
- SIXNET UDR
- Thermo Westronics SV100/SV180
- Thermo Westronics Serial Communications
- Triconex Ethernet
- WAGO 750 Ethernet I/O
- WeatherBug Driver
- Wonderware InTouch Client Driver
- Yokogawa CX Ethernet
- Yokogawa Darwin
- Yokogawa Darwin Serial
- Yokogawa DX Ethernet
- Yokogawa DX Serial
- Yokogawa DXP Ethernet
- Yokogawa HR 2400
- Yokogawa MW
- Yokogawa MX
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:
A data acquisition system that supports its own local tag database. The driver
will use the tag names found in the device to build KEPServerEX's OPC tags.
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 affects 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.
KEPServerEX Features Page »» |