Features II JS/JSR4400N SCARA Robot
JSG GANTRY Robot
JR2000N Desktop Robot
71
■ Assigning the Returned Value of a Function: returnFunc
Assign the value of the specified expression as a returned value and end the function.
Command Category Command Parameter Job
Execute Flow Control returnFunc
Return Value
(Expression)
Assign the specified expression as a return
value and end the function.
z The returnFunc command cannot be used in point job data.
Point Job Data Function (Identifier: radians)
outLCD 7,4,radians(x)
The function can be called.
returnFunc 0.017453*x
The return value of the function radians for an argument x is displayed on the teaching pendant LCD.