Download MELSEC-Q CC-Link System Master/Local Module User's Manual

Transcript
CHAPTER 9 DEDICATED INSTRUCTIONS
9.6.1
Program example
9
This section shows an example of the program to read 10-word data from the offset value 100H of automatic update
buffer in the master station (400H in the intelligent device station) to the area starting from D0 when X0 is turned on in
the following system configuration.
• Assume that the I/O number of the master station is X/Y40 to X/Y5F.
• Assume that SW0 is set to the refresh device of the link special register (SW).
CPU module
RIFR request
source
(Host station)
Master station
AJ65BT-R2(N)
Station No.0
Station No.1
Offset
value
D0
to
D9
300H
400H
100H
Automatic
update buffer
to
Automatic
update buffer
memory
5FFH
Dedicated instruction
execution
9.6 G(P).RIFR
9.6.1 Program example
199