Mitsubishi Electronics AJ65bt-r2 Manuel D’Utilisation

Page de 264
7 - 10
MELSEC-A
7   USING FRAMES WHEN EXCHANGING DATA
7.3.2 Reading the reception data
The method for reading the reception data during data reception with frame is
explained below.
(1)   Comparison with non-procedural communication
Each timing for the start and completion of reception when receiving data with
frame reception and with non-procedural communication is shown below.
For frame reception
(Refer to (2) for each timing)
When receiving data with non-procedural
communication
Reception start
(1) When reception head frame and reception end
frame are set.
When head frame is received.
(2) When only reception head frame is set.
When head frame is received.
(3) When only reception end frame is set.
When head data of random data section is
received.
(If there is no random data section, when
reception end frame is received.)
When head data is received.
Reception
completion
(1) When reception end data size is received or
end frame is received.
(Follows preset conditions. Refer to section
(2).)
(2) When reception error (reception timeout, etc.)
occurs.
   * The data to the above reception or error
occurrence is stored in the reception area of the
buffer memory. 
(
*
1
)
(1) When reception end data size is received.
(2) When reception error (reception timeout, etc.)
occurs.
  * All of the received data is stored in the
reception area of the buffer memory.
*1 The received statement is stored with the reception head frame/reception end frame abort designation (
R 2
110
H
).
If the reception head frame/reception end frame is not designated, only the random data section is stored in the
reception area.
If not even one reception head frame/reception end frame is designated, the designated frame section and
random data section are stored in the reception area with the received order.