Once a server device has been created, its options can be configured in the “Device Setting” tab of the Data Server Editor window.
Table of Contents |
---|
Modbus TCP
...
Item | Description |
Device Name | Allows the user to assign a name for the selected data server device. |
Device Protocol | Allows the user to select a protocol for a device. |
Host | Assign an IP Address for the Data Server |
Port | Assign a port number for the Data Sever. Default is 502. |
Unit ID | Assign a unit ID to the server. This is typically only used in Ethernet-serial conversion setups. Default 0. |
String Encoding | Specifies the string encoding method that client devices will see when accessing tag data. Note that this option is separate from the string encoding option used by tags in the Tag Editor. This setting cannot be overridden by individual tags. |
String Encoding Method | When an invalid character is encountered in a hosted tag’s value, the gateway will use one of the following options:
Note that this option is separate from the string encoding method option used by tags in the Tag Editor. This setting cannot be overridden by individual tags. |
MQTT JSON Publisher
General Options
...
Item | Description |
Device Name | Allows the user to assign a name for the selected data server device. |
Device Protocol | Allows the user to select a protocol for a device. |
Use All Tags | Allows the user to host all of the tags in the project file on the data server. Uses each tag’s path as its ID and/or topic, depending on the payload type. |
...
Item | Description |
Publish Payload Format | Selects one of several built-in payload formats for publishing. Note: Client devices must to be configured to listen for payloads with a matching format. The payload can be set to include data from a single tag or multiple tags:
Each format type uses a separate JSON object to store each tag’s data. This “tag value object” can embedded within the payload structure in different ways:
There are also two pre-made payload options: “Basic” and “Full”:
|
Publish QOS | Choose the Quality of Service to use when publishing. Determines how many times each message will be sent in the event of packet loss.
In general, a higher value means the data will be more accurate, but this will also require more handshakes and bandwidth consumption. |
Publish Retain Messages | When enabled, the last known value for each topic will be retained by the broker. When a new client subscribes to a topic, the retained value will be published to the client by the broker. The broker will only retain up to one value per topic. |
Publish Topic Prefix | Sets a prefix string to include in all publish topics. Note that this does not automatically add a For example, with a prefix of |
Publish Topic Suffix | Sets a suffix string to include in all publish topics. Note that this does not automatically add a For example, with a suffix of |
Access Type | The MQTT JSON Publisher server device always publishes MQTT messages when a hosted tag’s value updates. This setting lets you choose whether the device also subscribes to MQTT messages from clients.
|
Subscribe Payload Format | Selects one of several built-in payload formats for subscribing. Note: This property only changes the expected payload format for subscribing. Client devices must be configured to publish payloads use a matching format. Any subscribed messages and properties that do not match the specified format will be ignored. The payload can be set to include data from a single tag or multiple tags:
Each format type uses a separate JSON object to store each tag’s data. This “tag value object” can embedded within the payload structure in different ways:
There are also two pre-made payload options which allow you to specify which properties to include: “Basic” and “Full”.
Note: All datetime strings use the format “yyyy-MM-ddTHH:mm:ss”. |
Subscribe QOS | Choose the Quality of Service to use when subscribing. Determines how many times each message will be sent in the event of packet loss.
In general, a higher value means communication will be more reliable, but also requires more handshakes and bandwidth consumption. |
Subscribe Tag Identifier Type |
|
Subscribe Clamp Method | Sets how provided values will be clamped to the tag’s data type.
|
Subscribe Topic Prefix | Sets a prefix string to include in all subscribe topics. Note that this does not automatically add a For example, with a prefix of |
Subscribe Topic Suffix | Sets a suffix string to include in all subscribe topics. Note that this does not automatically add a For example, with a suffix of |
OPC UA Server
General Options
...
Item | Description |
Device Name | Allows the user to assign a name for the selected data server device. |
Device Protocol | Allows the user to select a protocol for a device. |
Use All Tags | Allows the user to host all of the tags in the project file on the data server. Uses each tag’s path as part of its topic. |
Server Name | Enter the name of server. |
Application URI | Enter the Uniform Resource Identifier (URI) to locate the asset on a network. |
Application Name | Name of the URI application. |
...