Download b5-s3,user manual

Transcript
8. RANDOM ACCESS BUFFER EXCHANGE
8.2.3
MELSEC QnA
ExchangeDataItemContents
This shows the command in response data item contents when conducting random access buffer
exchange.
Header
for TCP/IP or UDP/IP. For E71, sincethis can be added
This header is the header that is used
or removed the user is not requiredto make the settings.
Subheader
The subheader format is as shown below.
For the E71, since theE71 text is automatically added and removed the user
is not requiredto
make the settings.The subheader data code order when conducting random access buffer
exchange is shown below.
Subheader code during exchange
writing
For
reading
For
I
For response
exchange
For commands
binarv
exchanae
code
For61H
For ASCII code
exchange
w
I 36H
87
86
85
OOH
31H 30H 30H
81
53
82
E1
I 36H 32H
30H
30H
45H 31H
BO
~ l : l ~ o : o : o ~ o : l
I
OOH
ElH
1
For commands
OOr
1
For response
exchange
E2H62H
45H 32H
1
I
For commands only (no responses)
+ Commandiresponse classifcation
For readlng . 61H
For writing
62H
'
+ Commandiresponse flag
I
For command : 0
For response . 1
a
Head address
This shows the random access buffer range head address (1
200H to 1DFFH) using a logical
address (OH to 17FFH, referto Item 8.3.1) when reading/writing data.
(a) Specifies the head address with a binary value when exchanging with binarycode.
(b) Specifies ASCII code when the head address is expressed using a hexadecimal numeral
when exchanging withASCII code.
(c) The random access buffer specification address is as shown below.
Bufferzddress
Physcal
memory
200H( 512)
to
1 lFFH(4607)
1200H(4608)
to
IDFFH(7679)
OS memory
Fixed buffer
No 1 to No.8
(6k words)
[
f!rSt
half
3k
words
Random
channel
access
0 slde.
buffjr
channel 1 side,
half
3k words
y nlast
dom
access
buffer
8-8