EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Inverting the Sign of Double-Precision Real Number

Mitsubishi Electric MELSEC iQ-R Series
2110 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
Loading...
768
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
Inverting the sign of double-precision real number
EDNEG(P)
These instructions invert the sign of double-precision real number data.
Execution condition
Setting data
Description, range, data type
Applicable devices
Processing details
These instructions invert the sign of the double-precision real number data in the device specified by (d) and store the
inverted data in the device specified by (d).
The instructions are used to invert positive and negative signs.
Operation error
Ladder ST
ENO:=EDNEG(EN,d);
ENO:=EDNEGP(EN,d);
FBD/LD
Instruction Execution condition
EDNEG
EDNEGP
Operand Description Range Data type Data type (label)
(d) Start device containing the double-precision real number
subject to sign inversion
Double-precision real
number
ANYREAL_64
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(d)  
Error code
(SD0)
Description
3402H The value input to (d) is -0, a subnormal number, NaN (not a number), or .
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(d)
EN ENO
d
(d)(d)+3 (d)+1(d)+2
4.23542
(d)(d)+3 (d)+1(d)+2
-4.23542
Double-precision real number Double-precision real number

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals