47
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
Activate the function "auto-reconnect" at the master to assure that CODESYS automatically con-
firms communication errors and tries to continue with executing Modbus commands instead of
interrupting the Modbus communication.
Otherwise the error has to be reset using a slave function block.
5.3.2 Configuring the external Modbus TCP slave
Add an external Modbus TCP slave using the "Add Device" function and configure the slave.
In this example the Turck multiprotocol device TBEN-S1-4DIP-4DOP is used as Modbus slave.
Fig. 29: Configuring the Modbus TCP-Master
Fig. 30: Configuring the external Modbus TCP slave