(4) Random write in word units (RW) command
The following shows an example of writing "0064H" and "1" to virtual devices D100 and M0, respectively.
Before execution
Item
(format 1: GOT-A900 Series microcomputer connection (ASCII))
Command
R
52
(H)
Request message
(host
GOT)
(format 2: GOT-A900 Series microcomputer connection (Binary))
Response
message during
normal
communication
(GOT
host)
Response
message during
faulty
communication
(GOT
host)
D100
0000
H
M15 to 0
0000
H
Address 1
W
0
1
0
0
57
30
31
30
30
30
H
H
H
H
H
H
(L)
(H)
–
–
(L)
(H)
Command
Address 1
R
W
00
64
H
After execution
Message format
Data 1 (D100)
Address 2
0
0
6
4
8
3
30
36
34
38
33
H
H
H
H
H
H
–
–
(L)
(H)
–
Data 1
Data 2
Address 2
(D100)
(M15 to 0)
00
00
20
80
00
H
H
H
H
H
H
0
0
0
0
M
M
M
M
1
1
1
1
5
4
3
2
ACK
06
H
Error
NAK
code
15
06
H
H
The above is a case where
the sum check error (06
)
H
has occurred.
3.4 Message Formats
D100
0064
H
M15 to 0
0001
H
Data 2 (M15 to 0)
2
0
0
0
0
1
32
30
30
30
30
31
H
H
H
H
H
H
–
(L)
(H)
–
–
(L)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
M
M
M
M
M
M
M
M
M
M
M
M
M
M
1
1
1
1
1
1
9
8
7
6
5
4
3
2
5
4
3
2
1
0
01
H
0
0
0
0
0
0
0
0
0
0
0
1
M
M
M
M
M
M
M
M
M
M
M
M
1
1
9
8
7
6
5
4
3
2
1
0
1
0
3
0
1
M
M
1
0
3 - 27