Mitsubishi Electric MELSEC-Q Series User Manual page 181

Simple motion module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

(4) Program example
CPU module
REMFR
instruction
request source
(Own station)
D750
D849
M111
SB47 SW0A1.0
K0
ZP.REMFR
M112
M113
M113
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.17 (target station) to D750 to
D849 of the station No.0 (own station) when M111 is turned on.
(a)
System configuration
Station No.0
Simple Motion
module
Channel 3
(b)
Devices used in the program example
• Link special relay (SB), link special register (SW)
Device
SB0047
Baton pass status (own station) SW00A1.0
• Devices used by users
Device
M111
Start contact
M112
Completion device
REMARK
For details on link special relay (SB) and link special register (SW), refer to Appendix
2 and Appendix 3.
(c)
Program example
The following program is written to the CPU module of station No.0.
"J1"
K3
K17
Chapter 10 DEDICATED INSTRUCTIONS
REMFR
instruction
request target
(Target station)
Network No.1
Description
Device
Description
Device
M113
D750 to
D849
H2
H100
D750
K100
Processing program upon completion
Processing program upon failure
10 - 43
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
Execution of REMFR instruction
M112
256(100H)
355(163H)
0020H

Advertisement

Table of Contents
loading

Table of Contents