EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 631

Mitsubishi Electric MELSEC-Q/L
1084 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 INSTRUCTIONS
7.12 Special Function Instructions
629
7
Operation error
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
The following program raises the 64-bit floating-point data type real number specified by D200 to D203 to the number nth
specified by D0 to D3 power, when X10 is turned on. Then the program stores the operation result into D100 to D103.
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 value of the specified device is -0, a subnormal number, NaN (not a
number), or .

4141 The operation result exceeds the following range.
(when an overflow occurs)
|Operation result| < 2
1024

[Ladder Mode] [List Mode]
[Operation]
Step
Instruction
Device
15.6
D203 D202 D201 D200
3796.416
D103 D102 D101 D100
3
D3 D2 D1 D0
Exponentiation
operation

Table of Contents

Related product manuals