Delta AS Series Programming Manual page 845

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents