Download Print this page

Calculating The Exponentiation Of Single-Precision Real Number - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Calculating the exponentiation of single-precision real number

POW(P)
These instructions raise float (single precision) data stored in a device specified by (s1) by the single-precision real number
specified by (s2), and store the operation result in a device specified by (d).
Ladder diagram
(s1)
(s2)
(d)
FBD/LD
EN
ENO
s1
d
s2
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Data to be raised, or head device number which stores such
data
(s2)
Power data, or head device number which stores such data
(d)
Head device number for storing the operation result
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s1)
(s2)
(d)
Word
T, ST, C, D, W,
U\G
SD, SW, R
Structured text
ENO:=POW(EN,s1,s2,d);
ENO:=POWP(EN,s1,s2,d);
Range
Data type
-126
128
|(s1)|<2
0, 2
Single-precision real number
-126
128
|(s2)|<2
0, 2
Single-precision real number
Single-precision real number
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
Data type (label)
ANYREAL_32
ANYREAL_32
ANYREAL_32
BOOL
BOOL
Constant
Others
K, H
E
$
8 APPLICATION INSTRUCTION
8.9 Real Number Instruction
8
537

Hide quick links:

Advertisement

loading