Required Parameters
To add a device using the Modbus TCP/IP communication protocol, the following parameters are required.A unique identifier for the device.Example:
converter1Indicates the type of device.Options:
converter, battery, otherThe communication protocol between the controller and the device. For this type of device, it will always be
Modbus TCP/IP.Example: Modbus TCP/IPThe static IP address set for the device.Example:
192.168.1.20The port number used for communication. Please consult the device’s manual to determine the port on which it communicates.Example:
502The slave ID of the device. Please consult the device’s manual to determine the specific slave ID.Example:
1The name of the device’s control map on the controller.Example:
cet_30C3_controlThe name of the device’s address map on the controller.Example:
cet_30C3_address_mapIndicates whether the device is enabled or disabled. A value of true means the device is disabled, while false means the device is enabled.
Optional Parameters
The parameters listed below are optional and are not required for a device with the Modbus TCP/IP protocol to work properly. However, sometimes it is desirable to add these optional parameters for device monitoring or because they are required by the manufacturer.Marks this device as critical or not. If a device is marked as critical (value true), any fault occurring on this device will send out an alert or notification over Telegram.
Indicates the delay between consecutive Modbus operations, read or write. Between each Modbus command, the controller will wait this amount of time. The value is expressed in seconds.Example:
0.2Indicates the name of the device’s forward map on the controller.Example:
cet_30C3_forward_mapExample
The snippet below demonstrates a device with idconverter1 and protocol Modbus TCP/IP, including all the required parameters along with the optional parameters.
When configuring a device with Modbus TCP/IP communication, ensure all required parameters are correctly specified to prevent configuration errors. Optional parameters can offer additional
functionality and control but are not essential for basic operation. Always verify that the paths provided for addressMap and controlMap are accurate and that the files exist in the specified locations.