omron — PARAMETER real-valued function

PARAMETER real-valued function PARAMETER real-valued function Syntax PARAMETER (parameter_name) PARAMETER (parameter_name[index]) Function Return the current setting of the named system parameter. Parameters parameter_name Name of the system parameter whose value is to be returned. index For parameters that can be qualified by an index, this is a (required) real value, variable, or expression that specifies the specific parameter element of interest. Details This function returns the current setting of the given system parameter. The parameter name can be abbreviated to the minimum length that identifies it uniquely. Other system parameters are available when options are installed.

Refer to the option documentation for details. For example, the parameters associated with the AdeptVision options are described in the section Descriptions of Vision Keywords in the AdeptVision Reference Guide . Examples The following example illustrates how the current setting of the TERMINAL parameter can be displayed on the system terminal during program execution: TYPE "The TERMINAL parameter is set to", PARAMETER(TERMINAL) The PARAMETER function can also be used in any expression to include the value of a parameter. For example, the following program statement can be used to increase the time 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. eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 386