Difference between revisions of "MC-Basic:axis.MASTERSYNC"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "''<axis>''" to "<''axis''>")
Line 10: Line 10:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
MASTERSYNC is a read-only axis property indicating whether the speed of the slave is synchronized to the master. This flag is cleared when gearing is enabled and set when synchronization is achieved. Synchronization is achieved when the slave velocity is equal to the master velocity for the first time.
+
MASTERSYNC is a read-only axis property indicating whether the speed of the slave is synchronized to the master. This flag is cleared when gearing is enabled, and set when synchronization is achieved. Synchronization is achieved when the slave velocity is equal to the master velocity for the first time.
  
 
|TYPE=
 
|TYPE=
Line 28: Line 28:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read-Only
+
Read only
  
 
|EXAMPLE=
 
|EXAMPLE=
 
If X_Axis.MasterSync Then<br>
 
If X_Axis.MasterSync Then<br>
       Move X_axis x_axis.SlaveLag Absolute = 0
+
::Move X_axis x_axis.SlaveLag Absolute = 0
  
 
|SEE ALSO=
 
|SEE ALSO=

Revision as of 13:23, 18 March 2014

MASTERSYNC is a read-only axis property indicating whether the speed of the slave is synchronized to the master. This flag is cleared when gearing is enabled, and set when synchronization is achieved. Synchronization is achieved when the slave velocity is equal to the master velocity for the first time.

Short form

<axis>.MSYN

Syntax

?<axis>.MasterSync

Availability

All versions

Type

Long

Range

0 or 1

Default

0

Scope

Configuration, Task or Terminal

Limitations

Read only

Examples

If X_Axis.MasterSync Then

Move X_axis x_axis.SlaveLag Absolute = 0

See Also