EasyManuals Logo

Moog SmartMotor User Manual

Moog SmartMotor
909 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #470 background imageLoading...
Page #470 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 470 of 909
l
The string can be up to eight bytes long and terminated with a NULL value 0. If fewer
than eight digits are found, the termination is required so the command knows the size
of the hex number. If more than eight digits are found, only the first eight are
processed.
l
The result is an integer.
EXAMPLE:
'Value of: 5862
'Hex of: 16E6
'Decimal representation of hex: 049 054 069 054
ab[10]=49
ab[11]=54
ab[12]=69
ab[13]=54
ab[14]=0 'Null character to end value
x=HEX(10) 'Set x to hex value
Rx 'Report x command
Program output is:
5862
RELATED COMMANDS:
R
ATOF(index) ASCII to Float (see page 284)
R
DFS(value) Dump Float, Single (see page 387)
R
LFS(value) Load Float Single (see page 516)
Part 2: Commands: HEX(index)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moog SmartMotor and is the answer not in the manual?

Moog SmartMotor Specifications

General IconGeneral
BrandMoog
ModelSmartMotor
CategoryServo Drives
LanguageEnglish

Related product manuals