hit counter script

18.14 Fnc126 - Log10 / Floating Point Common Logarithm - 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.14 FNC126 – LOG10 / Floating Point Common Logarithm
Outline
This instruction executes the common logarithm operation.
1. Instruction format
FNC 126
D
LOG10
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 (DLOG10 and DLOG10P)
Common logarithm [logarithm whose base is "10"] of [
stored to [
D
Command
input
FNC126
DLOG10
• Only a positive value can be set in [
negative value.)
Errors
An operation error occurs 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
514
Mnemonic
16-bit Instruction
P
Head device number storing binary floating point data used in the common logarithm
operation
Head device number storing the operation result
Digit Specification
+1,
D
]. A real number can be directly specified as
S
D
S
S
(error code: K6706)
S
18.14 FNC126 – LOG10 / Floating Point Common Logarithm
→ 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,
S
+1
S
S
log
10
Binary floating point
(real number)
+1,
]. (The common logarithm operation cannot be executed for a
S
(error code: K6706)
18 Floating Point – FNC110 to FNC139
Mnemonic
Operation Condition
DLOG10
9 steps
DLOG10P
Real number (binary)
Others
Con-
Real
Index
stant
Number
V
Z Modify K H
E
] is calculated, and the operation result is
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:

Fx3u seriesFx3uc series

Table of Contents