
Delay Time can be set using variable or expression instead of values.
Example)
declear 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 sec/0.2 sec.
Output OFF signal to #genOut1.
Features II CARTESIAN Benchtop Robot
44