266
Gemini GV6K/GT6K Command Reference
Encoder Motors (with
SFB1
):
The
SHALL
command controls the logic sense of the Hall sensors. To invert
the sensors, use the
SHALL1
command. To check the present value of the Hall sensors, use the
THALL
command.
For a complete description on how to troubleshoot Hall sensors, especially for non-Compumotor motors,
refer to the
Hardware Installation Guide
section on using non-Compumotor motors.
Resolver Motors (with
SFB4
):
If you use a resolver motor,
SHALL
is not applicable.
[ SIN( ) ]
Sine
Type
Operator (Trigonometric)
Syntax
...
SIN(r)
(See
below)
Units
r = value in radian or degrees based on RADIAN command
Range
±17500.0000000 radians
Default
n/a
Response
n/a
See Also
[
ATAN
],
[
COS
],
[
PI
],
RADIAN,
[
TAN
],
VAR
Product Rev
GT6K 6.0
GV6K 6.0
This operator is used to calculate the sine of a number
given in radians or degrees (see the
RADIAN
command). If "
a
" and "
b
" are coordinates of a point
on a circle of radius "
r
", then the angle of measure "
θ
"
can be defined by the equation:
sine =
a
r
θ
If a value is given in radians and a conversion is
needed to degrees, use the formula: 360° = 2
π
radians.
y
x
r
b
a
θ
sin
θ =
a
r
cos
θ =
b
r
tan
θ =
a
b
The graph on the right
shows the amplitude of
y
on the unit circle for
different values of
x
.
1
0.707
0
-1
-0 .7 07
4
4
3
π
π
5
π
4
7
π
4
2
π
3
π
2
2
Radia ns
Amplitud e
(y a xis )
(x axis)
2
π
Ra di ans = 3 60 De gr ee s
π
π
Syntax:
VARx=SIN(r)
where “
x
” is the numeric variable number and “
r
” is a value provided in either degrees or
radians based on the
RADIAN
command. Parentheses (
()
) must be placed around the
SIN
operand. The
result will be specified to 5 decimal places.
Example:
RADIAN1
VAR1=5 * SIN(PI/4)
; Set variable 1 equal to 5 times the sine of Pi divided by 4
www.comoso.com
Содержание Gemini GT6K
Страница 24: ...www comoso com ...
Страница 40: ...www comoso com ...
Страница 344: ...www comoso com ...
Страница 350: ...www comoso com ...