Mitsubishi MELSEC-L series Programming Manual page 173

Hide thumbs Also See for MELSEC-L series:
Table of Contents

Advertisement

Program Example
The following program reads out 10-word data from buffer memory starting from the offset value
100 of the auto-refresh buffer of the master module (400H in the intelligent device station) and
stores the data in the devices starting from D0 when X0 turns ON.
(When the refresh device of the link special register (SW) is set to SW0.)
Programmable
controller CPU
Device memory
[Structured ladder]
[ST]
IF((X0=TRUE) & (SW80.0=FALSE))THEN
GP_RIFR(TRUE, H04, 1, H100, 10,D10);
END_IF;
Master module
(start I/O number 40)
Auto-refresh buffer
Intelligent device station
(station number 1)
Buffer memory
300
H
Buffer memory
for auto-refresh
5FF
H
Performs readout
(* Performs readout *)
5.3 CC-Link Instruction
5.3.5 RIFR instruction
G_RIFR
5
5-127

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents