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 #697 background imageLoading...
Page #697 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 697 of 909
EXAMPLE: (Shows the use of SILENT and TALK)
RUN? 'Wait here for the RUN command.
'Set a=1 in the Terminal window to
'allow print statements.
WHILE 1 'Endless loop
IF a==1 TALK ENDIF 'If variable a is set to 1, allow
'PRINT statements on channel 0.
IF a==0 SILENT ENDIF 'If variable a is set to 0, suppress
'PRINT statements on channel 0.
PRINT("Position=",PA,#13) 'Print the Actual Position.
WAIT=3000 'Wait 3 seconds.
LOOP 'Loop back to WHILE 1 command.
END
RELATED COMMANDS:
ECHO Echo Incoming Data on Communications Port 0 (see page 396)
ECHO_OFF Turn Off Echo on Communications Port 0 (see page 400)
PRINT(...) Print Data to Communications Port (see page 638)
STDOUT=formula Set Device Output (see page 725)
SILENT1 Silence Outgoing Communications on CommunicationsPort1 (see page 698)
TALK Talk on Communications Port 0 (see page 732)
TALK1 Talk on Communications Port 1 (see page 734)
Part 2: Commands: SILENT

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