Mitsubishi Electric QJ71GF11-T2 User Manual page 344

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

Advertisement

(4) Program example
The following program is for writing data of D850 to D949 of station No.0 (own station) into buffer memory
(address: 0 to 99) of station No.2 (target station) when M115 is turned on.
(a) System configuration
CPU module
REMTO
request source
(Own station)
D850
D949
(b) Devices used in the program
• Link special relay (SB), link special register (SW)
Device
SB0047
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
M115
M116
(c) Program example
Write the following program to the CPU module of station No.0.
342
Station No.0
Master/local
module
Channel 4
Description
Baton pass status (own station)
Description
Start contact
Completion device
Station No.2
Head module
REMTO
request target
(Target station)
Network No.1
Device
SW00A0.1
Device
M117
D850 to
D949
Processing program upon completion
Processing program upon failure
Intelligent function module
Buffer memory
Start I/O number
0020
Description
Baton pass status (each station) of station
No. 2
Description
Completion status indication device
Write data storage device
Execution of
REMTO instruction
0(0
)
H
99(63
)
H
H

Advertisement

Table of Contents
loading

Table of Contents