Delta AS Series Programming Manual page 851

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
API
Instruction code
1512
Device
X
S
D
Data
type
S
D
Symbol
Explanation
1.
This instruction calculates the square root of the floating-point number in S, and stores the result in the device
specified by D.
_6
2.
If the operation result stored in D is 0, SM600 is ON.
Example 1
When X0.0 is ON, the instruction calculates the square root of the floating-point number in (D1, D0), and stores the result
in (D11, D10).
Additional remarks
The value in S only can be a positive value. If the value in S is a negative value, an operation error occurs, the instruction
is not executed, SM0 is ON, and the error code in SR0 is 16#2003.
6 - 5 7 2
FSQR
P
Y
M
S
T
C
Operand
S, D
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
S : Source value
D : Device where the result is stored
Function
Square root of a floating-point number
SR
E
K
16#
32-bit instruction
-
AS
"$"
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents