Chapter 16 PLC Function ApplicationsMS300
732
Find the natural logarithm of a binary floating point
Continuous
execution type
Notes on operand usage:
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 +1, D ]=EXP
[
S +1, S
]
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. Performs the
operation using floating point numbers and converts S to a floating point
number.
Content of operand D = e
S
; e = 2.71828, S is the designated source data
When M0 is ON, converts the value of (D1, D0) to a binary floating point
number, and stores the result in register (D11, D10).
When M1 is ON, performs the EXP operation on the exponent of (D11, D10);
converts the result to a binary floating point number stores it in register (D21,
D20).
M0
M1
DFLT D0 D10
DLN D10 D20