9 natural logarithm instruction (ln) – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 105

Advertising
background image

1.5 Basic Function Instructions

1-95

1

„

Parameter

„

Program Example

e (

= 2.7183) to the power of the input value (x = 1.0) is calculated.

Maximum value (3.4 ・・・ E + 38) is stored and an operation error will not occur even if the operation
results of EXP instruction in an overflow.

1.5.9 NATURAL LOGARITHM Instruction (LN)

„

Outline

The LN instruction uses the Source as the input (x) and stores the natural logarithm (Log

e

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: LN
Full Name: Natural Logarithm
Category: FUNCTION
Icon:

Advertising
This manual is related to the following products: