Mitsubishi Electric M800VW Series Programming Manual page 409

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.11 Special Function Instructions
 Program example
 The following program raises the 32-bit floating-point real number data at D0 and D1 to the power of the 32-bit floating-point
real number data at D10 and D11 when X10 turns ON, and stores the operation result at D20 and D21.
[Ladder mode]
SM402
0
12
IB-1501667-B
EMOV E0.22 D0
EMOV E1.2 D10
POW D0 D10 D20
END
[Operation]
D11
D10
1.2
Exponentiation
D1
D0
operation
0.22
[List mode]
Steps
Inst.
Device
0
LD
SM402
1
EMOV
E0.22
D0
4
EMOV
E1.2
D10
7
LD
X10
8
POW
D0
D10
D20
12
END
D21
D20
0.163
388

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents