EasyManua.ls Logo

Inovance H3U Series - ESQR Binary Floating-Point Square Root Operation

Inovance H3U Series
737 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
Loading...
145
4
4 Instructions 4.4.5 Exponent Operations
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
The common logarithm of a binary oating-point number is calculated. The base is 10.
Note: The value in S must be positive. If it is 0 or negative, an operation error will occur. The error code is
K6706 and stored in D8067. The error ag M8067 is set to ON to identify this error.
Example:
M10
ǒDLOG10 D0 D2Ǔ
S D
M11
When M10 = ON, the common logarithm of the binary floating-point
number in (D1, D0) is calculated with a base of 10.
ǒDLOG10P D10 D12Ǔ
10
(D1ǃD0)
(D3ǃD2)
log
ESQR: Binary oating-point square root operation
Overview
The ESQR instruction calculates the square root of a binary oating-point number.
ESQR S D
Binary oating-
point square root
operation
Applicable model:
H3U
S
Data
source
Binary oating-point variable whose square root is to be
calculated
32-bit instruction (9
steps)
DESQR:
Continuous
execution
DESQRP: Pulse
execution
D
Operation
result
Unit that stores the calculated square root
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals