User`s guide
Parameters
See the V+ Language Reference Guide for more detailed descriptions of the keywords
discussed here.
Whenever a system parameter name is used, it can be abbreviated to the minimum length
required to identify the parameter. For example, the HAND.TIME parameter can be
abbreviated to H, since no other parameter name begins with H.
Viewing Parameters
To see the state of a single parameter, use the PARAMETER monitor command:
PARAMETER parameter_name
If parameter_name is omitted, the value of all parameters is displayed.
To retrieve the value of a parameter from within a program, use the PARAMETER function.
The instruction:
TYPE "HAND.TIME parameter =", PARAMETER(HAND.TIME)
will display the current setting of the hand-delay parameter in the monitor window.
The PARAMETER function can be used in any expression to include the value of a parameter.
For example, the following program statement increases the delay for hand actuation:
PARAMETER HAND.TIME = PARAMETER(HAND.TIME) + 0.15
Note that the left-hand occurrence of PARAMETER is the instruction name and the right-hand
occurrence is the function name.
Setting Parameters
To set a parameter from the command line, use the PARAMETER monitor command. The
command:
PARAMETER HAND.TIME = 0.5
sets the hand operation delay time to 0.5 seconds.
To set a parameter in a program, use the PARAMETER program instruction. The instruction:
PARAMETER NOT.CALIBRATED = 1
asserts the not calibrated state for robot 1.
Some parameters are organized as arrays and must be accessed by specifying an array index.
Parameters
V+Language User's Guide, v17.0
Page 156










