Standard Functions; Sine : Sin - Mitsubishi Electric Q173CPU Programming Manual

Q series motion controller
Hide thumbs Also See for Q173CPU:
Table of Contents

Advertisement

7 OPERATION CONTROL PROGRAMS

7.6 Standard Functions

7.6.1 Sine : SIN

Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(S)
[Setting data]
Setting data
[Functions]
[Errors]
[Program examples]
SIN(S)
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
Angle data on which SIN (sine) operation will be
(S)
(1) SIN (sine) operation is performed on the data specified with (S).
(2) The data specified with (S) is in an angle (degree) unit.
(3) If (S) is an integer type, it is converted into a floating-point type before operation is
performed.
(1) An operation error will occur if:
• (S) is an indirectly specified device and its device No. is outside the range.
(1) Program which performs the SIN operation of D0 and substitutes the result to #0F
#0F = SIN(D0)
#3
#2
0.70710678118655
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
Description
performed
#1
#0
7 - 25
F/FS
Number of basic steps
Bit
64-bit
Calculation
conditional
floating
expression
expression
point
type (K)
Data type of result
Floating-point type
D0
45
G
2
Comparison
conditional
expression
: Usable

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpunQ172cpuQ172cpun

Table of Contents