Data Conversion Instruction 2'S Complements Of Bin 32-Bit Data ... Dneg, Dnegp - Mitsubishi Electric A800 Programming Manual

800 series, plc function
Hide thumbs Also See for A800:
Table of Contents

Advertisement

3.27.9
Data conversion instruction:
2's complements of BIN 32-bit data ... DNEG,
DNEGP
Bit device
X
Y
DNEG(P)
D
2's complement execution commands
Function
• Invert the sign of the 32-bit device specified with
Before
execution
D
Sign
conversion -
After
D
execution
• This is used when inverting the positive/negative signs.
Execution condition
2's complement
execution command
Applicable device
Word (16-bit)
device
M
T
C
D
DNEG
DNEGP
D
, and store the device specified with
b31
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
1
1
1
1
1
1
b31
0
0
0
0
0
0
0
Executed every
DNEG
scan.
DNEGP
Executed only once.
Digit
Constant
Level
specification
K
H
N
K1 to K8
Setting data
Start number of the device in
D
which the data that executes
two's complement is stored
32 bit
0
1
0
0
1
0
0
0
0
0
0
0
0
1
0
0
1
0
1
0
1
1
1
0
Executed every
scan.
Executed only once.
Basic instruction (32-bit)
Error flag
(SM0)
D
.
b0
0
-218460
0
0
b0
0
218460
Sequence program
3
169

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F800

Table of Contents