Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 240 of 909
(Single Space Character)
Single Space Delimiter and String Terminator
APPLICATION: Program execution and flow control
DESCRIPTION: Single spaces placed between a series of user variables or com-
mands
EXECUTION: Immediate
CONDITIONAL TO: N/A
LIMITATIONS: N/A
READ/REPORT: N/A
WRITE: N/A
LANGUAGE ACCESS: Serial communications channel data
UNITS: N/A
RANGE OF VALUES: N/A
TYPICAL VALUES: N/A
DEFAULT VALUE: N/A
FIRMWARE VERSION: 5.x and later
COMBITRONIC: N/A
DETAILED DESCRIPTION:
A single space character may be placed between a series of user commands in a single ASCII
string as delimiter. If it is sent from a PLC or PC, the same space character can be used as a
string terminating character.
NOTE: When sending commands through the serial port from a PC, PLC or other
controller, a space character can be used as both a delimiter and a string
terminator. It can be used equally and interchangeably with a carriage return as a
string terminator.
EXAMPLE: (as delimiter and null terminator in PRINT command)
PRINT("a=1 b=2 ")
'Note space after b=2 as null terminator.
equivalent:
PRINT("a=1 b=2",#13)
'Note carriage return as null terminator.
RELATED COMMANDS:
N/A
Part 2: Commands: (Single Space Character)