595
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
25 Block Data Operation – FNC190 to FNC199
25.3 FNC194~199 – BKCMP=, >, <, < >, <=, >= / Block Data Compare
21
FN
C
160-FN
C
169
R
eal
Ti
m
e
C
loc
k
C
ont
ro
l
22
FN
C
170
-F
N
C
17
9
E
xt
e
rnal
D
evi
ce
23
FN
C
180
Su
b
st.
I
n
str
. I
n
fo
24
FN
C
181-FN
C
189
O
ther
s
25
FN
C
190-FN
C
19
9
B
loc
k D
a
ta
O
per
at
io
n
26
FN
C
200-FN
C
209
C
har
act
e
r St
ring
C
ont
ro
l
27
F
N
C2
10
-F
NC
21
9
Da
ta
O
per
at
ion 3
28
FN
C
220-FN
C
24
9
Da
ta
Co
m
p
a
ris
o
n
29
FN
C
250-FN
C
269
Da
ta
T
a
b
le
O
per
at
io
n
30
FN
C
27
0-F
N
C
274
Ex
-D
ev
ic
e
In
ve
rte
r C
o
mm
s
Caution
• When using 32-bit high speed counters
For comparing 32-bit high speed counters (C200 to C255), make sure to use an instruction for 32-bit
operation (DBKCMP=, DBKCMP>, DBKCMP<, DBKCMP<>, DBKCMP<=, or DBKCMP>=).
If an instruction for 16-bit operation (BKCMP=, BKCMP>, BKCMP<, BKCMP<>, BKCMP<=, or BKCMP>=)
is used, an operation error is caused (error code: K6705).
Errors
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is
stored in D8067.
• When the range of "n" ("2n" in 32-bit operation) points starting from
and/or
exceeds the
corresponding device range (error code: K6706)
• When the range of "n" points starting from
exceeds the corresponding device range (error code:
K6706)
• When data registers starting from
specified as "D
.b" overlap "n" ("2n" in 32-bit operation) points
starting from
(error code: K6706)
• When data registers starting from
specified as "D
.b" overlap "n" ("2n" in 32-bit operation) points
starting from
(error code: K6706)
• When a 32-bit counter (C200 to C255) is specified in
and/or
in 16-bit operation (error code:
K6705)
For comparing 32-bit counters, make sure to use an instruction for 32-bit operation (DBKCMP=, DBKCMP,
DBKCMP<, DBKCMP<>, DBKCMP<=, or DBKCMP>=).
S
1
S
2
D
D
S
1
D
S
2
S
1
S
2