Programming axis couplings (#SET AX LINK, #AX LINK)
The following NC command can be defined in an NC program for axis couplings:
Syntax: |
#SET AX LINK [ <coupling_group>, <slave>=<master> {,<slave>=<master>} ] |
or alternatively
#AX LINK [NBR] [ <coupling_group>, <slave>=<master> {,<slave>=<master>} ] |
<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 | Evaluation can be changed from logical axes names to axes numbers with the logic switch NBR. The axis couplings must then be defined with logical axis numbers. The axes need not be present in NC channel. Their presence in the NC channel is only checked when the coupling group is activated. |
Notice
At least one master-slave coupling pair must be defined for each coupling group.
The coupling of spindles is described in greater detail in section Synchronous spindle mode.
General handling and method of operation:
- The definitions of coupling groups apply program global. This means that they can be selected again in a subsequent NC program.
- The coupling group with coupling number '0' cannot be defined in the NC program. It is defined in channel parameter [1]-2.
- A disabled coupling group can be modified at any time. The previously defined couplings are overwritten.
- An enabled coupling group may not be modified.
- Recursive axis couplings is not permissible. A master axis in a coupling group cannot be a slave axis at the same time and vice versa. A slave axis in one coupling group cannot be a master axis in another coupling group at the same time and vice versa.
- Master and slave axis of a coupling pair may not be identical.
- A main axis may not be a slave axis.
- A slave axis can only be assigned to one master axis, but a master axis can have several slave axes.
- When synchronous mode is activated, a check is made whether all master and slave axes exist in the axis group of the NC channel.
- Master and slave axes must be of the same axis type and be used in the same axis mode.
- The NC command used for programming the coupling group must be a single instruction in the NC block.
- The number of the coupling group can also be programmed via mathematical expressions. The result must be a positive integer.
- A slave axis may not be an active tracking axis at the same time (#CAXTRACK).
1 ... [Max. number of coupling groups–1], see [6] -2.11
Max. number of coupling pairs, see [6]-2.12
Notice
The corresponding axis coupling must be enabled explicitly using #ENABLE AX LINK.
Programing Example
Programming axis couplings
#SET AX LINK[1, Z2=Z] | ;Z2 is linked as slave to main axis Z |
#SET AX LINK[2, Y2=Y, X2=X] | ;Coupling of Y2 with Y and X2 with X |
#SET AX LINK[3, X1=X, X2=X, X3=X] | ;Coupling of X1, X2, X3 as slaves to the same master axis X |
: | |
or alternatively | |
#AX LINK[1, Z2=Z] | |
#AX LINK NBR[2, 8 = 2, 9 = 3] | ;Coupling via logical axis numbers |