EasyManua.ls Logo

Mitsubishi Electric MELSEC FX3U - Page 240

Mitsubishi Electric MELSEC FX3U
1000 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
238
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
8 Program Flow – FNC 00 to FNC 09
8.2 FNC 01 – CALL / Call Subroutine
Example for resetting held outputs (countermeasures)
1) Program example
2) Timing chart
X000
X000
FNC 01
CALLP
RST C0
X002
P0
FNC 06
FEND
RST C0
FNC 02
SRET
P0
RST Y007
Y007 is reset at an arbitrary timing.
The preceding RST C0 instruction is
deactivated in the subroutine.
B
M8001
RUN monitor
(normally OFF)
A
Y007
X001
C0
K10
Execution of P0 is
triggered by X000
X001
Current
value of C0
1
2
3
Y007 is reset.
RST
C0
Y007
Subroutine is
executed.
1
2
3
4
X002
Counter reset instruction is deactivated
(part B in above program).
Counter is reset (part
A in above program).

Table of Contents

Related product manuals