beautypg.com

23 c-axis commands, Reference diameter g120, Zero point shift, c axis g152 – HEIDENHAIN SW 548328-05 DIN Programming User Manual

Page 329

background image

HEIDENHAIN MANUALplus 620, CNC PILOT 620/640

329

4.23 C-Axis commands

4.23 C-Axis commands

Reference diameter G120

G120 determines the reference diameter of the unrolled lateral

surface. Program G120 if you use CY for G110 to G113. G120 is a

modal function.

Zero point shift, C axis G152

G152 defines an absolute zero point for the C axis (reference:

Reference point, C axis). The zero point is valid until the end of the

program.

Example: G120

. . .

N1 T7 G197 S1200 G195 F0.2 M104

N2 M14

N3 G120 X100 [reference diameter]

N4 G110 C0

N5 G0 X110 Z5

N6 G41 Q2 H0

N7 G110 Z-20 CY0

N8 G111 Z-40

N9 G113 CY39.2699 K-40 J19.635

N10 G111 Z-20

N11 G113 CY0 K-20 J19.635

N12 G40

N13 G110 X105

N14 M15

. . .

Parameter

X

Diameter

Example: G152

. . .

N1 M5

N2 T7 G197 S1010 G193 F0.08 M104

N3 M14

N4 G152 C30 [zero point of C axis]

N5 G110 C0

N6 G0 X122 Z-50

N7 G71 X100

N8 M15

. . .

Parameter

C

Angle (spindle position) of the new C-axis zero point