Difference between revisions of "Element Synchronization"

From SoftMC-Wiki
Jump to: navigation, search
(SyncAll)
(How it works)
Line 77: Line 77:
  
 
= How it works =
 
= How it works =
 
+
See : [[AXY:Element Synchronization/Design | Design]]
<center>
 
<gallery widths= 400px heights= 600px>
 
Image:AXY;SyncStartMotionObject.jpg|''SyncStart Object model''
 
Image:AXY;SyncStartClassModel.jpg|''SyncStart Class model''
 
</gallery>
 
</center>
 
 
 
  
 
= See Also =
 
= See Also =

Revision as of 12:14, 30 January 2012

Element Synchronization

In the AMCS system there are several ways how to synchronize different elements (axes, groups, robots).

  • several axes - combining in a group or using syncstart feature
  • mixed axes, groups, robots - using syncstart feature
  • robot and an axis - moving frame (conveyor tracking)

There are two types of synchronizations available

  • SyncStart several elements(axes, groups, robots) start the motion at same moment. However the moment of motion end can be different for every element in the list.
  • SyncAll new several elements(axes, groups, robots) start and finish the motion together. Means that all elements will start moving together and end moving at same sample.



SyncAll

This is new synchronization feature enabling phase-synchronization between group of elements (axes,groups,robots) given in arbitrary order. The function synchronizes them in such a way that the starting moment of motion is same for all the given elements and that the finishing moment of movement is same for all the given elements.

It can e seen as a generalization of MOVE <group> command where all axes of a group are synchronized in one motion together. In SyncAll <list> command all elements of a list are synchronized in one motion together.

In MOVE command axes must be a part of a predefined group while in SyncAll command there is nothing that need to be previously defined/declared.

This can be summarized with the following table:


Command:
elements/axes
start-time
stop-time
pahse
MOVE axes-only = = synchronized
SyncStart elements = not-synchronized
SyncAll elements = = synchronized

Different Synchronization Types:

Common Synchronization Rules

There are common rules for both SyncStart <sync-list> and SyncAll <sync-list> command:

  • axes belonging to an attached group can not be synchronized
  • not executed pending motions issued with starttype = sync are cleared after detach command
  • STOP command on an element of the sync-list stops that element only
  • Although Move StartType=sync does not execute the motion it however demands that the element is in executable state (i.e. enabled, etc.)
  • Synchronized motions are not operative if one of the element in the sync-list is engaged in Conveyor Tracking (slave = 5)
  • Synchronization and blending (BlendingMethod = 1,2,3) do not work together.


Clear A Pending Move

If you have loaded a synchronized move in the motion generator and need to delete it, use SYNCCLEAR. For example, if you entered the following command in the above sequence before issuing SYNCSTART:

SyncClear Group1

The Group1 move is deleted. Changing GROUP1.STARTTYPE only affects subsequent moves. You must use SYNCCLEAR to clear pending synchronized moves. SYNCCLEAR has no effect once the move is executing. In this case, you stop the move as you would a non-synchronized move.

How it works

See : Design

See Also