EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #162 background imageLoading...
Page #162 background image
160
6 BASIC INSTRUCTIONS
6.1 Comparison Operation Instructions
A constant can be directly specified in (s1).
(d) is specified outside the device range of (n) point(s) of data starting from the one specified by (s1) and outside the device
range of (n) point(s) of data starting from the one specified by (s2).
The following table lists the comparison operation result of each instruction.
When the comparison operation result is all ON (1) in all (n) point(s) starting from (d), SM704 and SM8090 (block
comparison signal) turns ON.
Precautions
If a 32-bit counter (high-speed counter included) is used, make sure to compare using the 32-bit operation (DBKCMP=,
DBKCMP>, DBKCMP<, etc.).
Operation error
When bit is specified for word device, devices other than the bit-specified word devices where operation result
is stored will not change.
Instruction symbol Condition Result
DBKCMP=(P)(_U) (s1) = (s2) On(1)
DBKCMP<>(P)(_U) (s1) (s2)
DBKCMP>(P)(_U) (s1) > (s2)
DBKCMP<=(P)(_U) (s1) (s2)
DBKCMP<(P)(_U) (s1) < (s2)
DBKCMP>=(P)(_U) (s1) (s2)
DBKCMP=(P)(_U) (s1) (s2) Off(0)
DBKCMP<>(P)(_U) (s1) = (s2)
DBKCMP>(P)(_U) (s1) (s2)
DBKCMP<=(P)(_U) (s1) > (s2)
DBKCMP<(P)(_U) (s1) (s2)
DBKCMP>=(P)(_U) (s1) < (s2)
Error code
(SD0/SD8067)
Description
2820 The (n) 2 points of data starting from the device specified by (s1) and (s2) or the (n) point(s) of data starting from the device specified by
(d) exceeds said device.
2821 When (d) specifies "D.b", the (n) point(s) of data starting from the device specified by (d) and the device range of the (n) 2 points of
data starting from the device specified by (s1) overlap.
When (d) specifies "D.b", the (n) point(s) of data starting from the device specified by (d) and the device range of the (n) 2 points of
data starting from the device specified by (s2) overlap.
···
···
···
ON
OFF
ON
OFF
(n)
32700 (BIN)
40000 (BIN)
32800 (BIN)
2147400 (BIN)
(1)
(0)
(1)
(0)
(n)
b31
b0
(s2)
(s2)+1,
(s2)+2
(s2)+(2n-2)
(s2)+(2n-1),
(s2)+4
(s2)+3,
(s2)+5,
(d)
(d)+1
(d)+2
(d)+(n-1)
···
32800 (BIN)
b31 ···
b0
(s1)+1, (s1)
>=
Operation result
D10.F D10.0
0010111110011000
D10.F D10.0
0010110000111000

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals