Delta AS Series Programming Manual page 847

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
1510
Device
X
S
D
Data
type
S
D
Symbol
Explanation
1.
This instruction converts the radians value in S to degrees, and stores it in D.
2.
Degree=Radian×(180/π).
_6
3.
If the absolute value of the conversion result is larger than the value that can be represented by floating-point
numbers, the value in D is 16#7F7FFFFF.
4.
If the absolute value of the conversion result is less than the value that can be represented by floating-point
numbers, the value in D is 16#7F7FFFFF.
5.
If the conversion result is zero, SM600 is ON.
Example
When X0.0 is ON, the instruction converts the radians values in (D1, D0) to the degree value, and stores the conversion
result in (D11, D10). The degree in (D11, D10) is a floating-point number.
6 - 5 6 8
FDEG
P
Y
M
S
T
C
Operand
S, D
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
S : Source value (in radians)
D : Conversion result (in degrees)
Function
Converting radians to degrees
SR
E
K
16#
"$"
32-bit instruction
-
AS
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents