
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
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......