Features II JS/JSR4400N SCARA Robot
JSG GANTRY Robot
JR2000N Desktop Robot
53
The delay time can be set using variables or expressions as well as numeric values.
Example:
declare num wtime
if
ld #genIn1
then
wtime = 100
else
wtime = 200
endIf
set #genOut1
delay wtime
reset #genOut1
Declare the local variable
wtime
.
If
#genIn1=ON
then
Assign 100 to
wtime
.
If not
Assign 200 to
wtime
.
Output ON signal to #genOut1.
Delay for 0.1 or 0.2sec.
Output OFF signal to #genOut1.