HEIDENHAIN ITNC 530 User Manual page 574

Conversational programming
Hide thumbs Also See for ITNC 530:
Table of Contents

Advertisement

20 LBL 10
21 CYCL DEF 7.0 DATUM SHIFT
22 CYCL DEF 7.1 X+Q1
23 CYCL DEF 7.2 Y+Q2
24 CYCL DEF 10.0 ROTATION
25 CYCL DEF 10.1 ROT+Q8
26 Q35 = (Q6 - Q5) / Q7
27 Q36 = Q5
28 Q37 = 0
29 Q21 = Q3 * COS Q36
30 Q22 = Q4 * SIN Q36
31 L X+Q21 Y+Q22 R0 FMAX M3
32 L Z+Q12 R0 FMAX
33 L Z-Q9 R0 FQ10
34 LBL 1
35 Q36 = Q36 + Q35
36 Q37 = Q37 + 1
37 Q21 = Q3 * COS Q36
38 Q22 = Q4 * SIN Q36
39 L X+Q21 Y+Q22 R0 FQ11
40 FN 12: IF +Q37 LT +Q7 GOTO LBL 1
41 CYCL DEF 10.0 ROTATION
42 CYCL DEF 10.1 ROT+0
43 CYCL DEF 7.0 DATUM SHIFT
44 CYCL DEF 7.1 X+0
45 CYCL DEF 7.2 Y+0
46 L Z+Q12 F0 FMAX
47 LBL 0
48 END PGM ELLIPSE MM
574
Subprogram 10: Machining operation
Shift datum to center of ellipse
Account for rotational position in the plane
Calculate angle increment
Copy starting angle
Set counter
Calculate X coordinate for starting point
Calculate Y coordinate for starting point
Move to starting point in the plane
Pre-position in tool axis to set-up clearance
Move to working depth
Update the angle
Update the counter
Calculate the current X coordinate
Calculate the current Y coordinate
Move to next point
Unfinished? If not finished, return to LBL 1
Reset the rotation
Reset the datum shift
Move to set-up clearance
End of subprogram
11 Programming: Q Parameters

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Itnc 530 e

Table of Contents