Programming ofaxes couplings
The following command can be used in an NC program for defining axes couplings:
#SET AX LINK [ <coupling_group> , <slave>=<master> {,<slave>=<master>} ]
or alternative
#AX LINK [NBR] [<coupling_group>, <slave>=<master> {,<slave>=<master>} ]
< coupling_group > Number of the coupling group
1 ... [Max. number of coupling groups(1) -1] , Positive integer
<slave> Designation or logical axis number of the slave axis of the coupling pair i
<master> Designation or logical axis number of the master axis of the coupling pair I
i Max. number of coupling pairs(2)
NBR With the logic switch NBR the evaluation can be changed from logical axes names to axes numbers. Then the axes couplings (resp. coupling pairs) must be defined with logical axis numbers. At that time of definition, the axes must not exist in NC channel. Their availability in NC channel is checked only at activation of the coupling group!
At least one master-slave coupling pair must be defined in each coupling group. |
General handling and method of operation:
- The definitions of coupling groups apply across programs. This means, they can be reselected in a subsequent NC-program (see also Chapter 11.12.3).
- The coupling group with the coupling number '0' cannot be programmed in NC-program. It is defined in the channel parameters list [1]-13.
- A disabled coupling group can be modified at any time. The previously defined couplings are overwritten.
- An enabled coupling group can not be modified.
- Recursive axes coupling is not possible. A master axis in a coupling group cannot be slave axis at the same time and vice versa. A slave axis cannot be 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.
- Main axes cannot be slave axes.
- A slave axis only may be assigned to one master axis, but a master axis can be the owner of several slave axes.
- When synchronous operation is activated, it is checked whether all master and slave axes are contained 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.
(1)see [6]-2.11
(2)see [6]-2.12 - The NC command used for programming the coupling group must be a single instruction in the NC block.
- The coupling number may also be programmed in mathematical expressions. The result must be a positive integer.
- A tracking axis (#CAXTRACK) may not be a master- or a slave axis.
Programming example
N10 #SET AX LINK[1, Z2=Z] Z2 is coupled as slave to main axis Z
N20 #SET AX LINK[2, Y2=Y, X2=X] Coupling Y2 with Y and X2 with X
N30 #SET AX LINK[3, X1=X, X2=X, X3=X] Coupling of X1, X2, X3 as slaves to the same master axis X
...
or alternative
N10 #AX LINK[1, Z2=Z1]
N20 #AX LINK NBR[2, 8 = 2, 9 = 3] Coupling vialog. axis numbers