SETBELT program instruction during active belt tracking. Unpredictable robot motion may result if the difference does exceed this value while tracking the belt. The SETBELT instruction can be used to synchronize robot motion with the encoder value latched by an external signal or by the AdeptVision system. See the LATCHED real-valued function and the DEVICE real-valued function for more information. Example The following example waits for a digital signal and then sets the belt position to zero. That is done by setting the belt offset equal to the current belt position. Finally, the robot is moved onto the belt.
WAIT sig(1001) SETBELT %belt1 = BELT(%belt1) MOVES %belt1:pickup Related Keywords BELT real-valued function BELT system switch DEFBELT program instruction DEVICE real-valued function LATCHED real-valued function WINDOW program instruction WINDOW real-valued function eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 466