Main Content

RS485 properties

Use the RS485 properties to configure the baud rate for communication and control pin connections of the RS485 network.

You can set these parameters to configure the RS485 properties.

Serial Module

Select the type of serial module or port that the block will use for Modbus® communication.

Settings

Default: Serial 1

BaudRate

Set the baud rate of the serial port on the Arduino® hardware for the RS485 serial communication.

Settings

Default: 9600

Configuration

Select the data frame configuration for the RS485 Modbus communication blocks. The first digit indicates the number of bits in each data packet. The second digit indicates the parity bits present in the data packet. The last digit indicates the number of stop bits in each data packet. For example,

  • SERIAL_8N1 indicates 8-bit data communication with no parity bits and one stop bit

  • SERIAL_5E1 indicates 5-bit data communication with even parity bits and one stop bit

  • SERIAL_6O2 indicates 6-bit data communication with odd parity bits and two stop bits

Settings

Default: SERIAL_8N1

SERIAL_5N1, SERIAL_6N1, SERIAL_7N1, SERIAL_5N2, SERIAL_6N2, SERIAL_7N2, SERIAL_8N2, SERIAL_5E1, SERIAL_6E1, SERIAL_7E1, SERIAL_8E1, SERIAL_5E2, SERIAL_6E2, SERIAL_7E2, SERIAL_8E2, SERIAL_5O1, SERIAL_6O1, SERIAL_7O1, SERIAL_8O1, SERIAL_5O2, SERIAL_6O2, SERIAL_7O2, SERIAL_8O2

DE Pin

Enter the data enable pin number associated with the RS485 shield.

Settings

Default: 8

RE Pin

Enter the receive enable pin number associated with the RS485 shield.

Settings

Default: 9