Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
244
FX3G/FX3U/FX3UC 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
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
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)" .