202
FX
3U
/FX
3UC
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).
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......