Справочник Пользователя для Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G
223
FX
3G
/FX
3U
/FX
3UC
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
In
trodu
ct
ct
ion
2
O
ver
vi
ew
3
In
st
ru
ct
ion
Li
st
4
D
evices
in D
etail
etail
5
Specifi
ed t
he
he
D
evice &
C
onst
ant
ant
6
Bef
ore
ore
Pr
ogr
am
am
m
ing
7
B
asic
In
st
ru
ct
ion
8
FNC0
0-F
0-F
NC0
9
Pr
ogr
am
Flow
am
Flow
9
FN
C
C
10-FN
C
19
Mo
ve
ve
&
Co
mp
are
are
10
FNC2
0-F
0-F
NC2
9
Ar
ith.
&
&
Logic
O
per
ati
ati
on
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.
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
M
a
ster control
M
a
ster 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.
M
a
ster control
P 0