EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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
Page #300 background imageLoading...
Page #300 background image
6-98
EDNEG(P)
6.3.13 Floating-point sign invertion (Double precision)
(EDNEG(P))
EDNEG(P)
Function
(1) Reverses the sign of the 64-bit floating decimal point type real number data designated by
, and stores at the device designated by .
(2) Used when reversing positive and negative signs.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The value of the specified device is not in the following range: (Error code: 4140)
0, 2
-1022
| value of specified device | < 2
1024
• The value of the designated device is 0. (Error code: 4140)
Program Example
(1) The following program inverts the sign of the 64-bit floating decimal point type real number
data at D0 to D3 when X20 goes ON, and stores result at D0 to D3.
[Ladder Mode] [List Mode]
[Operation]
: Head number of the devices where the 64-bit floating decimal point data whose sign is to be reversed is
stored (real number)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn Constants Other
Bit Word Bit Word
–– ––
Universal
Basic
Process
High
performance
Redundant
LCPU
Command
Command
EDNEG
EDNEGP
D
D
EDNEG
EDNEGP
D
D
D D
Step
Instruction
Device
D1 D0D3 D2D1
1.2345
D0D3 D2

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals