Mitsubishi Electric GOT2000 Series Connection Manual page 99

Graphic operation terminal
Hide thumbs Also See for GOT2000 Series:
Table of Contents

Advertisement

(8) Sum check code
The sum check code is obtained by converting the lower 1 byte (8 bits) of the result (sum), after having added the
sum check target data as binary data, to 2-digit ASCII code (Hex).
■3. Message Formats
(1) Batch read in word units (RD) command
(a)
When reading a word device
The following shows an example of reading the two points of the virtual devices D100 and D101.
(Assuming D100=0102H, D101=0304H are stored.)
Item
Request
message
(host
GOT)
Response
message during
normal
communication
(GOT
host)
Response
message during
faulty
communication
(GOT
host)
STX
Command
Address
R
D
0
1
02
52
44
30
31
H
H
H
H
H
(H)
(L)
(H)
Sum check is performed in this range.
52
+ 44
+ 30
+ 31
+ 30
+ 30
H
H
H
H
H
STX
Command
R
02
52
44
H
H
(H)
(L)
STX
Data 1 (D100)
0
02
30
31
H
H
(H)
(format 1: GOT-A900 Series microcomputer connection (format 1))
(format 2: GOT-A900 Series microcomputer connection (format 2))
Sum
Number of
ETX
points
Check
0
0
0
2
B
30
30
30
32
03
42
H
H
H
H
H
H
(L)
(H)
(L)
(H)
+ 30
+ 32
+ 03
= 1BC
H
H
H
H
H
D100
0102
H
D101
0304
H
Message format
Number of
Address
points
D
0
1
0
0
0
30
31
30
30
30
H
H
H
H
H
H
(H)
(L)
(H)
Sum check is performed in this range.
Data 2 (D101)
1
0
2
0
3
0
30
32
30
33
30
H
H
H
H
H
H
(L)
(H)
Sum check is performed in this range.
NAK
15
H
Error
NAK
code
15
06
H
H
The above is a case
where the sum check error
(06
) has occurred.
H
2.5 Message Formats
C
43
H
(L)
Sum
ETX
Check
2
B
C
32
03
42
43
H
H
H
H
(L)
(H)
(L)
Sum
ETX
Check
4
8
D
34
03
38
44
H
H
H
H
(L)
(H)
(L)
2
2 - 37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents