18.10 Fnc122 - Emul / Floating Point Multiplication - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
18.10 FNC122 – EMUL / Floating Point Multiplication
Outline
This instruction executes multiplication of two binary floating point data.
1. Instruction format
FNC 122
D
EMUL
2. Set data
Operand Type
S
1
S
2
D
*1.
When a constant (K or H) is specified, it is automatically converted into binary floating point (real number)
when the instruction is executed.
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
1
S
2
D
: This function is supported only in FX
Explanation of function and operation
1. 32-bit operation (DEMUL and DEMULP)
Binary floating point data [
multiplication result in the binary floating point format is transferred to [
Command
input
FNC122
DEMUL
When a constant (K or H) is specified as [
binary floating point.
Command
input
FNC122
DEMUL
508
→ For program examples of floating point operations, refer to Section 12.10.
Mnemonic
16-bit Instruction
P
Word device number storing binary floating point data used in multiplication
Word device number storing binary floating point data used in multiplication
Data register number storing the multiplication result
Digit Specification
/FX
3U
S
+1,
S
1
1
S
S
1
2
S
S
1
2
18.10 FNC122 – EMUL / Floating Point Multiplication
→ For handling of floating point, refer to Subsection 5.1.3.
Operation Condition
32-bit Instruction
Description
Word Devices
Special
System User
Unit
PLCs.
3UC
] is multiplied by binary floating point data [
D
[
S
+1,
S
1
1
Binary floating point
S
+1,
S
] or [
S
1
1
2
D
S
S
[
+1,
1
1
Binary floating point
18 Floating Point – FNC110 to FNC139
Mnemonic
Operation Condition
DEMUL
13 steps
DEMULP
Real number (binary)
Con-
Real
Index
stant
Number
V
Z Modify K H
E
S
+1,
2
D
+1,
D
].
] × [
] → [
S
+1,
S
D
2
2
Binary floating point
Binary floating point
+1,
S
], it is automatically converted into
2
] × [
] → [
D
K100
Automatically
Binary floating point
converted into binary
floating point
Continuous
Operation
Pulse (Single)
Operation
Data Type
*1
Others
Charac-
Pointer
ter String
" "
P
S
], and the
2
+1,
D
]
D
+1,
]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents