Creating a TCP server - Industrial IoT 5.0.2.0 | BACnet | Modbus | OPC Client | SNMP Manager

Industrial IoT Plugin Guide 5.0.2.0

Applies to
Industrial IoT 5.0.2.0 | BACnet | Modbus | OPC Client | SNMP Manager
Last updated
2023-03-20
Content type
Guides > Plugin and extension guides
Language
English
Product
Industrial IoT
Version
5.0

Before you can TCP client devices to Security Center, you must add a TCP server to the Industrial IoT plugin role that the devices can connect to.

Procedure

  1. From the Config Tool home page, open the Plugins task.
  2. From the entity browser, select the Industrial IoT plugin role and click the Protocols tab.
  3. In the Protocols list, turn on the TCP Server switch.
  4. Under the TCP Servers list, click Add TCP server ().
  5. In the Name field, enter a name for the TCP Server.
  6. In the Transport section, enter the following:
    Port
    The TCP port associated to the TCP server. This port must be open on the Security Center main server.
    End of message delimiter
    The characters used to segment the stream of data into multiple messages. Choose one of the following
    • String
    • Regex
    • None
  7. In the Data Format section, enter the following:
    Type
    The type of parsing that should be done on the segmented message. The only supported format is plain text.
    Encoding
    The encoding used to convert the TCP stream bytes into strings. Choose between UTF-8 and ASCII.
    Create device automatically
    Select this option to have the TCP server automatically created as a device on the Devices page.
    Device ID regular expression
    If the device IDs are generated by the TCP server, you must provide a regular expression to capture the value of Device ID from the data message.
    NOTE: To capture a value with a regular expression, a capture group (delimited by parentheses) must be present. The plugin role uses the value returned by the first capture group. If there is no capture group in the regular expression, no value is returned. For help with regular expression syntax, see the Regular Expression Cheat Sheet.
    Config Tool showing the TCP Server configuration in the Industrial IoT plugin role's Protocols page.
  8. Click Apply.

Results

The server is added to the list of TCP Servers. If you selected the Create device automatically option, a TCP Server device is also added to the entity browser under the Industrial IoT plugin role.

After you finish

Add the TCP devices.