223
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
8 Program Flow – FNC 00 to FNC 09
8.1 FNC 00 – CJ / Conditional Jump
1
Introduction
2
Overview
3
Instruction
List
4
Devices
in Detail
5
Specified the
Device &
Constant
6
Before
Programming
7
Basic
Instruction
8
FNC00-FNC09
Program Flow
9
FNC10-FNC19
Move & Compare
10
FNC20-FNC29
Arith. & Logic
Operation
8.1.2 Relationship between master control instruction and jump instruction
The figure below shows the contents of operation and the relationship between the master control instruction.
Avoid using [2], [4] and [5] because the operation will be complicated.
MC N 0 M 1
CJ P 1
MC N 0 M 0
P 1
CJ P 0
CJ P 2
P 2
CJ P 3
MCR N 0
P 3
[1] Jump from outside MC
to outside MC
Jump is available
arbitrarily.
[2] Jump from outside MC
to inside MC
Jump is executed
regardless of the MC
operation.
Even if M0 is OFF, M0
is regarded as ON after
P1.
[3] Jump from inside MC to
inside MC
Jump is disabled while
M0 is OFF.
[4] Jump from inside MC to
outside MC
Jump is disabled while
M0 is OFF.
Jump is executed while
M0 is ON, but MCR is
invalid.
CJ P 4
MCR N 0
MC N 0 M 2
P 4
MCR N 0
Master controlMaster control
[5] Jump from
inside MC
to inside
another
MC
Jump is enabled while M1 is ON.
In circuits after jump, M2 is regarded as ON
regardless of the actual ON/OFF status of M2.
And the first MCR N0 is ignored.
Master control
P 0