Mitsubishi Electric AJ71C24-S6 User Manual page 238

Melsec-4 computer link module
Table of Contents

Advertisement

9.
COMMUNICATIONS IN THE NO-PROTOCOL MODE
MELSEC-A
9.5
Receiving Data in the No-Protocol Mode (External Device
-
AJ71C24)
(1) Data receive area
The AJ71C24 stores the received data length and received data in the
data receive area.
With default setting, buffer memory area 80H to FFH is allocated as the
receive area.
This area may be changed as needed. See Section 6.4.5 for the
procedure to change the data receive area.
For example, if the data to be received is greater than the AJ71C24
receive area (127 words in default setting), data is received in more than
one transmission.
It is advisable to set as "data receive area" is larger than "received data
length".
r - - -
Address
(default)
Buffer memory
-.....-------
Receive
to
Received data
FFH
L . . .
The unit (wordlbyte) of received data length
depends on the setting with the wordlbyte set-
ting area (address 103H).
The actual length of received data is written
when the receive completed code is received or
the set length of data has been received.
Received data i s stored sequentially from the
lowest address until the completed code is
received or the set length of data has been
received.
(2)
Reading received data
There are two ways of making a request to read the received data:
0
By receiving the receive completed code (data receive in variable
length), and
*By receiving the set length of data (data receive in fixed length)
(a) By receiving the receive completed code (variable length)
The AJ71C24 makes a request to read the received data to the
sequence program when it receives the receive completed code,
predetermined by the user and set to the AJ71 C24 buffer memory.
The default receive completed code is CR, LF (ODOAH), but this may
be changed to any value in the range of O O O O H to OOFFH. (For the
procedure to change the read completed code, see Section 7.4.1 .)

Advertisement

Table of Contents
loading

Table of Contents