EasyManuals Logo

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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 #185 background imageLoading...
Page #185 background image
183
BKCMP, BKCMPP
1
2
3
4
6
7
8
6.1 Comparison Operation Instructions
6.1.6 BKCMP, BKCMPP
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Program Example
(1) The following program compares, when X20 is turned ON, the data stored at D100 to D103 with the data stored at R0 to
R3 and stores the operation result into the area starting from M10.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program compares, when X1C is turned ON, the constant K1000 with the data stored at D10 to D13, and
stores the operation result at b4 to b7 in D0.
[Ladder Mode] [List Mode]
[Operation]
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4101
The points specified in n exceeds those of each device specified in ,
, or .
The ranges of devices starting from the one specified in and
overlap by n points.
The ranges of devices starting from the one specified in and
overlap by n points.
–– –– –– ––
S1
S2
D
S1
D
S2
D
Step
Instruction
Device
4D0
b15 b0
(BIN)
D101 (BIN)
(BIN)
1000
2000
4000
3000 (BIN)
D100
D102
D103
b15 b0
1000 (BIN)
R1
2000 (BIN)
4000 (BIN)
5000 (BIN)
R0
R2
R3
ON
M11
ON
ON
OFF
M10
M12
M13
Step
Instruction
Device
b15 b0
2000 (BIN)
D11 1000 (BIN)
2222 (BIN)
1000 (BIN)
D10
D12
D13
(BIN)
b15 b0
1000
b15 b4
0
1
0 000
1
0
1
0
01
0
0 00
b7
b0
D0 after
operation
b15 b4
0
1 0 000 1 0001000 00
b7 b0
D0 before
operation

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals