- 14 -
4.2 Sample Communication for Writing
Example:
Request Message: Request this product, which address is set as "03," to "set 011" (write 011)
to E1F (upper computer).
(Set the function of Event 1 to Minimum Dev Retain)
For the above request,
Response Message: Return the message to tell that the request message has been received.
(This product)
☆ Read the data separately to check if the data is written correctly.
Write Request Message (to be sent by the upper computer)
S
T
X
0 3
A
C
K
B
C
C
E
T
X
① ②
⑥ ⑦
⑧
S
T
X
0 3 W
B
C
C
E 1 F
E
T
X
① ② ③
|
④
|
⑥ ⑦
0 0 0 1 1
|
|
⑤
|
|
Code
Symbol
・
Data
ASCII Code Note 2)
① Start Code
STX
02H
② Address
03
30H 33H
③ Contents of Request
W (Write)
57H
④ Identifier Note 1
EIF
45H 31H 46H
⑤ Numerical Data
00011
30H 30H 30H 31H 31H
⑥ End Code
ETX
03H
⑦ BCC Data Request
Response
57H
04H
⑧ Acknowledgment Code
ACK
06H
Note 1: See "9. List of Identifiers (Codes)."
Note 2: See "10. List of ASCII Codes" for the details about ASCII codes.