WorkQue_Remove Statement
Deletes the work queue data (point data and user data) from the specified work queue.
Syntax
WorkQue_Remove WorkQueNum [, index | All]
Parameters
- WorkQueNum
- Specify the conveyor number as an integer (1-16).
- index
- Optional. Integer expression that represents the index of the queue data to delete. (the beginning of the index number is 0). Specify All when deleting all the queue data from the work queue.
Description
Use WorkQue_Remove to remove one or more items from a work queue data. Typically, you remove items from the queue after you are finished with the data.
See Also
WorkQue_Add
WorkQue_Remove Statement Example
Jump WorkQue_Get(1)
On gripper
Wait .1
Jump place
Off gripper
Wait .1
' Remove the data from the WorkQueue
WorkQue_Remove 1