Tab 'Modbus Master Serial - General'

Object: Modbus Master Serial

This tab includes the basic settings for Modbus communication.

Modbus RTU/ASCII

Transmission mode

  • RTU: Transmission in binary

  • ASCII: Transmission in ASCII code (currently not supported by all drivers)

Response timeout (ms)

The response timeout sets the time interval that the master will wait for the answer from a slave node. If the nodes do not answer within this time interval, then an error is recorded for hte implicit slave function block. The value entered for the time interval is also the default value for each node. For each node, you can still set a specific value within its slave configuration.

Time between frames (ms)

The time between the frames is the send pause of the master between the last response (and a timeout) and the next request. Use this parameter to make the communication less liable to disruption.

Auto-restart communication

: After a communication error, CODESYS automatically confirms the error and attempts to continue executing the Modbus command.

: The error must be explicitly confirmed in the slave function block.

See also