EasyManua.ls Logo

USR IOT USR-M100 - Modbus TCP;RTU Gateway; Ethernet Masters with Serial Slaves

USR IOT USR-M100
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
User Manual
Your Trustworthy Industrial IoT Partner www.pusr.com
55
Fig. 68 Synchronizing serial port parameters
5.3.1. PUSR customized RFC2217 protocol
Table 19 Com Port Control commands
Name
Header
Baud rate
Serial parameter definition
Sum check
Length(bytes)
3
3
1
1
Description
Fixed
Big endian,
e.g.
600(00 02
58)
Data bits/stop bits/parity
bits setting.
AS shown in the table 20
below
Check sum of 4 bytes of
baud rate and serial
parameter definition, retain
the least significant byte
115200,N,8,1
55 AA 55
01 C2 00
03
C6
9600, N,8,1
55 AA 55
00 25 80
03
A8
Table 20 Serial parameter definition
Bit Position
Function
Value
Description
1:0
Data bits
10
7 Data bits
11
8 Data bits
2
Stop bits
0
1 Stop bits
1
2 Stop bits
3
Parity bit enable
0
disable the parity bit
1
Enable the parity bit
5:4
Parity bit type
00
ODD
01
EVEN
10
Mark
11
Space
7:6
undefinition
00
Please write 0

Table of Contents