![Moog SmartMotor Скачать руководство пользователя страница 622](http://html1.mh-extra.com/html/moog/smartmotor/smartmotor_developers-manual_1831639622.webp)
P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 622 of 909
PI
Pi Constant
APPLICATION:
Math function
DESCRIPTION:
Gets the mathematical value pi
EXECUTION:
Immediate
CONDITIONAL TO:
N/A
LIMITATIONS:
Accurate to six digits (single-precision float)
READ/REPORT:
RPI
WRITE:
Read only
LANGUAGE ACCESS:
Formulas and conditional testing
UNITS:
N/A
RANGE OF VALUES:
3.141592
TYPICAL VALUES:
3.141592
DEFAULT VALUE:
3.141592
FIRMWARE VERSION:
5.x and later
COMBITRONIC:
N/A
DETAILED DESCRIPTION:
The PI (pi constant) command gets the mathematical value of pi (3.141592).
The trigonometric functions SIN, COS and TAN require degrees as input. The functions ASIN,
ACOS and ATAN return values in units of degrees. Therefore, this constant is useful, especially
in cases where you need to convert radians to degrees.
EXAMPLE:
af[7]=
ATAN
(af[6])*180/
PI
'Set af[7] to arctan result converted to radians
RELATED COMMANDS:
R
Array Float [index] (see page 261)
R
R
R
R
R
R
Part 2: Commands: PI
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...