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 #657 background imageLoading...
Page #657 background image
7-283
POW(P)
1
2
3
4
6
6
7
8
7.12 Special function instructions
7.12.17 Exponentiation operation on floating-point data (Single precision) (POW(P))
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 values specified by or are out of the ranges shown below. (Error code: 4140)
0, 2
-126
| Specified value (Storage value) | < 2
128
• The value of or is 0. (Error code: 4140)
• The values in the operation result is within the range shown below. (Error code: 4141)
2
126
| Value resulted from operation |
Program Example
(1) 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.
[Ladder Mode] [List Mode]
[Operation]
S1
S2
S1
S2
Step
Instruction
Device
Exponentiation
operation
D21 D20D1 D0
0.22 0.163
D11 D10
1.2

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