Modbus Client Initialization
Overview
Modbus Client Initialization node configures a reusable Modbus connection for TCP or RTU communication.
Set this node once, then use Modbus Client Read and Modbus Client Write nodes for runtime operations.
Input
Type
string requiredConnection type:
TCPRTU
Choose TCP for Ethernet-connected devices and RTU for serial bus devices.
Device ID
integer requiredModbus slave ID (unit ID) of the target device.
This value must match the configured ID on the remote Modbus device.
Number of Connection Attempts
integer requiredMaximum number of connection retries before initialization fails.
TCP Fields
stringWhen Type is TCP, configure:
HostService(port)TCP Response Timeout
These fields define where and how quickly the client expects TCP responses.
RTU Fields
stringWhen Type is RTU, configure:
RTU PortBaud RateData BitsParityStop Bits
These values must match the serial settings on the RTU device exactly.
With Setup Write
booleanIf enabled, performs an initial write sequence during setup before runtime read/write nodes execute.
Setup Write Values
arrayWrite payload list used by setup write operation.
Use this to preload registers/coils to a known startup state.
Output
This node does not provide custom output fields.