Explanation Of Floating-Point Number Instructions - Delta AS Series Programming Manual

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

6.16.2

Explanation of Floating-point Number Instructions

API
Instruction code
1500
FSIN
Device
X
Y
M
S
D
Data
type
S
D
Symbol
Explanation
1.
This instruction finds the sine 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 is S 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 radian and sine values.
Operand
P
S, D
S
T
C
HC
Pulse instruction
S : Source value
D : Sine value
o
≦Degree≦360
0
)
Ch ap te r 6 Ap pl ie d Instruc ti ons
Sine of a floating-point number
D
FR
SM
SR
E
16-bit instruction
AS
-
Function
K
16#
"$"
F
32-bit instruction
AS
6 - 5 4 7
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents