5-11
MICRONIX USA, LLC
www.micronixusa.com
Rev: 3.02
5.
Commands
5.1
Command Line Syntax
There are three components to every command prompt. The first is the “
Axis Number
” which
designates which controller, or axis, will receive the command. If the “Axis Number” is
0, then the
command will be sent globally to all connected controllers. It is possible to connect up to 99
controllers; therefore the “Axis Number” will be an
integer value from 0 through 99.
T
he second component is the “
Command
”, which is
always comprised of three letters. Each
command is outlined, along with its corresponding parameters, in the
Command Description
section 5.9 of this manual.
The third and fi
nal component is the “
Parameter
”. This portion is command dependent, meaning
that the parameter value will change depending on the specific requirements of the “Command”.
Where applicable, a question mark (?) may be substituted to initiate a read operation which will
return information regarding the particular command. There may be up to three separate
parameters for a particular command, each parameter value is separated by a comma (,).
All white space (blank spaces) are ignored in the command format. The following are examples of
equivalent commands:
4TRM13,45
4 TRM 13 , 45
5.2
Command Line Format
Commands are first executed in the order that they are input, then line by line. This means that
two commands on the same line are executed significantly closer to each other than if they were
on two separate lines. Each command is separated by a semicolon (;) and every command line
ends in a terminator (EX: carriage return). The following is an example of a command line entry:
1MVR16;3MVR12
|
Axis 1, Move 16 mm [16 degrees]; Axis 3, Move 12 mm [12 degrees]
Using multiple commands on the same command line allows for synchronization of different
commands to different axes. Up to 8 commands are allowed per command line.
Only one read operation is allowed per line. The controller will not send information unless
requested to do so by a read operation.
Summary of Contents for MMC-200 Series
Page 1: ......