The General configuration section will appear once a new Ethernet I/O Once a server device has been added successfully. Additional options differ based on the selected protocolcreated, 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. |
Broker Address
Assign an IP Address for the Broker Device.
Port
Assign a port number for the Data Sever.
Client ID
The timeout feature periodically checks whether the connection is still valid. If a requested frame is not received in the assigned time, it will be processed as a communication failure. This option is not applied if the protocol is TCP/IP. Values represent multiples of 100ms. For example, a value of 10 represents 1000ms or 1 second.
Use Clean Session
Enables connecting to the MQTT broker using a clean session, or a non-persistent connection.
Keep Alive
Assign the number of communication retry attempts after a communication failure.
Use SSL
Allows the user to upload all of the tags in the project file to the data server. This option is only available for [OPC UA SERVER] and [SPARKPLUG CLIENT] device protocols.
Key Pair
The SSL box must be checked to access this feature.
Trust Store
Password to the truststore file.
Use MQTT Passwords
Enable/disabled MQTT passwords feature.
MQTT Username
Create MQTT username.
MQTT Password
Create MQTT password.
OPC UA Server
...
Uses each tag’s path as its ID and/or topic, depending on the payload type. |
MQTT Options
...
Item | Description |
Broker Address | IPv4 address or hostname for the MQTT broker. Note that all Xpanel devices run an MQTT broker by default. The default address of 0.0.0.0 will use this built-in broker. |
Port | Port number used by the MQTT broker. |
Client ID | Assign an optional client ID for publishing and subscribing. |
Use Clean Session | Enables connecting to the MQTT broker using a clean session, or a non-persistent connection. |
Keep Alive | Denotes the keepalive time used by the mqtt client in seconds. |
Use SSL | Enables SSL encryption when communicating with the broker. |
Key Pair | Select a key pair to use for the SSL encryption feature. These can be edited in the Certificates Editor window. |
Trust Store | Select a trust store to use for the SSL encryption feature. These can be edited in the Certificates Editor window. |
Use MQTT Passwords | When this property is enabled, a username and password will be used when connecting to the MQTT broker. |
MQTT Username | Choose the MQTT username for connecting to the broker |
MQTT Password | Choose an MQTT password for connecting to the broker |
MQTT Message Queue
...
Item | Description |
Use Message Queue | Denotes whether the client should use a message queue, which will store messages while the client is disconnected. |
Message Queue Size | Denotes the maximum number of messages to be held in the message queue. Values can range from 20 to 10000. Default 1000. |
Message Queue Publish Rate Limit | The minimum time (ms) between publishes, with 0 being as fast as possible. Maximum value 10000. This can be used to reduce network bandwidth, at the cost of slow response times. |
Use Message Queue Age Limit | When enabled, the publisher will impose an age limit on queued messages. |
Message Queue Age Limit (s) | The maximum age in seconds of a message that will be published, older messages will be discarded. |
Running Mode
...
Item | Description |
Running Mode | Sets the criteria for when to publish a payload. Default “On Change Any”.
|
Polling Rate (ms) | Determines the rate (ms) for polling tag changes when “Running Mode” is set to “On Scan Delta” or “On Scan All”. |
Payload Info
...
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 upload host all of the tags in the project file to on the data server. This option is only available for OPC UA SERVER and MQTT JSON Publisher device protocolsUses 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. |
Ethernet
...
Item | Description |
Port | Assign a port number for the Data Sever. |
Encryption
...
Item | Description |
Enable Encryption | Enables encryption for the server. Note that authentication will be disabled unless this option is enabled. |
Generate Certificate | When enabled, a key pair will be automatically generated on the device once the project is run. When disabled, a user-specified key pair will be used instead. |
Key Pair | Select a key pair to use for encryption. Key pairs can be edited in the Certificates Editor window. |
Trust All Certificates | When enabled, all incoming certificates will be trusted. When disabled, only the certificates in the trust store will be trusted. |
Trust Store | Specify a trust store of certificates to trust. Communication that is not encrypted by one of the certificates in the trust store will be rejected. Trust stores can be edited in the Certificates Editor window. |
Encryption Security Policies
...
These properties define which encryption methods are accepted by the server. OPC UA Clients will be able to connect using any of the allowed methods.
For each encryption type, the user can choose one of the following policies:
None: Allows the selected encryption method (only applies to “No Encryption”).
Disabled: The encryption method will not be allowed.
Sign: The method can be used for signing messages, but not for encryption.
Sign and Encrypt: The method can be used for message signing and encryption, but both encryption and signong must be used.
Both: The method can be used for either signing or encryption. Encryption is allowed but not required.
The following encryption methods are supported:
No Encryption
Basic 128 RSA-15
Basic 256
Basic 256 SHA-256
AES-128 SHA-256 RSA-OAEP
Anonymous Authentication
...
Anonymous clients are OPC UA Clients that do not provide a username or certificate.
Item | Description |
Allow Anonymous Authentication | Allows anonymous clients to connect to the server. |
Allow Anonymous Browse | Allows anonymous clients to browse topics on the server. |
Allow Anonymous Read | Allows anonymous clients to read tag values from the server. |
Allow Anonymous Write | Allows anonymous clients to write tag values to the server. |
Username Authentication
...
Item | Description |
Allow Username Authentication | When enabled, clients can be authenticated by providing a username and password. Only username/password combinations defined in the server list will be authenticated. Each user may be configured to have different access permissions. |
Username | Sets the username for the user. |
Password | Sets the password for the user. |
Allow Browse | When enabled, the user may browse topics on the server. |
Allow Read | When enabled, the user may read tag values from the server. |
Allow Write | When enabled, the user may write tag values to the server. |
Add New User | Adds a new user to the list. |
Removes the user from the list. |
Certificate Authentication
...
Item | Description |
Allow Certificate Authentication | Allows clients to use certificates for authentication. When “Trust All Certificates” is enabled, any certificate may be used for authentication. When “Trust All Certificates” is disabled, only certificates found in the trust store may be used. |
Allow Certificate Browse | When enabled, clients authenticated using a certificate may browse topics on the server. |
Allow Certificate Read | When enabled, clients authenticated using a certificate may read tag values from the server. |
Allow Certificate Write | When enabled, clients authenticated using a certificate may write tag values to the server. |
Authentication Policy Properties
...
Item | Description |
Match Endpoint Security Policy | When enabled, auth tokens will be encrypted using the same security policy as the endpoint they are attched to. |
Allow Unencrypted Authentication | Allows clients to authenticate without encryption. Only used when “Match Endpoint Security Policy” is enabled. |
Authentication Security Policy | Specifies the security policy to use for authenticating users. Only used when “Match Endpoint Security Policy” is disabled. |
Tag Options
...
Item | Description |
Server Layout | Determines the prefix structure for OPC UA tag topics.
Example: for a tag with browse name “browseName“ and I/O device “deviceName“:
Note: Client devices should use an address containing the prefix |
Default Allow Read | When enabled, tags hosted on the server will be readable by default. Individual tags may overwrite this option in the “Device Tag” tab. |
Default Allow Write | When enabled, tags hosted on the server will be writable by default. Individual tags may overwrite this option in the “Device Tag” tab. |