Fnc125 - Loge / Floating Point Natural Logarithm - Mitsubishi FX3U Series Programming Manual

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
18.13 FNC125 – LOGE / Floating Point Natural Logarithm
Outline
This instruction executes the natural logarithm operation.
1. Instruction format
FNC 125
D
LOGE
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 (DLOGE and DLOGP)
Natural logarithm [logarithm whose base is "e (2.71828)"] of [
result is stored to [
Command
input
FNC125
DLOGE
• Only a positive value can be set in [
for a negative value.)
Errors
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is
stored in D8067.
• When a negative value is specified in
• When "0" is specified in
486
Mnemonic
16-bit Instruction
P
Head device number storing binary floating point data used in the natural
logarithm operation
Head device number storing the operation result
Digit Specification
+1,
]. A real number can be directly specified as
D
D
S
D
S
(error code: K6706)
S
18.13 FNC125 – LOGE / Floating Point Natural Logarithm
→ For handling of floating point, refer to Subsection 5.1.3.
Operation Condition
32-bit Instruction
Description
Word Devices
Special
System User
Unit
+1,
S
+1
S
S
log
e
Binary floating point
(real number)
+1,
]. (The natural logarithm operation cannot be executed
S
(error code: K6706)
S
18 Floating Point – FNC110 to FNC139
Mnemonic
Operation Condition
DCMP
9 steps
DCMPP
Real number (binary)
Others
Con-
Real
Index
stant
Number
V Z Modify K H
E
] is calculated, and the operation
S
.
S
+1
D
Binary floating point
(real number)
Continuous
Operation
Pulse (Single)
Operation
Data Type
Charac-
Pointer
ter String
" "
P
D

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents