P
ar
t
2: C
omman
d
s
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 ASCII character encoding).
l
System variables may be printed as long as they do not require () parenthesis: PRINT
(VA)
Part 2: Commands: PRINT(...)
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...