9
RS-232C Communication (continued)
Communicaion settings
1. Protocol
ESV1
2. Command format
KVKRZVKH[DGHFLPDO
%\WH1XPEHU
0
1
2
3
4
5
6
7
8
9
10
11
12
&RPPDQG
Action
Header
'DWD
Header
code
3DFNHW
'DWD
size
&5&
ÀDJ
Action
7\SH
Setting
code
/
H
/
H
/
H
/
H
/
H
/
H
<SET>
&KDQJHVHWWLQJWR
GHVLUHGYDOXH>F/F+@
E\>H/H+@
%(K ()K
K
K K
D/
(aH)
K K E/
(bH)
F/
(cH)
<GET>
5HDGSURMHFWRU
LQWHUQDOVHWXSYDOXH>E/
E+@
D/
(aH)
K K E/
(bH)
K K
,1&5(0(17!
,QFUHPHQWVHWXSYDOXH
>E/E+@E\
D/
(aH)
K K E/
(bH)
K K
'(&5(0(17!
'HFUHPHQWVHWXSYDOXH
>E/E+@E\
D/
(aH)
K K E/
(bH)
K K
(;(&87(!5XQD
FRPPDQG>E/E+@
.
D/
(aH)
K K E/
(bH)
K K
[Header code] [Packet] [Data size]
6HW>%(K()KKKK@WRE\WHQXPEHU
~ 4.
>&5&ÀDJ@
For byte number
refer to
56&&RPPXQLFDWLRQFRPPDQGWDEOH
(
11
)
.
[Action]
6HWIXQFWLRQDOFRGHWRE\WHQXPEHU
<SET
! >KK@
GET
! >KK@,1&5(0(17
> =
>KK@
<
'(&5(0(17! >KK@(;(&87(! >KK@
5HIHUWRWKH&RPPXQLFDWLRQFRPPDQGWDEOH
(
above
).
[Type] [Setting code]
For byte number
9
〜
12
UHIHUWR
56&&RPPXQLFDWLRQFRPPDQGWDEOH
(
11
)
.