47
4. Operating procedures
Option (RS485 communication function)
5.2
Example of write communication
Example)
Request message: This message requests the Unit addressed to address03 to
set
“SV setting to 135” (write 135).
Reply message from the Unit to this: Returns acknowledgement that the request
message was received.
☆
Check that the message has been correctly written by separately reading out the data.
Write request message (Transmitted from a host PC)
① ② ③ ④ ⑤ ⑥ ⑦
Reply message
(
Returned from the Unit
)
S
T
X
0
3
A
C
K
E
T
X
B
C
C
① ② ⑧ ⑥ ⑦
Code
Symbol
・
data
ASCII code note2)
①
Start code
STX
02H
②
Address
03
30H 33H
③
Request
(
Write
)
W
57H
④
Identifier note 1)
SV1
53H 56H 31H
⑤
Numeric data
00135
30H 30H 31H 33H 35H
⑥
End code
ETX
03H
⑦
BCC data Request
Reply
56H
04H
⑧
Acknowledgement code
ACK
06H
Note 1) See
“7.Identifier/command list” on page 49.
Note 2) For ASCII codes, see
“8.ASCII code list” on page 51.
S
T
X
0
3
W
S
V
1
0
0
1
3
5
E
T
X
B
C
C
Summary of Contents for DKG610
Page 2: ......