Mitsubishi MELSEC Q Series Programming Manual page 659

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

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
-1022
0, 2
• The value of
• The values resulted from the operation is within the range shown below.
1024
2
| Value resulted from operation |
Program Example
(1) 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.
[Ladder Mode]
[Operation]
D203 D202 D201
15.6
or
are out of the range shown below.
S1
S2
| Set values (Storage values) | < 2
or
is
0.
S1
S2
D3
D2
D1
D0
Exponentiation
3
operation
D200
D103 D102 D101
1024
[List Mode]
Instruction
Device
Step
D100
3796.416
POWD(P)
1
2
(Error code: 4140)
(Error code: 4140)
3
(Error code: 4141)
4
6
6
7
8
7-285

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents