Calculating the common logarithm of double-precision real
number
LOG10D(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions calculate the logarithm using the common logarithm (using 10 as the base) of the value specified by a
double-precision real number.
Ladder
(s)
(d)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
LOG10D
LOG10DP
Setting data
■Description, range, data type
Operand
Description
(s)
Data used for common logarithm operation, or the start
device containing the data
(d)
Start device for storing the operation result
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=LOG10D(EN,s,d);
ENO:=LOG10DP(EN,s,d);
Range
Data type
-1022
1024
|(s)|<2
0, 2
Double-precision real
number
Double-precision real
number
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
ANYREAL_64
ANYREAL_64
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.9 Real Number Instructions
7
837