Delta AH500 Programming Manual page 508

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
API
Instruction code
1512
FSQR
Device X
Y
M
S
D
Symbol:
Explanation:
1.
The square root of the floating-point number in the register specified by S is calculated, and
the result is stored in the register specified by D.
2.
If the operation result stored in D is 0, SM600 is ON.
Example 1:
When X0.0 is ON, the square root of the floating-point number in (D1, D0) is calculated, and the
result is stored in (D11, D10).
Additional remark:
1.
The value in the device specified by S only can be a positive value. If the value in the device
specified by S is a negative value, the operation error occurs, the instruction is not executed,
SM0 is ON, and the error code in SR0 is 16#2003.
6 - 3 4 0
Operand
P
S, D
S
T
C
HC
D
Pulse instruction 16-bit instruction (5-6 steps) 32-bit instruction
AH500
S : Source device
D : Device in which the result is stored
Square root of the floating-point
number
L
SM SR
E
PR
AH500
Function
K
16# "$"
DF
-
Double word
Double word

Advertisement

Table of Contents
loading

Table of Contents