Mitsubishi Electric FX3G SERIES Programming Manual page 611

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Explanation of function and operation
1. 16-bit operation (BKCMP=, >, <, <>, <=, >= / BKCMP=P, >P, <P, <>P, <=P, and >=P)
1)
"n" 16-bit binary data starting from
comparison result is stored in "n" points starting from
Command
input
FNCOOO
BKCMP
+0
S
1
+1
+2
+n-2
+n-1
*3 An operation example of BKCMP>
(FNC195) instruction is shown here.
2)
A constant can be directly specified in
K32000
S
1
*4 An operation example of BKCMP=
(FNC194) instruction is shown
here.
3)
The table below shows the comparison result in each instruction:
Instruction
BKCMP=(FNC194)
BKCMP>(FNC195)
BKCMP<(FNC196)
BKCMP<>(FNC197)
BKCMP<=(FNC198)
BKCMP>=(FNC199)
4)
When the comparison result is ON (1) in all of "n" points starting from
turns ON.
S
1
*1
S
S
1
2
*2
K1234
S
2
K5678
*3
K5000
"n"
>
points
K7777
+n-2
K4321
+n-1
S
1
+0
S
2
+1
*4
+2
=
+n-2
+n-1
Comparison result ON (1) condition
S
=
1
S
>
1
S
<
1
S
<>
1
S
<=
1
S
>=
1
25 Block Data Operation – FNC190 to FNC199
25.3 FNC194~199 – BKCMP=, >, <, < >, <=, >= / Block Data Compare
are compared with "n" 16-bit binary data starting from
D
.
*1 The number out of 194 to 199 is put in "OOO".
*2 The symbol out of "=", ">", "<", "<>", "<=", or
D
n
">=" corresponding to the FNC No. is put in
+0
K5321
+1
K3399
+2
K5678
"n"
points
K6543
K1200
.
K32000
D
K4321
K32000
"n"
points
K1234
K5678
Comparison result OFF (0) condition
S
2
S
2
S
2
S
2
S
2
S
2
S
2
Comparison result
+0
OFF(0)
D
+1
ON(1)
+2
OFF(0)
"n"
points
+n-2
ON(1)
+n-1
ON(1)
Comparison result
+0
ON(1)
+1
OFF(0)
+2
ON(1)
"n"
points
+n-2
OFF(0)
+n-1
OFF(0)
S
S
<>
1
2
S
S
<=
1
2
S
S
>=
1
2
S
S
=
1
2
S
S
>
1
2
S
S
<
1
2
D
, M8090 (block comparison signal)
21
, and the
22
.
23
24
25
26
27
28
29
30
609

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents