7 Applied Instructions
7.1 Program Flow
113
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
Function and operation explanation
1. 16-bit operation(CJ, CJP)
While the command input is ON, CJ or CJP instruction executes a program with a specified label (pointer
number).
1) In the case of CJ instruction
2) In the case of CJP instruction
Label
Command
User program
User program
Which is skipped and is not executed when the command turns ON.
User program
Executed in every scan
Command
input
CJ
ON
Jumps to the pointer while
the command is ON.
CJ
EN ENO
p
p
p
Label
Command
User program
User program
Which is skipped and is not executed in one operation
cycle when the command turns ON.
User program
Jumps to the pointer only in one
operation while the command is ON.
Executed in one scan
Command
input
CJP
ON
CJP
EN ENO
p
p
p