17
Programming Fundamentals
Parameters in Commands
Parameters in Commands
There are four basic types of parameters: boolean, key
words, variables and arbitrary block program data.
Boolean
The expression
OFF|ON|0|1
is a two state boolean- type
parameter. The numeric value 0 is equivalent to OFF. Any
numeric value other than 0 is equivalent to ON. The numeric
values of 0 or 1 are commonly used in the command instead
of OFF or ON, and queries of the parameter always return a
numeric value of 0 or 1.
Key Word
The parameter key words that are allowed for a particular
command are defined in the command description and are
separated with a vertical slash.
Units
Numerical variables may include units. The valid units for a
command depends on the variable type being used. See the
following variable descriptions. If no units are sent, the
indicated default units will be used. Units can follow the
numerical value with, or without, a space.
Variable
A variable can be entered in exponential format as well as
standard numeric format. The appropriate variable range
and its optional units are defined in the command
description.