Mitsubishi Electric MELSEC-L SERIES Basic User Manual page 155

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

Advertisement

(b) Receiving side (LCPU-2 side)
The following is a program on the receiving side (LCPU-2 side).
<<Fixed buffer No.1 receive program>>
● Secure sufficient device areas according to the maximum length of data sent from the send source to prevent the device
areas used for other purposes from being overwritten by the receive data.
● To receive data at shorter intervals than the scan time of the CPU module, add the normally closed contact for the
completion device (M500) of the BUFRCV instruction to the execution conditions of the BUFRCV instruction as shown in
the above program. When there is no normally closed contact for the completion device (M500), the receive direction
(M5001) of the BUFRCV instruction is not turned off and on and the BUFRCV instruction may not be executed.
CHAPTER 12 COMMUNICATIONS USING A FIXED BUFFER
Process upon completion
Process upon abnormal end
12
153

Advertisement

Table of Contents
loading

Table of Contents