Difference between revisions of "MC-Basic:NEXTITEM"
(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…') |
|||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:NEXTITEM}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 7: | Line 8: | ||
|AVAILABILITY= | |AVAILABILITY= | ||
− | + | Since Version 3.6.20 | |
|DESCRIPTION= | |DESCRIPTION= | ||
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: | 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. | 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. | ||
Line 36: | Line 37: | ||
|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= | ||
Line 42: | Line 43: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:robot.NUMBEROFITEMS|robot.NUMBEROFITEMS]] |
+ | * [[MC-Basic:TRIGGER|TRIGGER]] | ||
}} | }} | ||
+ | [[Category:Motion:MovingFrame]] |
Latest revision as of 01:37, 25 April 2017
Language: | English • 中文(简体) |
---|
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
Since Version 3.6.20
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