EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-Q/L

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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 #251 background imageLoading...
Page #251 background image
249
EDNEG, EDNEGP
1
2
3
4
6
7
8
6.3 Data conversion instructions
6.3.13 EDNEG, EDNEGP
: Head number of the devices where the 64-bit floating decimal point data whose sign is to be reversed is stored (real number)
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.
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]
6.3.13 EDNEG, EDNEGP Floatin g-point sign inversion (Double precision)
6.3.13
EDNEG, EDNEGP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn Constants Other
Bit Word Bit Word
–– ––
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4140
The specified device value is not within the following range:
0, 2
-1022
| Specified device value | < 2
1024
The specified device value is 0.
–– –– –– ––
Universal
LCPU
Basic
High
performance
Process
Redundant
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

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals