Mitsubishi Electric MELSEC-L SERIES Basic User Manual page 224

Melsec-l ethernet interface module
Hide thumbs Also See for MELSEC-L SERIES:
Table of Contents

Advertisement

• Completion of the BUFRCV instruction can be checked with Completion device (D2)+0 and (D2)+1.
Completion device (D2)+0:
Completion device (D2)+1:
[Operation while the BUFRCV instruction is being executed]
Program
BUFRCV instruction
Completion device
Completion device + 1
• The ZP.BUFRCV instruction is executed on the rising edge (OFF  ON) of the read command (bit for a
connection with the connected device set in Fixed buffer reception status signal (address: 5005
● Do not perform a receive process using I/O signals and using the dedicated instruction together for the same connection.
Doing so will result in malfunction.
● When receive data is read from the same connection, the BUFRCVS instruction (for an interrupt program) cannot be
used together.
(5) Errors
If a dedicated instruction ends with an error, Completion device (D2)+1 turns on, and the error code is stored in
Completion status (S2)+1.
222
Item
Turns on at the END process of the scan where the BUFRCV instruction is completed and
turns off at the next END process.
Turns on and off depending on the completion status of the BUFRCV instruction.
• Normal completion: Stays off and does not change.
• Abnormal end: Turns on at the END process of the scan where the BUFRCV instruction
is completed and turns off at the next END process.
Scan
Receiving data
END
END
Scan
process
process
Executed
Abnormally ended
Storing the receive data
Description
END
Scan
process
)).
H

Advertisement

Table of Contents
loading

Table of Contents