Releasing of axes

With these NC command axes of the current axis group of the NC-channels can be returned to axes management. The return of not or no longer present axes is permissible and does lead to any error message.

#AX RELEASE [ < axis_name > {,< axis_name > } ] (non-modal)

< axis_name > Axis names of the currently present axes in NC channel.

With the logic switch NBR the evaluation can be changed from axis names to logical axis numbers (e.g. if the axis names at the time of release are unknown).

#AX RELEASE [NBR] [ <expr> {,<expr> } ] (non-modal)

<expr> Logic axis number.

With this NC command all the axes present in the current axis group of the NC-channels are returned to the axes management.

#AX RELEASE ALL (non-modal)

Example:

Assignment of axis names, logical axis numbers and axis indices at the time of program start:

Axis name

Logical axis number

Axis index

X

1

0

Y

2

1

Z

3

2

A

4

3

B

5

4

Programming example

%Axis_exchange 
N10 #AX RELEASE[X, A] (Release X/A-axes)

Assignment of axis names, logical axis numbers and axis indices after the axis release:

Axis name

Logical axis number

Axis index

Y

2

1

Z

3

2

 

 

 

B

5

4

Continuation of the programming example:

... 
N100 #AX RELEASE NBR[2] (Release Y-axis)

Assignment of axis names, logical axis numbers and axis indices after the second axis release:

Axis name

Logical axis number

Axis index

 

 

 

 

 

 

Z

3

2

 

 

 

B

5

4

Continuation of the programming example:

... 
N100 #AX RELEASE ALL (Release all present axes from this NC channel)

Assignment of axis names, logical axis numbers and axis indices after the third axis release: