Robotics User Manual

[endWait] and [timeUp] cannot be used alone.
A period for Time Out of “waitCondTime” can be set using variable and expressions.
Example)
declear num wtime
if
ld #genIn3
then
wtime = 3000
else
wtime = 1000
endIf
waitCondTime wtime
ld #genIn2
timeUp
set #genOut2
waitStartBZ
reset #genOut2
endWait
Declare the local variable “wtime.
If
#genIn3=ON
then
Assign 3000 to”wtime.”
if
Assign 1000 to “wtime.”
Wait for 3 seconds/1 second until the following conditions are met.
#genIn2=ON (Condition)
If the conditions are not met within 3 seconds/1 second,
Output ON signal to #genOut2,
Stand by in place until a start instruction comes.
When a start instruction comes, output OFF signal to #genOut2.
End of the command line if the conditions are not met within 3
seconds/1 second.
Features II CARTESIAN Benchtop Robot
39