221
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
In
troduct
io
n
2
Ov
e
rv
ie
w
3
In
st
ru
ct
ion
Li
st
4
D
evi
ce
s
in
De
ta
il
5
Speci
fied t
h
e
D
evi
ce &
C
onst
a
nt
6
Bef
o
re
Pr
ogr
a
m
m
ing
7
Bas
ic
In
st
ru
cti
o
n
8
FNC0
0
-FNC0
9
P
ro
g
ra
m F
lo
w
9
FNC1
0
-FNC1
9
M
ov
e
&
C
om
par
e
10
FNC
20-
FNC
2
9
Ar
ith.
&
Logi
c
O
per
at
io
n
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
] ".
" [
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......