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.

Measuring a swivel axis
Measuring a swivel axis

The following parameter settings are conceivable for the successful execution of the cycle.

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