Mitsubishi Electric MELSEC-Q Series User Manual page 186

Simple motion module
Hide thumbs Also See for MELSEC-Q Series:
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.17 (target station) when M115 is
turned on.
(a)
CPU module
REMTO
request source
(Own station)
D850
D949
(b)
(c)
M115
K0
M116
System configuration
Station No.0
Simple Motion
module
Channel 4
Devices used in the program example
• Link special relay (SB), link special register (SW)
Device
Description
SB0047
Baton pass status (own station) SW00A1.0
• Devices used by users
Device
Description
M115
Start contact
M116
Completion device
REMARK
For details on link special relay (SB) and link special register (SW), refer to Appendix
2 and Appendix 3.
Program example
The following program is written in the CPU module of station No.0.
SB47 SW0A1.0
ZP.REMTO
"J1"
M117
M117
Chapter 10 DEDICATED INSTRUCTIONS
REMTO
request target
(Target station)
Network No.1
Device
Device
M117
D850 to
D949
K4
K17
H2
H0
Processing program upon completion
Processing program upon failure
10 - 48
Station No.17
Head module
Intelligent function module
Buffer memory
Start I/O number
Description
Baton pass status (each station) of
station No. 17
Description
Completion status indication device
Read data storage device
K0
D850
K100
M116
0(0H)
99(63H)
0020H
Execution of
REMTO instruction

Advertisement

Table of Contents
loading

Table of Contents