P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 642 of 909
PRINT0(...)
Print Data to Communications Port 0
APPLICATION:
Data conversion
DESCRIPTION:
Serial communications channel 0 PRINT function
EXECUTION:
Immediate, at current baud rate
CONDITIONAL TO:
Channel 0 serial port open
LIMITATIONS:
Maximum command length: 63 characters (includes the PRINT0
statement)
PRINT0 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:
6.0 and later
COMBITRONIC:
N/A
DETAILED DESCRIPTION:
NOTE:
For firmware versions earlier than version 6.0, refer to the
PRINT command. For details, see PRINT(...) on page 638.
One or more items (see the following list) may be transmitted from COM 0 using the PRINT0
command. The items are separated with commas. Therefore, the number of arguments to the
PRINT0 command is flexible.
l
Strings of ASCII text can be specified with quotes: PRINT0("Hello world")
l
Variables may be specified: PRINT0(a), PRINT0(al[0]), PRINT0(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: PRINT0
(VA)
l
Literal values for characters may be specified (one 8-bit character at a time): PRINT0
(#32)
l
Binary data may be specified (one 8-bit character at a time): PRINT0(#ab[0], #ab[1])
This is useful in data mode when communicating with non-ASCII mode systems.
Part 2: Commands: PRINT0(...)
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...