Jinan USR IOT Technology Limited IO808 사용자 설명서
USR-IO808-EWR User Manual
Technical Support:
h.usriot.com
Jinan USR IOT Technology Limited
www.usriot.com
16
2.6. Serial port
2.6.1. Basic parameters
Parameter
Range
Baud rate
300~230400
Data bits
7, 8
Stop bits
1, 2
Parity
NONE, EVEN, ODD
Figure 21 Serial port basic parameters
2.6.2. Configuration method
Serial port parameters occupy two registers. Length of protocol is 4 bytes and specific protocol content as
follow(All examples are in HEX format):
follow(All examples are in HEX format):
Name
Baud rate
Parameter bit
Number of bytes
3
1
Description
Three bytes represent a baud rate
value and high-order in the former
Refer to Serial port parameter
bit
Example 1(115200, None, 8, 1)
01 C2 00
03
Example 2(9600, None, 8, 1)
00 25 80
03
Figure 22 Serial port parameters protocol
Bit number
Representation
Value
Description
1:0
Data bits
10
7 bits data bits
11
8 bits data bits
2
Stop bits
0
1 bit stop bits
1
2 bits stop bits
5:4:3
Parity
000
None
001
ODD
011
EVEN
7:6
No definition
00
Please write 0
Figure 23 Serial port parameter bit
2.7. Features
2.7.1. Relay output status hold
User can configure whether hold Relay output status: After restarting IO808-EWR or powering on IO808-EWR
again, hold the Relay output status or reset to disconnect status.
➢
again, hold the Relay output status or reset to disconnect status.
➢
Register address: 182(0x00B6)
➢
Parameter values: 1(0x0001): All Relays hold status after restarting or powering off. 2(0x0002): All relays
hold status after restarting and don’t hold status after powering off. 3(0x0003): All relays don’t hold status
after restarting or powering off.
hold status after restarting and don’t hold status after powering off. 3(0x0003): All relays don’t hold status
after restarting or powering off.