Releasing axes (#AX RELEASE, #AX RELEASE ALL)
These NC command axes return axes in the axis group of the NC channel to the axis management. It is permitted to return axes which are not or no longer present and this generates no error message.
Syntax: |
#AX RELEASE [ <axis_name> {,<axis_name> } ] |
<axis_name> | Axis names of the axes currently present in NC channel. |
The logic switch NBR switches over evaluation from axis names to logical axis numbers (e.g. if axis names are unknown at the time of release).
Syntax: |
#AX RELEASE [NBR] [ <ax_nr> {,<ax_nr> } ] |
<ax_nr> | Logical axis number of the axis. |
This NC command returns all the axes in the axis group of the NC channel to the axis management.
Syntax: |
#AX RELEASE ALL |
Example
Axis identifier | Logical axis number | Axis index |
X | 1 | 0 |
Y | 2 | 1 |
Z | 3 | 2 |
A | 4 | 3 |
B | 5 | 4 |
Programming Example
Releasing axes
Assigning axis names, logical axis numbers and axis indices after axis release:
Axis identifier | Logical axis number | Axis index |
|
|
|
Y | 2 | 1 |
Z | 3 | 2 |
|
|
|
B | 5 | 4 |
Programming example continued:
Assigning axis names, logical axis numbers and axis indices after second axis release:
Axis identifier | Logical axis number | Axis index |
|
|
|
|
|
|
Z | 3 | 2 |
|
|
|
B | 5 | 4 |
Programming example continued:
Assigning axis names, logical axis numbers and axis indices after the third axis release:
Axis identifier | Logical axis number | Axis index |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|