EasyManua.ls Logo

Delta CP2000 Series

Delta CP2000 Series
868 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 16 PLC Function ApplicationsCP2000
16-89
API
LN
Binary floating point number obtain logarithm
125
D P
Bit device Word device
16-bit command
32-bit command (9 STEP)
DLN Continuous
execution type
DLNP Pulse
execution type
Flag signal: none
X Y M K H KnX KnY KnM T C D
S
D
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
S: operation source device. D: operation results device.
Taking e =2.71828 as a base, S is the exponent in the EXP operation.
[ D +1D ]=EXP
[
S +1S
]
Valid regardless of whether the content of S has a positive or negative value. The
designated register D must have a 32-bit data format. This operation is performed
using floating-point numbers, and S must therefore be converted to a floating
point number.
Content of operand D =e
S
; e=2.71828 S is the designated source data
When M0 is On, the value of (D1, D0) will be converted to a binary floating point
number, which will be stored in register (D11, D10).
When M1 is On, the EXP operation is performed on the exponent of (D11, D10);
its value is a binary floating point number stored in register (D21, D20).
M0
M1
DFLT D0 D10
DLN D10 D20

Table of Contents

Other manuals for Delta CP2000 Series

Related product manuals