Difference between revisions of "MC-Basic:group.SELECTAXES"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
m (Text replace - "Versions 3.6.20 and higher" to "Since Version 3.6.20")
Line 7: Line 7:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Versions 3.6.20 and higher
+
Since Version 3.6.20
  
 
|DESCRIPTION=
 
|DESCRIPTION=

Revision as of 14:04, 20 March 2014

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

Since Version 3.6.20

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