Difference between revisions of "MC-Basic:NEXTITEM"
m (Text replace - "Write-Only" to "Write only") |
|||
Line 36: | Line 36: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Write | + | Write only . The command is relevant only after a trigger. If the NextItem command is issued while the slave=0 then the current item will be discarded (both position and limit) and next will be taken instead (means just delete the current item in the queue) If the NextItem command is given and there are no available trigger items in the queue, an error will be returned. |
|EXAMPLE= | |EXAMPLE= |
Revision as of 11:01, 20 March 2014
Command that moves the robot focus to the limits of the next-item in the trigger queue. Each tracked item defines a moving window that is relative to its trigger position. It is defined by UpMaster, DownMaster and trigger position values For the current master position value of master axis - Pmaster( pcmd, pfb or pext) - the up & down limits of the current moving frame window will be:
� Lower Limit: Pmaster > UpMaster+TriggerPosition
� Upper Limit: Pmaster < DownMaster+TriggerPosition
When the master position exit the current window an error is generated. When issuing this command while tracking an object, the current window’s boundaries will be updated to the boundaries defined by the next item in the trigger queue.
Number of items in the queue will be reduced by one in one of the next events - exiting the tracking process (slave=0) , item exits the window limits, or issued NextItem commands.
Syntax
NextItem <robot> { MasterFrame = <master>}
Availability
Versions 3.6.20 and higher
Scope
Task or Terminal
Limitations
Write only . The command is relevant only after a trigger. If the NextItem command is issued while the slave=0 then the current item will be discarded (both position and limit) and next will be taken instead (means just delete the current item in the queue) If the NextItem command is given and there are no available trigger items in the queue, an error will be returned.
Examples
NextItem SCARA