Download  Print this page

Application Instructions (32-bit) - Mitsubishi Electric A800 Programming Manual

800 series, plc function.
Hide thumbs

Advertisement

Application instructions (32-bit)

3.29
Application instructions (32-bit)
Application instructions (32-bit) are used when special processing is required.
3.29.1
Logical operation instructions
• Logical operation instructions are instructions that execute logical operations such as logical OR or logical AND.
• There are 10 types of logical operation instruction as shown below.
Instruction
Classification
DAND
Logical AND
DANDP
DOR
Logical OR
DORP
NOTE
• Logical operation instructions execute the following processes in increments of bits.
Classification
Logical AND
Logical OR
Exclusive OR
Exclusive NOR
182
Sequence program
Classification
symbol
Exclusive OR
Exclusive NOR
Set 1 when the inputs of both A and B are 1.
Set 0 in all other cases.
Set 0 when the inputs of both A and B are 0.
Set 1 in all other cases.
Set 0 when the inputs of both A and B are equal.
Set 1 when they are different.
Set 1 when the inputs of both A and B are equal.
Set 0 when they are different.
Instruction
Classification
symbol
DXOR
2's complement
(code reversed)
DXORP
DXNR
DXNRP
Process
Instruction
symbol
DNEG
DNEGP
Example
Formula
A
0
0
Y = A  B
1
1
0
0
Y = A + B
1
1
0
0
Y = A  B + A  B
1
1
0
0
Y = (A + B) (A + B)
1
1
B
Y
0
0
1
0
0
0
1
1
0
0
1
1
0
1
1
1
0
0
1
1
0
1
1
0
0
1
1
0
0
0
1
1

Advertisement

Table of Contents

This manual is also suitable for:

F800

Comments to this Manuals

Symbols: 0
Latest comments: