Download Print this page

Multiplying Single-Precision Real Numbers - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

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

Advertisement

Multiplying single-precision real numbers

E*(P)
These instructions multiply the single-precision real number in the device specified by (s2) to the single-precision real number
in the device specified by (s1), and store the result in the device specified by (d).
Ladder diagram
(s1)
FBD/LD
EN
ENO
s1
d
s2
("EMULTI", "EMULTIP" enters .)
*1 Supported by engineering tool version "1.035M" and later.
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Multiplicand data or head device number where the data to
be multiplied by another is stored
(s2)
Multiplier data or head device number where the data by
which another is to be multiplied is stored
(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)
Processing details
• These instructions multiply the single-precision real number in the device specified by (s2) to the single-precision real
number in the device specified by (s1), and store the result in the device specified by (d).
(s1)+1
(s1)
Single-precision real number Single-precision real number Single-precision real number
• Values in the devices specified (stored) by (s1), (s2), and (d) should be 0 or 2
• When an input value is set from the engineering tool, a rounding error may occur.
8 APPLICATION INSTRUCTION
494
8.9 Real Number Instruction
(s2)
(d)
Word
T, ST, C, D, W,
SD, SW, R
(s2)+1
(s2)
Structured text
ENO:=EMULTI(EN,s1,s2,d);
ENO:=EMULTIP(EN,s1,s2,d);
Range
-126
128
|(s1)|<2
0, 2
-126
128
|(s2)|<2
0, 2
Double word Indirect
U\G
Z
LC
(d)+1
(d)
*1
Data type
Single-precision real number
Single-precision real number
Single-precision real number
Bit
Bit
Constant
specification
LZ
K, H
-126
|specified value (stored value)|2
Data type (label)
ANYREAL_32
ANYREAL_32
ANYREAL_32
BOOL
BOOL
Others
E
$
128
.

Hide quick links:

Advertisement

loading