MC-Basic:axis.MASTERSYNC

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

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