Parker Hannifin VIX500IM Stepper Machine User Manual


 
6. COMMAND REFERENCE 115
6. Command Reference
Command Description
Each command has a simple 1 to 7 character name usually an abbreviation of its full
descriptive title. Listed commands are in alphabetic order with any non-alphabetic symbols
appearing last.
Each individual description will include a one-line header giving the abbreviated name
followed by its full name. The following lines give the command syntax, units of
measurement, range of values, any default value and a reference to other related
commands. Where commands contain a list of parameters, a simple layout displays only the
syntax of the command.
Every command requires an address. Where several drives need to respond to a
common set of global commands, prefix each command with the address 0. To prevent
spurious feedback any report or read command using address 0 will be ignored. Note a
drive will ignore a command missing an address prefix.
Where commands (such as IF, R, TR, and W) include a system variable it is treated as a
command parameter. System variables store internal drive values and settings. Each
variable is capable of being read and tested, and some may be written to, but they are all
dedicated for a particular use by the system and cannot be used for storing user data within
a program.
Command Syntax
Generally, a commands syntax consists of an address a followed by the command name.
Parenthesis containing the commands parameters or simply the range parameter n follows
this. Within the parenthesis form of command, a comma separates each parameter and
italics indicate any optional parameters.
Commands not requiring any parameter string have the syntax shown in Figure 6-1.
aARMn
Range parameter
Command name
Address prefix
Figure 6-1. Simple Command Syntax
Commands, which include a parameter string, can be simple one parameter commands
such as GOSUB or CLEAR where the single parameter is a label, or multi-parameter
commands containing a string of parameter values. Figure 6-2 shows both styles of
parameter commands.