Справочник Пользователя для Mitsubishi Electronics AJ65bt-r2

Скачать
Страница из 264
6 - 6
MELSEC-A
6   EXCHANGING DATA WITH AN EXTERNAL DEVICE
(2)   Reception area
When data is transmitted from the external device to the R2, the data is stored in
the R2 reception area.
This reception area is the R2 buffer memory area where the reception data size
and reception data is stored for the programmable controller CPU to read the
data received from the external device.
The reception area size can be set by setting the 
R 2
 2
H
R 2
 3
H
 buffer
memory.
Refer to section (4) for details.
(a)   Reception area configuration
The reception area stores the received data size in the head word, and
stores the received data in the second and following words.
~
Address
 Buffer memory
The reception data size unit (word/byte) follows 
the value set in the buffer memory word/byte unit
designation area (               ).
Recep
tion a
rea
Reception data size 
storage area
Reception data
storage area
The reception data storage size for when reading of the
received data to the programmable controller CPU is 
requested is written in.
A random data section of the received data is stored.
(At default)
R2 400
H
R2 401
H
R2 5FF
H
R2 102
H
POINT
The data amount transmitted in one session from the external device to the R2
must be set to be smaller than the R2 reception data storage area size.
  (Reception data storage area) 
≥ (Amount of data received from external device)
Thus, if an amount of data that cannot be stored in the default reception area is to
be received, increase the reception area.