
Assigning the returned value of a function: returnFunc
Assign a value of the specified expression as a returned value and end the function.
Command Category
Command
Parameter
Job
Assigns a value of the specified expression
as a returned value and end the function.
returnFunc
Expression
Execute Flow Control
The command “returnFunc” cannot be used for point job data.
Jopint Job Data
Function (Identifier: radians)
outLCD 7,4,radians(x)
Call a function.
returnFunc 0.017453*x
A returned value of “radians” function for Argument(x) is displayed on the teaching pendant LCD.
Features II CARTESIAN Benchtop Robot
62