![Mitsubishi Electric MELSEC FX3G Скачать руководство пользователя страница 259](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083259.webp)
257
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
9 Move and Compare – FNC 10 to FNC 19
9.2 FNC 11 – ZCP / Zone Compare
1
Int
roduct
ion
2
O
ver
view
3
In
str
uc
tion
Li
st
4
D
evices
in D
etail
5
Spec
ified t
he
D
evice &
C
onst
ant
6
Bef
ore
Pr
ogr
am
m
ing
7
B
asic
In
st
ru
ct
io
n
8
FN
C
00-FN
C
09
P
rogr
am
F
low
9
FN
C
10
-FN
C
19
Mo
ve
&
Co
mp
are
10
FNC2
0-F
NC2
9
Ar
ith.
&
Logic
O
per
ation
Explanation of function and operation
1. 16-bit operation (ZCP and ZCPP)
The lower comparison value
and upper comparison value
are compared with the comparison
source
. According to the result (smaller, within zone or larger), either one among
,
+1 and
+2 turns ON.
• Comparison is executed algebraically. Example:
−
10
<
2
<
10
2. 32-bit operation (DZCP and DZCPP)
The lower comparison value [
+1,
] and upper comparison value [
+1,
] are compared
with the comparison source [
+1,
]. According to the result (smaller, within zone or larger), either
one among
,
+1 and
+2 turns ON.
• Comparison is executed algebraically. Example:
−
125400
<
22466
<
1015444
S
1
S
2
S
D
D
D
FNC 11
ZCP
Even if the command input turns OFF and ZCP instruction is not executed, , +1 and +2 latch
the status just before the command input turns OFF from ON.
Command
input
S
1
S
2
S
D
D
+1
D
+2
D
D
D
D
Turns ON in the case of
S
S
2
>
] ".
" [
Turns ON in the case of
S
1
≤
S
S
2
≤
] ".
" [
Turns ON in the case of
S
1
>
S
] ".
" [
S
1
S
1
S
2
S
2
S
S
D
D
D
FNC 11
DZCP
Even if the command input turns OFF and ZCP instruction is not executed, , +1 and +2 latch
the status just before the command input turns OFF from ON.
Command
input
S
1
S
2
S
D
D
+1
D
+2
D
D
D
D
Turns ON in the case of
+1,
S
S
]
>
+1,
[ S
2
S
2
] ".
" [
≤
Turns ON in the case of
+1,
[ S
S
]
+1,
]
S
1
S
1
≤
+1,
[ S
2
S
2
] ".
" [
>
Turns ON in the case of
+1,
[ S
S
+1,
]
S
1
S
1
] ".
" [