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 #699 background imageLoading...
Page #699 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 699 of 909
EXAMPLE: (Shows use of SILENT1 and TALK1)
RUN? 'Wait here for the RUN command.
'Set a=1 in the Terminal window to allow print statements.
OCHN(RS4,1,N,9600,1,8,C) 'Open ports 4 and 5 as RS-485 channel 1.
WHILE 1 'Endless loop.
IF a==1 TALK1 ENDIF 'If variable a is set to 1, allow
'PRINT statements on channel 1.
IF a==0 SILENT1 ENDIF 'If variable a is set to 0, suppress
'PRINT statements on channel 1.
PRINT1("Position=",PA,#13) 'Print the actual position.
WAIT=3000 'Wait 3 seconds.
LOOP 'Loop back to WHILE 1 command.
END
RELATED COMMANDS:
ECHO1 Echo Incoming Data on Communications Port 1 (see page 399)
ECHO_OFF1 Turn Off Echo on Communications Port 1 (see page 402)
PRINT1(...) Print Data to Communications Port 1 (see page 646)
STDOUT=formula Set Device Output (see page 725)
SILENT Silence Outgoing Communications on CommunicationsPort0 (see page 696)
TALK Talk on Communications Port 0 (see page 732)
TALK1 Talk on Communications Port 1 (see page 734)
Part 2: Commands: SILENT1

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