EasyManua.ls Logo

Mitsubishi MELSEC iQ-F FX5 series

Mitsubishi MELSEC iQ-F FX5 series
888 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...
7 APPLICATION INSTRUCTION
7.7 Real Number Instruction
437
7
Inverting the sign of single-precision real number
ENEG(P)/DENEG(P)
These instructions invert the sign of the single-precision real number specified by (d), and store the data of the device
specified by (d).
The ENEG(P) instructions can also be used as DENEG(P).
Setting data
Descriptions, ranges, and data types
Applicable devices
Processing details
These instructions invert the sign of the single-precision real number specified by (d), and store the data in the device
specified by (d).
Use these instructions for inverting the positive and negative sign.
Operation error
There is no operation error.
Ladder diagram Structured text
ENO:=ENEG(EN,d);
ENO:=ENEGP(EN,d);
Operand Description Range Data type Data type (label)
(d) Head device number storing single-precision real number
whose sign is to be inverted
Single-precision real number Single-precision real number
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(d)  
(d)
(d)+1 (d)
1.2345
(d)+1 (d)
-1.2345
Single-precision real number Single-precision real number

Table of Contents

Related product manuals