32
R
R
S
S
-
-
2
2
3
3
2
2
C
C
a
a
b
b
l
l
e
e
S
S
p
p
e
e
c
c
i
i
f
f
i
i
c
c
a
a
t
t
i
i
o
o
n
n
s
s
Make sure the RS-232 cable matches the cable specification design.
R
R
S
S
-
-
2
2
3
3
2
2
T
T
r
r
a
a
n
n
s
s
m
m
i
i
s
s
s
s
i
i
o
o
n
n
S
S
p
p
e
e
c
c
i
i
f
f
i
i
c
c
a
a
t
t
i
i
o
o
n
n
s
s
Start bit
:
1 bit
Data bit
:
8 bit
Stop bit
:
1 bit
Parity bit
:
None
X parameter
:
None
Baud rate (Communication speed)
:
9600bps
R
R
S
S
-
-
2
2
3
3
2
2
C
C
o
o
m
m
m
m
u
u
n
n
i
i
c
c
a
a
t
t
i
i
o
o
n
n
F
F
o
o
r
r
m
m
a
a
t
t
Send Device
Code(1 Byte)
0x52
Type Code
(1 Byte)
0x0B
0x0A
Data Length
Code(1 Byte)
0x03
0x01
Data[0] Code
(1 Byte)
RS-232 Send Command Table
RS-232 Get Command Table
Data[1] Code
(1 Byte)
RS-232 Send Command Table
X
Data[2] Code
(1 Byte)
RS-232 Send Command Table
X
Receive Device
Code
(1 Byte)
0x53
CheckSum Code
(1 Byte)
RS-232 Send Command Table
RS-232 Get Command Table
Format
Send Device
+
Type
+
Length
+
Data
+ Receive Data +
CheckSum
Send Device
+
Type
+
Length
+
Data
+ Receive Data +
CheckSum
Example
Power On Command:
0x52 + 0x0B + 0x03 + 0x01 +
0x01 + 0x00 + 0x53 + 0x5B
Get WB Red Value :
0x52 + 0x0A + 0x01+ 0x02+ 0x53
+ 0x5A