Releasing axes (#PUT AX, #PUT AX ALL)

This NC command returns axes of 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:

#PUT AX [ <axis_name> {,<axis_name> } ]

<axis_name>

Axis designations may consist of strings with the starting characters A, B, C, Q, U, V, W, X, Y and Z.

This NC command returns all the axes in the axis group of the NC channel to the axis management.

Syntax:

#PUT AX ALL

Example

example

Assign axis names, logical axis numbers and axis indices at program start:

Axis identifier

Logical axis number

Axis index

X

1

0

Y

2

1

Z

3

2

Programing Example

prg_example

Releasing axes

N10 #PUT AX [ X, B]   (Release X axis; B axis not present)

                      (No error message is output)

Assign axis names, logical axis numbers and axis indices after axis release:

Axis identifier

Logical axis number

Axis index

 

 

0

Y

2

1

Z

3

2

Programming example continued:

...

N100 #PUT AX ALL (Release all axes of this group.)

Assign axis names, logical axis numbers and axis indices after second axis release:

Axis identifier

Logical axis number

Axis index

 

 

0

 

 

1

 

 

2