Difference between revisions of "MC-Basic:SYNCALL"

From SoftMC-Wiki
Jump to: navigation, search
m (added good example)
 
Line 1: Line 1:
{{Languages|MC-Basic:SYNCALL}}
+
{{Languages|MC-Basic:SYNCALL}}  
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 36: Line 36:
 
Within a task, the specified ''<element> ''must be attached
 
Within a task, the specified ''<element> ''must be attached
 
<br/>{{Note| Movement that has '''''vFinal > 0''''' can't be used with '''''SyncAll'''''.}}
 
<br/>{{Note| Movement that has '''''vFinal > 0''''' can't be used with '''''SyncAll'''''.}}
<br/>{{Note| Movement that starts with SyncAll can't be blend with the previous movement. It can be blend with the next movement only if [[MC-Basic:element.BLENDINGMETHOD|BlendingMethod ]] is from type '''''SP''''' (supper Position).}}
+
<br/>{{Note| Movement that starts with SyncAll can't be blend with the previous movement. It can be blend with the next movement only if [[MC-Basic:element.BLENDINGMETHOD|BlendingMethod ]] is from type '''''SP''''' (supper Position).}}
 
<br/>{{Note| No comma sign "," in the list !}}
 
<br/>{{Note| No comma sign "," in the list !}}
 
|EXAMPLE=
 
|EXAMPLE=
  
SyncAll SCARA PUMA DELTA
+
SyncAll SCARA PUMA DELTA
 +
 
 +
 
 +
Move A1 0 abs=1 startType = sync
 +
 
 +
Move A2 0 abs=1 startType = sync
 +
 
 +
Move A5 0 abs=1 startType = sync
 +
 
 +
Move SCARA {0,0,-100,0} abs=1 startType = sync
 +
 
 +
syncAll A1 A2 A5 SCARA
 +
 
  
 
|SEE ALSO=
 
|SEE ALSO=
Line 49: Line 61:
  
 
}}
 
}}
 +
 
[[Category:Synchronization]]
 
[[Category:Synchronization]]

Latest revision as of 07:39, 2 April 2019

Language: English  • 中文(简体)‎

This command begins executing the specified <element>s  with pending motion commands. Motion commands pend by setting the STARTTYPE to SYNC and giving the motion command.

Similar to SyncStart command. The main difference is that both initial and final position of all elements in the given list are synchronized.

Syntax

SyncAll <element> {<element>}*

Availability

From 4.11.x

Scope

Task or Terminal

Limitations

Within a task, the specified <element> must be attached


NOTE-Info.svgNOTE
Movement that has vFinal > 0 can't be used with SyncAll.

NOTE-Info.svgNOTE
Movement that starts with SyncAll can't be blend with the previous movement. It can be blend with the next movement only if BlendingMethod is from type SP (supper Position).

NOTE-Info.svgNOTE
No comma sign "," in the list !

Examples

SyncAll SCARA PUMA DELTA


Move A1 0 abs=1 startType = sync

Move A2 0 abs=1 startType = sync

Move A5 0 abs=1 startType = sync

Move SCARA {0,0,-100,0} abs=1 startType = sync

syncAll A1 A2 A5 SCARA

See Also