18.12 Fnc124 - Exp / Floating Point Exponent - 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.12 FNC124 – EXP / Floating Point Exponent
Outline
This instruction executes exponential operation whose base is "e (2.71828)".
1. Instruction format
FNC 124
D
EXP
2. Set data
Operand Type
S
D
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
D
Explanation of function and operation
1. 32-bit operation (DEXP and DEXPP)
The exponent of [
A real number can be directly specified as
Command
input
FNC124
DEXP
• In the exponential operation, the base (e) is set to "2.71828".
S
e
Binary floating point
(real number)
Error
An operation error occurs in the following case; The error flag M8067 turns ON, and the error code is stored in D8067.
• When the operation result is outside the following range (error code: K6706)
−126
≤ | Operation result | < 2
2
510
Mnemonic
16-bit Instruction
P
Head device number storing binary floating point data used in exponential operation.
Head device number storing the operation result.
Digit Specification
S
+1,
S
] is calculated, and the operation result is stored to [
S
D
+1
S
128
18.12 FNC124 – EXP / Floating Point Exponent
→ For handling of floating point, refer to Subsection 5.1.3.
Operation Condition
32-bit Instruction
Description
Word Devices
Special
System User
Unit
.
S
+1
D
D
Binary floating point
(real number)
18 Floating Point – FNC110 to FNC139
Mnemonic
Operation Condition
DEXP
9 steps
DEXPP
Real number (binary)
Others
Con-
Real
Index
stant
Number
V
Z Modify K H
E
D
+1,
D
Continuous
Operation
Pulse (Single)
Operation
Data Type
Charac-
Pointer
ter String
" "
P
].

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents