Delta AS Series Programming Manual page 831

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
Example
When X0.0 is ON, the BIN instruction converts the binary-coded decimal value in X1.15–X1.0 into the binary value, and
stores the conversion result in D0. The FLT instruction converts the binary value in D0 into the floating-point number, and
stores the conversion result in (D11, D10). The FRAD instruction converts the floating-point number in (D11, D10) into
radians, and stores the conversion result in (D21, D20). The FTAN instruction finds the tangent of the radian value in
(D21, D20) and stores it in (D31, D30). The tangent value is a floating-point number.
_6
X1.15~X1.0
0 0
4
5
Binary -coded
decimal value
F RAD
6 - 5 5 2
BIN
F LT
D0
45
Binary val ue
F TAN
D21~D20
R0.785398
F loating- point
number
D11~D10
R56
F loating- point
number
D31~D30
R1
F loating- point
number

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents