16 eV+3KeywordReferenceManual 22353-000 Rev. C
1.6 Keyword Parameters
When an optional parameter is omitted, the system will assume a default. Omitting an
optional parameter that is in the middle of the keyword's syntax must respect the use of any
necessary commas, as shown below.
CALL program_name(1, , n+3)
If an the optional parameter is trailing, it can be removed if unused. Consider the CALL
keyword shown with the syntax structure CALL program(arg_list). If this keyword is used to
simply execute a new subroutine program without passing arguments, the syntax would be as
follows.
CALL program_name
Parameter Data Type Designations
The data type of the constant or variable must be the same type that is required by the
keyword. String and numeric parameters can be constant values or any valid variable names.
Use the following rules to designate parameter data types used in keyword syntax.
lString variables must be preceded with the $symbol and string constants must be
enclosed in quotes.
lPrecision Point variables must be preceded with a # symbol.
lBelt variables must be preceded with a % symbol.
lReal and integer constants can be used without modification.
Additional Information: Keywords cannot be used as variable names or pro-
gram names.
Numeric Parameters
Several types of numeric parameters can appear in keyword syntax. For each type of para-
meter, the value can generally be specified by a numeric constant, a variable name, or a math-
ematical expression. There are some restrictions on the numeric values that are accepted by
eV+. The following rules determine how a value will be interpreted in the various situations.
lDistances are used to define locations to where a robot is to move. The unit of measure
for distances is in millimeters, although units are never explicitly entered for any value.
Values entered for distances can be positive or negative. Refer to theIPS keyword for a
special case of specifying robot speed in inches/s.
lJoint numbers are integers from 1 up to the number of joints in the robot. Refer to the
robot User's Guide for information about robot joint numbering arrangements.
lSignal numbers are used to identify digital signals. They are always considered as
integer values. A negative signal number indicates an OFF state. Refer to the appro-
priate robot user's guide and the eV+3 User'sManual (Cat.No. I651) for more information
about signal numbers for your particular robot.
lInteger parameters can be satisfied with real values (values with integer and fractional
parts). When an integer is required, the value is rounded and the resulting integer is
used.
lParameters indicated as being scalar variables can be satisfied with a real value (with
integer and fractional parts) except where noted. Scalar variables can range from -