Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 826

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions calculate the logarithm using natural logarithm (e) of the value specified by (s), and store the operation
result in the device specified by (d).
(s)+1
(s)
log (
Single-precision real number
• Input a positive value only. (No negative value can be calculated.)
• When an input value is set using the engineering tool, a rounding error may occur. Refer to the following for the precautions
on setting input values using the engineering tool.
Page 49 Precautions
Operation error
Error code
Description
(SD0)
The value input to (s) is -0, a subnormal number, NaN (not a number), or .
3402H
3405H
An out-of-range value is set to (s).
• The specified value is a negative number.
• The specified value is 0.
7 APPLICATION INSTRUCTIONS
824
7.9 Real Number Instructions
(d)+1
)
Single-precision real number
(d)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents