10 common logarithm instruction (log), Parameter program example, Outline – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual
Page 106: Format

1 Ladder Program Instructions
1.5.10 COMMON LOGARITHM Instruction (LOG)
1-96
Parameter
Program Example
The natural logarithm of the input value (x
= 10.0) [Log
e
(x)
= 2.3026] is calculated.
LN instruction is input (x) value is checked, execute the following handling.
• When the input is minus LN (-1), calculate an absolute value.
• When the input is zero LN (0), take -
∞ for solution.
1.5.10 COMMON LOGARITHM Instruction (LOG)
Outline
The LOG instruction uses the Source as the input (x) and stores the common logarithm
(Log
10
x
) of the input in the Dest as the operation result. This instruction can be used only in
a real number operation.
Format
Parameter Name
Setting
Source
(Input)
• Any real number type register
• Any real number type register with subscript
• Constant
Dest
(Output)
• Any real number type register (except for # and C register)
• Any real number type register with subscript (except for # and
C register)
INFO
Symbol: LOG
Full Name: Logarithm Base 10
Category: FUNCTION
Icon: