EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-Q/L

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 #319 background imageLoading...
Page #319 background image
317
BKOR, BKORP
1
2
3
4
4
6
7
8
7.1 Logical operation instructions
7.1.4 BKOR, BKORP
(2) The constant designated by can be between -32768 and 32767 (BIN 16-bit data).
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 performs a logical sum operation on the data stored at D100 to D102 and the data stored at R0 to
R2 when X20 is turned ON, and stores the operation result into the area starting from D200.
[Ladder Mode] [List Mode]
[Operation]
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4101
The points specified in n exceed those of the corresponding device
specified in , , or .
The ranges of devices starting from the one specified in and
overlap by n points (except when the same device is specified in and
).
The ranges of devices starting from the one specified in and
overlap by n points (except when the same device is specified in and
).
S2
+ 1
+ 2
+ 1
+ 2
D
S1
S1
S1
D
D
D
D
S1
S1
S2
n
b15 b8
0
0 0 0 1 1
b7 b0
1 1 1 1 1 1 1 11 1
1 0 1 0 1 1 1 1 1 1 1 110 1 0
0 0 1 1 1 1 1 1
1 1 1 1
b15 b8
0
0
1 1 1 1
0 0
1 1
0 000
1 1
b7 b0
0 0 0 0 1 0 1 0 1 0 1 010 1 0
1 1 0 1 1 0 1 0 1 1 0 1
0 0 0 0
1 1
0 0 0 0
1
1
1 1 0 0 0 0 1 1 1 1 0 000 1 1
OR
b15 b8 b7 b0
0 0 0 0
1 1 1 1 1 1 1 1
0
0 0 0
001111 11
11001111 0011
11 11
00 00
1111111111
0000 0 0
n
+(n
1)
+(n
2)
+(n
1)
+(n
2)
S1 S2
D
S1
D
S1
D
S2
D
S2
D
Step Instruction Device
OR
b15 b8
0
0 1 1 1 0 1 0 1 0 1 010 1 0
b7 b0
0 0 0 0
1 1 1 1 1 100 001 111 1 1
D201
D202
D200
b15 b8
0
0 1 1 1 1 1 1
b7 b0
0 0 0 0
1 1 0 0 0 0 0 0 0 0 1 111 0 0
D101
D102
D100
b15 b8
0
0 1 1 0 0 0 0 0 0 0 000 0 0
b7 b0
0 0 0 0 1 1 1 1 1 1 1 100 0 0
0 0 0 0 1 1 1 1 0 0 0 011 1 1
R1
R2
R0
D0
3
00000000
0000
11111111
1111111111 11

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