7 Applied Instructions
7.1 Program Flow
125
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
2) Example for resetting held outputs (countermeasures)
• Program examples
• Timing chart
Y007 is reset at an arbitrary timing.
The preceding RST C0 instruction
is deactivated in the subroutine.
B
A
X000
P0
SRET
EN ENO
RST
EN ENO
d
Y007
CN0
X000
X001
CALLP
EN ENO
p
OUT_C
EN ENO
CCoil
CValue
P0
CC0
K10
X002
RST
EN ENO
d
Y007
FEND
EN ENO
RST
EN ENO
d
CN0
RUN monitor
(normally OFF)
M8001
Execution of P0
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 in above program).
B
Counter is reset
(part in above program).
A