269
D L O G 1 0 P
S
D
1
2
M
3
○○○
FNC
126
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
S
D
DLOG10P D0 D10
X0
S
D
S
D
S
S
S>0
○
Operand
Devices
BIN Floating Point Common Logarithm
20
=
1.30103
log
10
(D1, D0) BIN floating number
(D11, D10) BIN floating number
S : the source device to be performed the common
logarithmic operation
D : the destination device to store the common
logarithmic result
S
This instruction performs the common 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 common logarithmic operation on the BIN oating point
number in (D1, D0) as the logarithm to the base 10, and the result will be stored in (D11, D10).
This instruction is based on the constant number 10 to perform the common logarithm function.
This instruction is a 32-bit instruction. Therefore, be sure to input DLOG10 or DLOG10P 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.