Serial Interface Settings for Master or Slave

Serial Interface Settings for Modbus Master/Slave
Browser:
- Click Serial Application
- Click Change Serial Parameters

Serial Parameters
Serial Interface - the name of the serial interface under configuration.
Data Bits - the number of data bits (5, 6, 7 or 8). The default is 8.
Stop Bits - the number of stop bits (1 or 2). The default is 1.
Parity - the parity setting. The default is None.
Speed (Baud rate) - select the appropriate baud rate of the serial Modbus device.
Flow Control - this must be set to None for Modbus applications.
Connection Type - the type of serial connection to be used.
- RS232 - full-duplex direct serial connection to the device.
- RS422 - full-duplex 4-wire serial connection to the device.
- RS485 - half-duplex 2-wire serial connection to the device.
Protocol - the protocol used to communicate with the serial device. The available protocols are dependent on the optional
features that are enabled. Select Modbus RTU or Modbus ASCII.
- Modbus/RTU - the Modbus protocol using RTU framing.
- Modbus/ASCII - the Modbus protocol using ASCII framing.
Protocol Options
Message length and Message Terminator - These values are ignored for Modbus applications.
Message Timeout - Defines the maximum time between characters received from the serial device (Master or Slave device). For the
Bridge to determine the end of a message received from the serial device, the Bridge will wait this amount of time for the next
character. If no character is received, the EtherPAD assumes that the complete message has been received and the data is sent to the Slave
device via the network. If this value is set too small, the complete message may not be received and data from the serial device will be
lost. If this value is set too large, the performance of the Bridge will be negatively affected. Also take note that this timeout is
influenced by the selected baud rate. Usually, the slower the baud rate, the larger the timeout.
For Modbus ASCII, a value of 1000 ms should be sufficient.
For Modbus RTU, the maximum value of 142 ms is allowed. Setting a higher value may cause your device to lock up during the boot sequence
(you will need to serially reset to default factory settings to recover from this error).
For Modbus RTU, the values in following table can be used as a guideline. (These timeouts are dependent on the speed of the Modbus device
and may need to be adjusted for optimal performance):

Message Timeout Guideline