Difference between revisions of "MC-Basic:SYNCALL"
m (added good example) |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:SYNCALL}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 35: | 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 | + | <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 !}} | ||
+ | |EXAMPLE= | ||
− | + | 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= | ||
− | * [[MC-Basic: | + | * [[MC-Basic:element.STARTTYPE|STARTTYPE]] |
− | |||
* [[MC-Basic:SYNCCLEAR|SYNCCLEAR]] | * [[MC-Basic:SYNCCLEAR|SYNCCLEAR]] | ||
* [[MC-Basic:SYNCSTART|SYNCSTART]] | * [[MC-Basic:SYNCSTART|SYNCSTART]] | ||
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 | |
Movement that has vFinal > 0 can't be used with SyncAll. |
NOTE | |
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 | |
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