LOGD(P)
Program Example
(1) The following program seeks the natural logarithm of the value "10" set by D50, and stores
the result at D30 to D33.
[Ladder Mode]
[List Mode]
Step
[Operation]
10
7-298
Instruction
Device
2
Conversion to
D50
1
b15
b0
floating-point
10
MOV
BIN value
FLTD
Sets data used for natural logarithm
operation (
).
1
Converts the operation data into a 64-bit
floating-point real number (
2
Executes natural logarithm operation (
D43 D42
D41
D40
LOG operation
3
10
LOGD
64-bit floating-point
real number
).
).
3
D33 D32
D31
D30
2.302585
64-bit floating-point
real number