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 #638 background imageLoading...
Page #638 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 638 of 909
PRINT(...)
Print Data to Communications Port
APPLICATION: Data conversion
DESCRIPTION: Serial communications PRINT function
EXECUTION: Immediate, at current baud rate
CONDITIONAL TO: Appropriate communications port open (see details)
LIMITATIONS:
Maximum command length: 63 characters (includes the PRINT
statement)
PRINT command not executed until transmit buffer is cleared
from previous PRINT statements
READ/REPORT: N/A
WRITE: N/A
LANGUAGE ACCESS: N/A
UNITS: N/A
RANGE OF VALUES: See details
TYPICAL VALUES: See details
DEFAULT VALUE: N/A
FIRMWARE VERSION: 5.x and later
COMBITRONIC: N/A
DETAILED DESCRIPTION:
For version 6.0 and later firmware, the PRINTcommand follows the value of STDOUT, which
is 8 (USB port) by default. For STDOUTdetails, see STDOUT=formula on page 725.
l
To explicitly output to the Class 6 SmartMotor's communication port 0, use the PRINT0
command. For details, see PRINT0(...) on page 642.
l
To explicitly output to the Class 6 SmartMotor's USB port, use the PRINT8 command.
For details, see PRINT8(...) on page 649.
For version 5.x firmware, the PRINTcommand outputs only to communications port 0.
One or more items (see the following list) may be transmitted using the PRINT command. The
items are separated with commas. Therefore, the number of arguments to the PRINT
command is flexible.
l
Strings of ASCII text can be specified with quotes: PRINT("Hello world")
l
Variables may be specified: PRINT(a), PRINT(al[0]), PRINT(af[0])
These values will print in decimal form (with ASCIIcharacter encoding).
l
System variables may be printed as long as they do not require () parenthesis: PRINT
(VA)
Part 2: Commands: PRINT(...)

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