MC-Basic:NEXTITEM

From SoftMC-Wiki
Revision as of 16:01, 13 December 2010 by Arwiebe (talk | contribs) (Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= NextItem ''<robot> {'' MasterFrame = <master>''}'' |AVAILABILITY= Versions 3.6.20 and higher |DESCRIPTION= Command that moves the robot focus…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

See Also