Disable gantry combination (#GANTRY OFF, #GANTRY OFF ALL)

Syntax for Disable gantry combination:

#GANTRY OFF [ { AXNR=.. | AX=<axis_name> } ]

AXNR=..

Logical axis number (P-AXIS-00016) of master axis

AX=<axis_name>

Name of the master axis of a gantry combination

Syntax for Disable all gantry combinations:

#GANTRY OFF ALL

To start up, the gantry combination of a gantry master axis located in the channel can be disabled by the command

#GANTRY OFF [AX=<master_axis_name>]

. Gantry slave axes are then free and cannot be assigned to any master axis. They are then treated as independent CNC axes. The gantry master axis can continue to move as an independent CNC channel axis. The previous slave axes are no longer influenced by movements of the previous gantry master axis. However, in this state they cannot be programmed or moved since they do not belong to any channel.

If the master axis is not in the channel, the combination can be disabled in the same way by the logical axis number.

#GANTRY OFF [AXNR=..]

If all existing gantry combinations need to be disabled, this is done by using

#GANTRY OFF ALL

.

Notice

notice

Disabling gantry couplings using #GANTRY OFF is modal beyond program end and reset.

The gantry combination is only re-enabled after a controller restart or if #GANTRY ON[ ] is programmed explicitly.

Notice

notice

The #GANTRY OFF command adopts no slave axes in the channel.

Use of gantry slave axes.

If free gantry slave axes are to remain programmable even after the combination is disabled, they must be previously requested by the NC channel. After a request is successful, free slave axes respond in the same way as normal CNC axes.

Requesting and releasing slave axes is executed using Axis exchange commands


For example, the following command requests an axis:

#CALL AX[Axis_X1, 5, 4]

Similarly, the following command releases a CNC axis as usual:

#PUT AX[Axis_X1]

All other NC commands applicable to an axis can also be released for slave axes.

Programing Example

prg_example

Request free gantry slave axes

#GANTRY OFF [AX=X]

; Request free slave axes

#CALL AX [Axis_X1, 5, 4] ; log. axis no.4 at Index 3

#CALL AX [Axis_X2, 6, 5] ; log. axis no.4 at Index 4

; Move axes as independent CNC axes

G0 X=47;X previous master axis of gantry combination 1

G0 Axis_X1=11 ; Axis_X1 previous slave axis 1 of X

G0 Axis_X2=12 ; Axis_X2 previous slave axis 2 of X

M30