Mitsubishi Electric QJ71GF11-T2 User Manual page 339

Melsec-q series cc-link ie field network master/ local module
Table of Contents

Advertisement

(4) Program example
The following program is for reading the data in the buffer memory (address: 256 to 355) of the intelligent function
module of the station No.2 (target station) to D750 to D849 of the station No.0 (own station) when M111 is turned
on.
(a) System configuration
CPU module
REMFR instruction
request source
(Own station)
D750
D849
(b) Devices used in the program
• Link special relay (SB), link special register (SW)
Device
SB0047
Baton pass status (own station)
Remark
For details on link special relay (SB) and link special register (SW), refer to the following:
Page 473, Appendix 3, Page 493, Appendix 4
• Devices used by users
Device
M111
Start contact
M112
Completion device
(c) Program example
Write the following program to the CPU module of station No.0.
Station No.0
Master/local
module
Channel 3
Network No.1
Description
Description
Processing program upon completion
Processing program upon failure
CHAPTER 10 DEDICATED INSTRUCTIONS
Station No.2
Head module
REMFR instruction
request target
(Target station)
Device
Baton pass status (each station) of station
SW00A0.1
No. 2
Device
M113
Completion status indication device
D750 to D849
Read data storage device
Intelligent function module
Buffer memory
256(100
)
H
355(163
)
H
Start I/O number
0020
H
Description
Description
Execution of REMFR instruction
337
10

Advertisement

Table of Contents
loading

Table of Contents