Delta Electronics AH500 Manual page 210

Motion control module
Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
132
D
TAN
Device
X
Y
M
S
D
 S: Source value; D: Tangent value
 Whether the source value in S is a radian or a degree depends on the
E xp la nat io n
 If a radian/degree flag is OFF, the source value in S is a radian.
 If a radian/degree flag is ON, the source value in S is a degree.
 If an operation result is 0, a zero flag will be ON.
 The tangent of the source value in S is stored in D.
 SM1064 is the zero flag in an Ox motion subroutine, and SM968 is the
 SM1049 is the operation error flag in an Ox motion subroutine, and
5 - 9 5
Operand
P
S, D
S
K
16#
F
KnM KnS
Pulse instruction 16-bit instruction 32-bit instruction (6 steps)
state of a radian/degree flag.
Radian=Degree×π/180.
≦Degree≦360
o
0
(0
)
The relation between radians and tangent values is shown below.
1
3
-
-
-2
-2
2
2
- 1
zero flag in O100.
SM953 is the operation error flag in O100.
Ch ap te r 5 Ap plie d Instruc tions
Tangent of a binary
floating-point number
D
W
R
S:
R: Tang ent va lu e
S
3
0
2
2
2
Function
T
C
V
Z
Radian

Advertisement

Table of Contents
loading

Table of Contents