19 - 36
19.5 Message Formats
19.5.3 Formats 1, 2 (GOT-A900 series microcomputer connection)
(4) Random write in word units (RW) command
The following shows an example of writing "0064
H" and "1" to virtual devices D100 and M0,
respectively.
Item Message format
Request message
(host GOT)
Response
message during
normal
communication
(GOT host)
Response
message during
faulty
communication
(GOT host)
(format 1: GOT-A900 series microcomputer connection (format 1))
(format 2: GOT-A900 series microcomputer connection (format 2))
M15 to 0
0000H
Before execution After execution
D100
0000H M15 to 0
0064HD100
0001H
Sum check is performed in this range.
02
H
STX
03
H
ETX
(H) (L)
C5
43
H 35H
Sum
Check
(H) (L)
Address 2
8
38
H
––
2
32
H
0
30
H
3
33
H
00000000
M
0
M
1
M
2
M
3
M
4
M
5
M
6
M
7
M
8
M
9
M
1
0
M
1
2
M
1
3
M
1
4
M
1
5
M
1
1
10000000
(H) (L)
Data 2 (M15 to 0)
0
30
H
––
0
30
H
1
31
H
0
30
H
(H) (L)
RW
52
H 57H
Command
(H) (L)
Address 1
0
30
H
––
1
31
H
0
30
H
0
30
H
(H) (L)
Data 1 (D100)
0
30
H
––
6
36
H
4
34
H
0
30
H
*1
Following*1
06H
ACK
15H
NAK
The above is a case where
the sum check error (06
H)
has occurred.
15
H
NAK
06
H
Error
code