247
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
Introdu
ction
2
Ov
ervi
ew
3
Instruction
Li
st
4
D
evices
in Det
ail
5
Specifi
ed the
De
vice
&
C
onst
ant
6
Bef
ore
Pr
og
ra
mmi
ng
7
Bas
ic
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
c
Operati
on
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
,
+1
or
+2 turns ON.
• Comparison is executed algebraically. Example:
−
125400
<
22466
<
1015444
Cautions
1. Number of occupied devices
From the device specified as
, three devices are occupied. Make sure not to use devices used in another
control.
2. Upper comparison value and lower comparison value
The lower comparison value
should be smaller than the upper comparison value
.
1) When the lower comparison value
is smaller than the upper comparison value
2) When the lower comparison value
is larger than the upper comparison value
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
] ".
" [
D
S
1
S
2
S
1
S
2
M 3
M 4
M 5
X000
ZCP
K100
K120
C30
M3
C30
M3
M4
M5
S
1
S
2
S
D
99
100
119
120
121
…
X000
Turns ON in the case of
"K100
>
C30 (Current value)" .
Turns ON in the case of
"K100
≤
C30 (Current value)
≤
K120" .
Turns ON in the case of
"K120
<
C30 (Current value)" .
S
1
S
2
X000
M 3
M 4
M 5
ZCP
K120
K100
C30
M3
It is handled as
K120 .
S
1
S
2
S
D
S
1
X000
99
100
119
120
121
C30
M3
M4
M5
…
Turns ON in the case of
"K120
>
C30 (Current value)" .
Turns ON in the case of
"K120 = C30 (Current value)" .
Turns ON in the case of
"K120
<
C30 (Current value)" .
Содержание FX3G SERIES
Страница 1: ...FX3G FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS PROGRAMMING MANUAL Basic Applied Instructions Edition ...
Страница 2: ......
Страница 947: ......