Chapter 6 Command Reference - 79 -
Syntax – General Guidelines
Guideline Topic Guideline
Examples
Command Delimiters
(
<cr>
and
<lf>
)
All commands must be separated
by a delimiter. A carriage return is
the most commonly used.
Neutral Characters
(
<sp>
)
Using neutral characters
anywhere within a command will
not affect the command.
Set velocity limit to 100 rps:
DMVLIM<sp>1ØØ<cr>
Case Sensitivity
There is no case sensitivity. Use
upper or lower case letters within
commands.
Initiate motion:
GO1
go1
Comment Delimiter
[semi-colon ( ; ) or
apostrophe ( ‘ )]
All text between a comment
delimiter and a command delimiter
is considered
program comments
.
Add a comment to the command:
DMVLIM<sp> ;
set
velocity
;
limit
Binary and
Hexadecimal Values
When making assignments with or
comparisons against binary or
hexadecimal values, you must
precede the binary value with the
letter “
b
” or “
B
”, and the hex value
with “
h
” or “
H
”. In the binary
syntax, an “
x
” simply means the
status of that bit is ignored.
Binary:
ERRORL = bØ1111x11111111111
Hexadecimal:
ERRORL = h7FxF
Note:
The command line is limited to 32 characters (including spaces).
Table 41 Syntax Guidelines
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com