EasyManuals Logo

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #539 background imageLoading...
Page #539 background image
537
LOG10, LOG10P
1
2
3
4
4
6
7
8
7.12 Special function instructions
7.12.25 LOG10, LOG10P
: Data of which the common logarithm is obtained or head number of the devices where the data are stored (real number)
: Head number of the devices where the operation result will be stored (real number)
*1: Available only for real number.
Function
(1) This instruction obtains the value specified by for common logarithm (logarithm with base 10), and then stores the
operation result into the device specified by .
(2) Only positive values can be specified by . (Operation cannot be performed on negative numbers.)
(3) If the value resulted from the operation is -0 or an underflow occurs, the result will be processed as 0.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns on, and an error code is stored into
SD0.
7.12.25 LOG10, LOG10P Co mmon logarithm operation o n floating-poi nt data
(Single pre cision)
7.12.25
LOG10, LOG10P
• QnU(D)(H)CPU, QnUDE(H)CPU: The serial number (first five
digits) is "10102" or later.
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
E
Other
Bit Word Bit Word
–– –– ––
*1
––
–– –– –– –– ––
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100
The value specified in is negative.
The value specified in is 0.
–– –– –– ––
4140
The specified device value is not within the following range:
0, 2
-126
| Specified device value | < 2
128
The value specified by is -0.
–– –– –– ––
4141
The operation result is within the following range (when an overflow
occurs):
2
128
| Operation result |
–– –– –– ––
Basic
High
performance
Process
Redundant
Universal
LCPU
Ver.
LOG10P
LOG10
LOG10P
LOG10
S
D
S
D
Command
Command
S
D
S
D
S
D
Log10
S S
+1
32-bit floating-point
data type real number
32-bit floating-point
data type real number
D D
+1
S
S
S
S

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals