Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5-136
5.4 Network Dedicated Instruction
5.4.5 RIFR instruction
G_RIFR
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.)
[Structured ladder/FBD]
[ST]
IF((X0=TRUE) & (SW80.0=FALSE))THEN
GP_RIFR(TRUE, H04, 1, H100, 10, D0); (* Performs readout *)
END_IF;
Programmable
controller CPU
Device memory
Master module
(start I/O number 40)
Auto-refresh buffer
Intelligent device station
(station number 1)
Buffer memory
Buffer memory
for auto-refresh
300
H
5FFH
Performs readout