Delta AS Series Programming Manual page 828

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
1501
FCOS
Device
X
Y
M
S
D
Data
type
S
D
Symbol
Explanation
1.
This instruction finds the cosine of the value in S and stores it in D. The state of SM695 determines whether the
source value in S is in radians or degrees.
2.
If SM695 is OFF, the source value in S is in radians.
Radian=Degree×π/180.
3.
If SM695 is ON, the source value in S is in degrees.
Degree=Radian×180/π. (0
4.
If the conversion result is zero, SM600 is ON.
5.
The following graph shows the relation between radians and cosine values.
Operand
P
S, D
S
T
C
HC
Pulse instruction
S : Source value
D : Cosine value
o
≦Degree≦360
0
)
Ch ap te r 6 Ap pl ie d Instruc ti ons
Cosine of a floating-point number
D
FR
SM
SR
16-bit instruction
AS
-
Function
E
K
16#
"$"
F
32-bit instruction
AS
6 - 5 4 9
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents