7 Applied Instructions
7.1 Program Flow
112
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
7. Applied Instructions
This chapter introduces the structured project instructions corresponding to the applied instructions for the
simple project.
→ Q/FX Structured Programming Manual (Fundamentals)
7.1 Program Flow
7.1.1 CJ
Outline
CJ or CJP instruction jumps to a pointer p.
The sequence program steps between CJ or CJP instruction and the pointer are not executed.
1. Format and operation, execution form
2. Input and output data types
3. Applicable devices
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder ST
CJ 16 bits Continuous
Syntax such as condition sentence is used.
Refer to the following manual for syntaxes.
→ Q/FX Structured
Programming Manual
(Fundamentals)
CJP 16 bits Pulse
Variable Description Data type
Input
variable
EN Execution condition Bit
Circuit block label for the jump destination ANY16
Output
variable
ENO Execution state Bit
Operand
type
Bit Devices Word Devices Others
System User Digit Specification
System
User
Special
Unit
Index
Constant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
VZModifier K H E
""
P
zz
CJ
EN ENO
p
CJP
EN ENO
p
p
p