Delta AH500 Programming Manual page 494

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
1502
FTAN
Device X
Y
M
S
D
Symbol:
Explanation:
1.
Whether the source value specified by S is a radian or a degree depends on the state of
SM695.
2.
If SM695 is OFF, the source value specified by S is a radian. Radian=Degree×π/180.
3.
If SM695 is ON, the source value specified by S is a degree.
Degree=Radian×180/π. (0
4.
If the conversion result is 0, SM600 is ON.
5.
The tangent of the source value specified by S is stored in the register specified by D.
6.
The relation between radians and tangent values are shown below.
Example:
When X0.0 is ON, the binary-coded decimal value in X1.15~X1.0 is converted into the binary value,
and the conversion result is stored in D0. The binary value in D0 is converted into the floating-point
number, and the conversion result is stored in (D11, D10). The floating-point number in (D11, D10) is
converted into the radian, and the conversion result is stored in (D21, D20). The tangent of the
radian in (D21, D20) is stored in (D31, D30), and the tangent value is the floating-point number.
6 - 3 2 6
Operand
P
S, D
S
T
C
HC
D
Pulse instruction 16-bit instruction (5-6 steps) 32-bit instruction
AH500
S : Source value
D : Tangent value
≦Degree≦360
o
0
)
Tangent of the floating-point
number
L
SM SR
E
PR
AH500
Double word
Double word
Function
K
16# "$"
DF
-

Advertisement

Table of Contents
loading

Table of Contents