Track the C axis with block search (#CAX TRACK)

#CAX TRACK

If automatic tracking of the C axis (#CAX TRACK) is already active at the restart position of the NC program, the C axis position can be restored before automatic restart.

Example of continuous alignment of the C axis to the contour
Example of continuous alignment of the C axis to the contour

The following sequence runs at restart:

  1. Align the C axis according to the tangent at the restart position
  2. Restart according to the block search position
  3. Reactivate automatic C axis tracking
  4. Wait for continue from operator/HMI/PLC

Programing Example

prg_example

Block search to block N40 at C axis = 0°

In the example below, the C axis is first aligned in block 40 according to the tangent to C = 0 at restart

%block-search-cax-track

N10 G00 G90 X0 Y0 Z0 C0

N20 X5 Y5 C45 ;straight line 45° to X axis, tracking axis

;C aligned parallel to the contour

N20 #CAXTRACK ON [ANGLIMIT 3, OFFSET 0] ;Activate axis

                  ;tracking,limit angle 3°,

                  ;Angular offset 0°

N30 X10 Y10       ;Primary motion block,C axis is

                  ;already aligned

N40 X20           ;Angle to previous block: -45° >

                  ;Limit angle -> Block is inserted:

                  ;End position of C = 0

N60 X40           ;C axis angle 0°

N70 X30           ;C axis angle 180°

N80 Y0            ;C axis angle -90°

N90 #CAXTRACK OFF ;Deactivate axis tracking

M30

Notice

notice

The C axis is only restarted if automatic restart to the contour is selected (see also mc_cmd_bs_auto_return_w).