Extended programming of axis couplings (SOFT-GANTRY)

Release Note

release_note

The availability of this function depends on the configuration and the scope of the version.

Path axes can also be used as so-called gantry axes. Contrary to normal synchronous mode, additional position deviation monitoring mechanisms are active and specific error reactions apply. Due to the machine structure, the axes are permanently linked to each other in mechanical (and static) gantry operation and defined by the machine configuration. After controller start-up it not possible to make a dynamic change in the gantry coupling (see figure below).

In addition to path axes, spindles can also be run in synchronous mode. A detailed description is contained in Section Spindle synchronous mode.

Mechanical gantry operation
Mechanical gantry operation

Machines that do not permit any mechanical gantry operation because of their basic structure, e.g. milling machines with two independent slides, can be operated in gantry mode by programming. For example, this is necessary when slides must be linked to one another for clamping and machining large workpieces (see Figure below)

Programmable gantry operation ("soft" gantry)
Programmable gantry operation ("soft" gantry)

The #SET AX LINK and #AX LINK commands described in Section Programming axis couplings are available in an extended syntax for this purpose:

#SET AX LINK [ <coupling_group>, [ <Slave>=<Master>,G [,<limit_1>, limit_2>] ]

                                                                 {, [ <Slave>=<Master>,G [,<limit_1>, limit_2>] ] } ]

or alternative

#AX LINK [NBR] [ <coupling_group>, [ <Slave>=<Master>,G [,<limit_1>, limit_2>] ]

                                                                 {, [ <Slave>=<Master>,G [,<limit_1>, limit_2>] ] } ]

<coupling_group>

Number of the coupling group (1)

<Slave>

Designation or logical axis number of the slave axis of coupling pair i (2)

<Master>

Designation or logical axis number of the master axis of coupling pair i (2)

NBR

With the logic switch NBR the evaluation can be changed from logical axes names to axes numbers. The axis couplings must then be defined with logical axis numbers. The axes need not be present in NC channel. Their availability in NC channel is checked only at activation of the coupling group!

G

Keyword for "gantry coupling"

(1) 1 ... [Max. number of coupling groups–1], see [6] -2.11

(2) Max. number of coupling pairs, see [6] -2.12

When gantry coupling is used, the following values serve to monitor in two stages the permissible position difference of the gantry axes. Specified in [mm]. Positive real number:

<limit_1>

First monitoring limit in [mm, inch]. If this limit is exceeded, the motion is aborted and the controller assumes the error state. In the case of a default, the position difference is eliminated when RESET is executed. Depending on the specific application, a deviating motion can also be implemented.

<limit_2>

Second monitoring limit in [mm, inch]. An error that cannot be RESET is output if this limit is exceeded. The controller must be switched off and the position difference must be eliminated manually.

Notice

notice

If the monitoring limits are not programmed, the defaults apply from the axis parameter data records P-AXIS-00072 and P-AXIS-00071 of the slave axis.

Additions to general handling and mode of operation

Programing Example

prg_example

Extended programming of axis couplings (SOFT-GANTRY)

N10 #SET AX LINK[1, [Y2 = Y1,G,0.01,0.25]]

Gantry coupling of Y1 as master axis and Y2 as slave axis. First limit is 10µm, second limit is 250µm.

N20 #SET AX LINK[2, [Y2 = Y1,G]]

Gantry coupling of Y1 (master) and Y2 (slave). The monitoring limits of the axis parameter data record of the Y2 axis apply.

N30 #SET AX LINK [3,[Y2 = Y1]]

Standard coupling of Y2 with Y1. No gantry operation.

or alternative

N10 #AX LINK[1, [Y2 = Y1,G,0.01,0.25]]

N20 #AX LINK NBR[2, [8 = 2,G]]

Gantry coupling via logical axis numbers

The parallel machining of workpieces with a symmetrical or scaled contour can also be programmed by means of an extended syntax of the #SET AX LINK and #AX LINK commands. Position differences are not monitored in these modes (mirroring or scaling).

#SET AX LINK [ <coupling_group>, [ <Slave>=<Master>,<nominator>, <denominator> ]

                                        {, [ <Slave>=<Master>,<nominator>, <denominator> ] } ]

or alternative

#AX LINK [NBR] [ <coupling_group>, [<Slave>=<Master>,<nominator>, <denominator>]

                                          {, [<Slave>=<Master>,<nominator>, <denominator>] } ]

<coupling_group>

Number of the coupling group (1)

<Slave>

Designation or logical axis number of the slave axis of coupling pair i (2)

<Master>

Designation or logical axis number of the master axis of coupling pair i (2)

NBR

With the logic switch NBR the evaluation can be changed from logical axes names to axes numbers. The axis couplings must then be defined with logical axis numbers. The axes need not be present in NC channel. Their availability in NC channel is checked only at activation of the coupling group!

<numerator>, <denominator>

Integers. Their purpose is to calculate a coupling factor between the master and slave axes.

The following applies to the resulting coupling factor:

-1 : mirror coupling

1 : standard coupling; equivalent to the previous syntax

0 : output of an error message

Attention

attention

Factors that result in pure scaling (factor ≠ 1) or in scaling with simultaneous mirroring (factor ≠ -1) are currently not permitted. A warning is output and the coupling is handled as a standard coupling. In other word, only the coupling factors 1 and 1 are permissible (see examples).n

(1) 1 ... [Max. number of coupling groups–1], see [6] -2.11

(2) Max. number of coupling pairs, see [6] -2.12

Programing Example

prg_example

:

N10 #SET AX LINK[1, [Y2 = Y1,1,-1]]

Mirroring coupling (factor -1)

N20 #SET AX LINK[1, [Y2 = Y1,-1,1]]

Mirroring coupling (factor -1)

N30 #SET AX LINK[1, [Y2 = Y1,-2,2]]

Mirroring coupling (factor -1)

N40 #SET AX LINK[1, [Y2 = Y1,1,1]]

Standard coupling

N50 #SET AX LINK[1, [Y2 = Y1,2,2]]

Standard coupling

N60 #SET AX LINK[1, [Y2 = Y1,0,1]]

Error message, program is aborted

N70 #SET AX LINK[1, [Y2 = Y1,1,0]]

Error message, program is aborted

N80 #SET AX LINK[1, [Y2 = Y1,1,2]]

Warning (factor 0.5), standard cpl.

N90 #SET AX LINK[1, [Y2 = Y1,2,3]]

Warning (factor 0.666), standard cpl.

N100 #SET AX LINK[1, [Y2 = Y1,3,2]]

Warning (factor 1.5), standard cpl.

N110 #SET AX LINK[1, [Y2 = Y1,-1,2]]

Warning (factor -0.5), standard cpl.

N120 #SET AX LINK[1, [Y2 = Y1,-3,2]]

Warning (factor -1.5), standard cpl.

or alternative

N40 #AX LINK[1, [Y2 = Y1,1,1]]

Standard coupling

N50 #AX LINK NBR[1, [8 = 2,2,2]]

Standard coupling via logical axis numbers