268
D L O G E P
S
D
1
2
M
3
○○○
FNC
125
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
S
D
DLOGEP D0 D10
X0
S
D
S
D
S
S
S>0
○
Operand
Devices
BIN Floating Point Nature Logarithm
log
e
10
In 10=
=
2.302585
(D1, D0) BIN floating number
(D11, D10) BIN floating number
S : the source device to be performed the natural logarithmic operation
D : the destination device to store the natural logarithmic result
This instruction performs the natural logarithmic operation on a BIN oating point number that is designated by
and stores the BIN oating point format result in the designated device.
When X0 = “OFF” → “ON”, this instruction performs the natural logarithmic operation on the BIN oating point
number in (D1, D0) as the logarithm to the base of the mathematical constant e, and the result will be stored in
(D11, D10).
S
This instruction is based on the constant base e = 2.71828 to perform the natural logarithm function.
This instruction is a 32-bit instruction. Therefore, be sure to input DLOGEP or DLOGEP in the program.
The source operand must assign to a BIN oating point number for the calculation.
The format for storing a oating point number will occupy two Registers in the PLC system. Please refer to the
section 2-13 “Numerical System” for the reference of the oating point number.
If the value of is less than or equal to zero, the PLC will regard that as an operational error. Therefore, the
must designate to a positive number.