Measuring a swivel axis
A swivel axis will be measured in the cycles. It is expected that the swivel axis rotates about the X axis. Since the swivel axis is moved by the upstream linear axes, it is not stationary. This means that the calibration sphere must be mounted fixed while the swivel axis is moved by the linear axes within the cycle. Since the calibration sphere is mounted fixed, it is not permitted to measure it with an active kinematic transformation as then it is impossible to distinguish the X, Y and Z coordinates of the individual centre point measurements.
The following parameter settings are conceivable for the successful execution of the cycle.
- It is expected that the measured swivel axis rotates about the X axis: @P91=1, @P92=0, @P93=0
- Pre-positioning is to take place in manual mode: @P90=1
- The index of the measured rotary axis has the value 4: @P89=4
- The diameter of the calibration sphere is 50 mm: @P87=50
- The sphere should be measured with a safety clearance of 50 mm: @P13=50
- Measurement movements in Z direction should have a length of 30 mm. @P6=30
- To ensure the calibration sphere is touched in horizontal measurement movements, the crossover range is set to 10mm: @P33=10
This results in the following cycle call:
G90
G1 A0
G1 X90 Y-240 Z-10
L CYCLE [NAME=SysMeasRotAx.ecy \
@P6 = 30 \
@P13 = 50 \
@P33 = 10 \
@P87 = 50 \
@P89 = 4 \
@P90 = 1 \
@P91 = 1 \
@P92 = 0 \
@P93 = 0 \
]
M30
If pre-positioning is to be automated, parameter 90 must be set to zero. @P90=0. The saved pre-positioning subroutines could look like this:
; SysMeasRotAxPrePos2.nc:
G1 G91 Z50
G1 G90 A50
G1 G91 Y-140
G1 G91 Z-120
G90
M17
; SysMeasRotAxPrePos3.nc:
G1 G91 Z100
G1 G90 A-50
G1 G91 Y280
G1 G91 Z-100
G90
M17