Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
7-296
LOG(P)
7.12.23  
Natural logarithm operation on floating-point data
 (Single precision) (LOG(P))
LOG(P)
*2: Applicable for the Universal model QCPU only.
Function
(1) Returns the natural logarithm of the value designated by 
 taking (e) as base, and stores 
operation results at device designated by 
.
(2) Only positive values can be designated by 
.  (Operation cannot be performed on negative 
numbers.)
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
: Data of which the natural logarithm is obtained or head number of the devices where the data is stored 
(real number)
: Head number of the devices where the operation result will be stored (real number)
Settiing 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
E
Other
Bit
Word
Bit
Word
––
––
*2
––
––
––
*2
––
––
Process
High
performance
Redundant Universal
Ver.
Basic
Command
Command
LOGP
LOG
LOGP
LOG
S
D
S
D
S
D
S
D
S
D
32-bit floating-point
real number
(
)
32-bit floating-point
real number
+1
+1
S
D
S
D
log
S