Load the default axis configuration (#AX DEF DEFAULT)
If DEFAULT is specified, the default configuration contained in the channel parameter list [1]-5 can be restored. A combination with logic switches and additional axes requests is also permitted.
Syntax: |
#AX DEF DEFAULT |
or |
#AX DEF DEFAULT [NAM, NBR, IDX] { [<axis exchange sequence> {,<options>} ] } |
Example
Assigning axis names, logical axis numbers and axis indices at program start:
The starting position of the following NC program is the default axis configuration listed in the table.
Axis identifier | Logical axis number | Axis index |
X | 1 | 0 |
Y | 2 | 1 |
Z | 3 | 2 |
;Set axis configuration
;X axis remains in its place,
;Y axis is released since this axis is not contained
; in the new definition
;Z axis is re-sorted acc. to Index 4,
;Y1 and Z1 axis are requested
%ACHSTAUSCH
N10 #AX DEF [X,1,0][Y1,4,2][Z1,5,3][Z,3,4]
:
Assigning axis names, logical axis numbers and axis indices after N10:
Axis identifier | Logical axis number | Axis index |
X | 1 | 0 |
|
| 1 |
Y1 | 4 | 2 |
Z1 | 5 | 3 |
Z | 3 | 4 |
Restoring default axis configuration:
%ACHSTAUSCH
N10 #AX DEF DEFAULT
:
Assigning axis names, logical axis numbers and axis indices after N10:
Axis identifier | Logical axis number | Axis index |
X | 1 | 0 |
Y | 2 | 1 |
Z | 3 | 2 |