MC-Basic:axis.WRAP

From SoftMC-Wiki
Revision as of 03:31, 24 April 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • 中文(简体)‎

The WRAP flag enables or disables axis wraparound.

Axis wraparound enables the shortest distance between the current position and the target to be traversed. When the flag is set to 0, the direction of travel is calculated arithmetically, as for linear motion.

Syntax

<axis>.Wrap = <value>

?<axis>.Wrap

Availability

All versions

Type

Long

Range

  • 0 (OFF)
  • 1 (ON)

Default

0 (OFF)

Scope

Configuration, Task or Terminal

Limitations

  • The wraparound value may be changed only when the axis is disabled.
  • The Wrap flag is relevant only when the axis motion type is set to rotary.

Examples

A1.Wrap = ON