A Modbus TCP device combines the connection settings for a Modbus TCP participant. Multiple Modbus TCP data points can be configured for each device.
Use + Add Device to create a new Modbus TCP device.
A maximum of 20 Modbus TCP devices can be created.
A Modbus TCP device can only be saved if the device name, IP address or hostname, and port are entered correctly.
Parameter
Device Name
Enter a unique name for the Modbus TCP device so that it can be clearly identified in the overview.
The device name is also used in the selection lists of the Modbus TCP Value Input and Modbus TCP Value Outputlogic elements.
IP Address or Hostname
Enter the IP address or hostname of the Modbus TCP device to which the connection is to be established.
Port
Enter the port of the Modbus TCP device used for the connection.
The default port for Modbus TCP is 502.
Default Polling Interval in Seconds
This parameter defines the default polling interval for the data points assigned to the respective Modbus TCP device.
The polling interval determines how often the configured data points are read. The value is specified in seconds.
The configured default interval is used for all associated Modbus TCP data points unless an individual polling interval has been defined for a specific data point.
Note
A shorter polling interval allows values to be updated more quickly, but also increases the communication load between the LOGIKEDITOR and the Modbus TCP device.
Byte Order
Select the byte order (endianness) used to process the Modbus data.
This setting determines the order in which the individual bytes are interpreted and must match the configuration of the Modbus TCP device.
The following options are available:
-
Big Endian
-
Little Endian
Word Order
Select the order of the 16-bit words used when processing 32-bit or 64-bit values.
This setting determines the order in which the individual words are interpreted and must match the configuration of the Modbus TCP device.
The following options are available:
-
Big Endian
-
Little Endian
Management
+ Add Device
Click + Add Device to create a new Modbus TCP device.
Copy
Use the copy icon to duplicate an existing Modbus TCP device, including its data points.
The copied device is created as a new entry and receives the prefix Copy of … in its name.
The IP address or hostname is not copied and must be entered again for the new Modbus TCP device.
Note
When copying a device, the associated Modbus TCP data points and their configuration are also copied. Check the copied settings and adjust them to the new device if necessary.
Delete
Use the trash can icon to remove the selected Modbus TCP device.
Before deletion, the LOGIKEDITOR checks whether the Modbus TCP device is used within logic groups.
-
If the device is used in an active online logic group, it cannot be deleted.
-
If the device is used only in a working copy, it can be deleted. However, this will affect the corresponding logic groups.
Warning
Deleting a Modbus TCP device also deletes all associated Modbus TCP data points.
Before deleting the device, check whether the device or any of its data points are used in logic groups.
///