EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 629

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
627
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 32-bit floating-point data type real number data specified by D0 and D1 to the data
specified by (D10 and D11)th power, when X10 is turned on. Then the program stores the operation result into D20 and
D21.
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
-126
| Specified device value | <2
128
The specified device value is -0, unnormalized number, nonnumeric, and .

4141 The operation result exceeds the following range.
(when an overflow occurs)
|Operation result| < 2
128

[Ladder Mode] [List Mode]
[Operation]
Step
Instruction
Device
Exponentiation
operation
D21 D20D1 D0
0.22 0.163
D11 D10
1.2

Table of Contents

Related product manuals