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 #422 background imageLoading...
Page #422 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 422 of 909
EXAMPLE:
a=1 'PRINT("FALSE") is always executed
IF a==2
PRINT("TRUE")
ELSE
PRINT("FALSE")
ENDIF
EXAMPLE:
IF a==1 'Only if a is NOT 1, 2, or 3
'will GOSUB5 be executed.
GOSUB2
ELSEIF a==2
GOSUB3
ELSEIF a==3
GOSUB4
ELSE
GOSUB5
ENDIF
C2 'Some subroutine code here
C3 'Some subroutine code here
C4 'Some subroutine code here
C5 'Some subroutine code here
RELATED COMMANDS:
ELSEIF formula IF-Structure Command Flow Element (see page 423)
ENDIF End IF Statement (see page 433)
IF formula Conditional Program Code Execution (see page 475)
Part 2: Commands: ELSE

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