Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual

Page 531

Advertising
background image

Cutter Diameter Compensation
(G40, G41, G42)

Chapter 21

21-13

Example 21.4

Sample Entry Move After Non-Motion Blocks

Assume current compensation plane is the XY plane.

N1X0Y0F500;

N2G41D1;

This block commands compensation left.

N3Z1;

This is not the entry block since no axis motion takes place in
the current plane.

N4...;

No axis motion in current plane.

N5...;

No axis motion in current plane.

N6...;

No axis motion in current plane.

N999X1Y1;

This is the entry move for the previously programmed G41.

N1000M30;

The system installer selects in AMP the maximum number of non-motion
blocks to be allowed during cutter compensation before the entry move
must be re-initialized (see section 21.6.2).

For example, assume that the system installer has designated that only 2
non-motion blocks may be performed. If more than two blocks following
the entry move do not contain axis motion in the current plane, then the
entry move is re-performed at the next block containing axis motion in the
current plane.

Example 21.5

Too Many Non-Motion Blocks After Entry Block

Assume current plane to be the XY plane and the system installer has
designated that only 2 non-motion blocks may be performed before cutter
compensation is re-initialized.

N1X0Y0F500;

N2G41D1X1Y1;

Entry move cutter compensation left.

N3Z2;

No axis motion in current plane.

N4...;

No axis motion in current plane.

N5X4Y-4;

New entry move cutter compensation left.

N6M30;

Advertising