Reading The Reception Data - Mitsubishi MELSEC AJ65BT-R2 User Manual

Rs-232c interface module type
Hide thumbs Also See for MELSEC AJ65BT-R2:
Table of Contents

Advertisement

7 USING FRAMES WHEN EXCHANGING DATA

7.3.2 Reading the reception data

(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.
Reception start
(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.)
(1) When reception end data size is received or
end frame is received.
(Follows preset conditions. Refer to section
(2).)
Reception
(2) When reception error (reception timeout, etc.)
completion
occurs.
* The data to the above reception or error
occurrence 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 (
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.
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)
1
(
)
*
When receiving data with non-procedural
When head data is received.
(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.
7 - 10
MELSEC-A
communication
R 2

Advertisement

Table of Contents
loading

Table of Contents