Examples
Example 1
Coupling specifications are to be defined for the axis with the logical axis number 8 and the axis designator Y2:
desc[1].AxisNumber := 1
desc[1].CouplingMode := HLI_AXIS_COUPLING_DIRECT
desc[2].AxisNumber := 0
desc[2].CouplingMode := HLI_AXIS_COUPLING_INACTIVE
The axis moves synchronously to the axis with the logical axis number 1. As no coupling specification has been defined for the logical axis number 8, the axis cannot be moved via the NC program.
Example 2
desc[1].AxisNumber := 1
desc[1].CouplingMode := HLI_AXIS_COUPLING_DIRECT
desc[2].AxisNumber := 8
desc[2].CouplingMode := HLI_AXIS_COUPLING_DIRECT
desc[3].AxisNumber := 0
desc[3].CouplingMode HLI_AXIS_COUPLING_INACTIVE
The axis can now also be moved via the NC program if the coupling specification desc[2] is added.
Example 3
A coupling with the coupling factor 7/8 is to be defined for the axis with the logical axis number 8 and the axis identifier Y2; at the same time, it should also be possible to program the axis in the NC program:
desc[1].AxisNumber := 8
desc[1].CouplingMode := HLI_AXIS_COUPLING_DIRECT
desc[2].AxisNumber := 1
desc[2].CouplingMode := HLI_AXIS_COUPLING_FRACT
desc[2]. FractNumerator := -7
desc[2]. FractDenominator := 8
desc[3].AxisNumber := 0
desc[3].CouplingMode HLI_AXIS_COUPLING_INACTIVE
In coupling rule 1, the elements desc[1].FractNumerator and desc[1].FractDenominator do not need to be assigned, as the coupling mode HLI_AXIS_COUPLING_FRACT is not used.
The coupling rule desc[3] indicates that the list of coupling rules ends here.