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 #741 background imageLoading...
Page #741 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 741 of 909
EXAMPLE: (Demonstrates relationship between TEMP, TH, and Bh)
GOSUB10 'Report TEMP, TH, and Bh
a=5
b=TEMP
WHILE a>-5 'Vary TH about the current TEMP
TH=b-a
WAIT=2000
GOSUB10 'Observe Bh flag change from 0 to 1
a=a-1 'as TH is reduced to TEMP value and less
LOOP
END
C10
PRINT(#13,"Read the temperature ",b)
PRINT(#13,"Read TH overheat value ",TH)
PRINT(#13,"Read Bh overheat flag ",Bh)
RETURN
Program output is:
Read the temperature 0
Read TH overheat value 85
Read Bh overheat flag 0
Read the temperature 29
Read TH overheat value 24
Read Bh overheat flag 1
Read the temperature 29
Read TH overheat value 25
Read Bh overheat flag 1
Read the temperature 29
Read TH overheat value 26
Read Bh overheat flag 1
Read the temperature 29
Read TH overheat value 27
Read Bh overheat flag 1
Read the temperature 29
Read TH overheat value 28
Read Bh overheat flag 1
Read the temperature 29
Read TH overheat value 29
Read Bh overheat flag 1
Read the temperature 29
Read TH overheat value 30
Read Bh overheat flag 1
Read the temperature 29
Read TH overheat value 31
Read Bh overheat flag 1
Read the temperature 29
Read TH overheat value 32
Read Bh overheat flag 1
Read the temperature 29
Read TH overheat value 33
Read Bh overheat flag 1
RELATED COMMANDS:
R
Bh Bit, Overheat (see page 301)
Part 2: Commands: TH=formula

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