This document describes configuring the OPC UA Server.
CR Series HMI / DA Series Data Station / Graphite Controllers and HMIs
Use Case: Using the OPC UA Server
The OPC UA Server can be used to transfer tag data to an OPC UA Client.
Referring to Figure 1, open the database that the OPC UA Server will be added to and click on the Ethernet tab that will be used for the OPC UA connection.
If it has not yet been configured, configure the port as needed for the application.
Click on the OPC UA Server under Services.
Set Enable Server to Yes.
Configure the Service Tab
Server Name: Specify the name of the server. If a name is not specified, the host portion of the endpoint name will be used
Endpoint Host: Specify the host portion of the endpoint for the server. The hostname will be prefixed with opc.tcp:// and followed by the port number to create the endpoint name. If a name is not specified, the server will use the device's specified or default (MAC ID.local) ZeroConfig name.
Listen on Port: The TCP port to monitor for OPC UA traffic, the default should be suitable for most applications.
Debug Output: Enable if the communications are not working as desired.
Model Layout: Specify how the OPC UA data model should be structured. By default, Crimson exposes data arrays and tags under a version-specific folder to allow for easier upgrades. This can be overridden to omit the data arrays and place the tags straight under the Objects folder. This shortens path names at the expense of vulnerability to upgrade incompatibility.
Tag Structure: Specify how Crimson's tags should be presented in the server's OPC UA data model. The Simple List option will ist all tags in a single folder, while the Folder option will arrange the tags according to the folder structure created within the Tags section of the database. The Short Name option will name each leaf node with the final portion of the tag's name, while the Long Name option will use the full dotted name of the tag.
Array Layout: Specify whether array elements should be created in the tag list, or whether a specific folder should be created for them.
Show Properties: Indicate whether each tag's properties should be included in the server's OPC UA data model. The properties expose the various items of tag information that can be accessed using the dot operator from within Crimson. If StateText is enabled, each tag that has a multi-state format will include an array that can be used to translate the tag's value into a string.
Record History: Indicate whether the OPC UA server should record historic value to the unit's memory card.
Sample Rate: Indicate how often to record historic values.
Disk Usage Limit: Indicate the percentage of the memory card that should be allocated to store historical data.
Collection Time: Indicate how much of the timeout hint from the client should be used for collecting data from the memory card, and therefore how much time should be left for transmitting that data. The default value is suitable for most applications, but can be reduced is issues are encountered on slow links.
Allow Writes: Indicate whether the server should allow writes from clients.
Configure the Data Transfer
Click on the Data tab.
Click on Data Tags in the Resource Pane.
Click and drag the tags to transfer from the Resource Pane into the Contents window of the Editing Panem, as shown in Figure 2.
Click Link-Update to send the database to the unit.
The unit is now ready for an OPC UA connection.
Accessing the Data
Another Crimson device can be used, as described in the Using the OPC UA Client Driver Tech Note.
The Crimson 3.1 Training - How to Set Up an OPC UA Server video shows configuring the OPC UA Server and using UAExpert to monitor the data.
It is the customer's responsibility to review the advice provided herein and its applicability to the system. Red Lion makes no representation about specific knowledge of the customer's system or the specific performance of the system. Red Lion is not responsible for any damage to equipment or connected systems. The use of this document is at your own risk. Red Lion standard product warranty applies.
Red Lion Technical Support
If you have any questions or trouble contact Red Lion Technical Support by clicking here or calling 1-877-432-9908.
For more information: http://www.redlion.net/support/policies-statements/warranty-statement