4.5 Modbus Configuration
4.5.1 Baud Rate
Modbus supports automatic baud rate and manual baud rate configuration, It can
support the following baudrate : 1200, 2400, 4800, 9600, 14400, 19200, 38400,
57600, 115200.
4.5.1.1 Auto Baud Rate
The default for the first startup is Auto Baud rate.This detection process will last
5 minutes after TR50 start to detect there is data communication from Modbus
master. If there is no right baud rate matched during this 5 minutes, TR50 will work
as the last-detected baud rate, or default to 19200 bps
4.5.1.2 Manual Baud Rate
After the default Auto Baud rate matches, please configure
cfgModbusAutoBaudrate Enable register to false, this will make TR50 work as
Manual Baud rate, then configure desired Baud rate
4.5.2 Modbus Serial Port Settings
•
Data Bits: 8
•
Stop Bits: 1
•
Parity: None/Even/odd (Default: Even)
4.5.3 Modbus Configuration Register Table
Setup/
Addr
Dir
Runtime
Setup
112
R/W
Setup
2000
R/W
TR50 - User Guide
Non-
Name
Volatile
V
cfgHandling
Command
NV
cfgBaudrate
Bits
SKU
Type/Unit
Num
3N/
int16
16
3D/
5N/5D
3N/
enum/
16
3D/
int16
5N/5D
Range
0-3
0: 1200 baud
1: 2400 baud
2: 4800 baud
3: 9600 baud
4: 14400 baud
5: 19200 baud
6: 38400 baud
7: 57600 baud
8: 115200 baud
22
Default
0
5