MC-Basic:group.SELECTAXES

From SoftMC-Wiki
Revision as of 16:10, 13 December 2010 by Arwiebe (talk | contribs) (1 revision)
Jump to: navigation, search

Select which of the target coordinates will be taken, and which not (those with the corresponding bit value set to zero). The value is a bit-field defining the axes that will be involved in the movement. (1 – axis is taken). Used when there is a need to disengage movement of some axis throughout the system.

For example:

moving only first axis - 0001 bin (1 dec)

moving only second axis - 0010 bin ( 2 dec )

moving only third axis – 0100 bin ( 4 dec )

moving only fourth axis – 1000 bin ( 8 dec )

moving all four axes – 1111 bin (15 dec)

Short form

<GROUP>.SAxes

Syntax

<GROUP>.SelectAxes

Availability

Versions 3.6.20 and higher

Type

Long

Range

See the description

Default

2<number of axes in the group>-1

Scope

Configuration, Task, Terminal

Limitations

Valid for groups only.

Examples

G1.selectaxes = 1+2

Move G1 {10,20,30} saxes = 1+2 ‘only first two axes move

Move G2 {10,20,30,40} saxes = 1+2+4 ‘ only first three axes move

See Also