Programming Q parameters
9.12 Programming examples
9
380
HEIDENHAIN | TNC 620 | ISO Programming User's Manual | 9/2016
Example: Concave cylinder machined with spherical
cutter
Program run
This program functions only with a spherical cutter.
The tool length refers to the sphere center.
The contour of the cylinder is approximated by many
short line segments (defined in Q13). The more
line segments you define, the smoother the curve
becomes.
The cylinder is milled in longitudinal cuts (here: parallel
to the Y axis).
The milling direction is determined with the starting
angle and end angle in space:
Machining direction clockwise:
Starting angle > end angle
Machining direction counterclockwise:
Starting angle < end angle
The tool radius is compensated automatically
%CYLIN G71 *
N10 D00 Q1 P01 +50*
Center in X axis
N20 D00 Q2 P01 +0*
Center in Y axis
N30 D00 Q3 P01 +0*
Center in Z axis
N40 D00 Q4 P01 +90*
Starting angle in space (Z/X plane)
N50 D00 Q5 P01 +270*
End angle in space (Z/X plane)
N60 D00 Q6 P01 +40*
Cylinder radius
N70 D00 Q7 P01 +100*
Length of the cylinder
N80 D00 Q8 P01 +0*
Rotational position in the X/Y plane
N90 D00 Q10 P01 +5*
Allowance for cylinder radius
N100 D00 Q11 P01 +250*
Feed rate for plunging
N110 D00 Q12 P01 +400*
Feed rate for milling
N120 D00 Q13 P01 +90*
Number of cuts
N130 G30 G17 X+0 Y+0 Z-50*
Workpiece blank definition
N140 G31 G90 X+100 Y+100 Z+0*
N150 T1 G17 S4000*
Tool call
N160 G00 G40 G90 Z+250*
Retract the tool
N170 L10.0*
Call machining operation
N180 D00 Q10 P01 +0*
Reset allowance
N190 L10.0*
Call machining operation
N200 G00 G40 Z+250 M2*
Retract the tool, end program
N210 G98 L10*
Subprogram 10: Machining operation
N220 Q16 = Q6 - Q10 - Q108
Account for allowance and tool, based on the cylinder radius
N230 D00 Q20 P01 +1*
Set counter
N240 D00 Q24 P01 +Q4*
Copy starting angle in space (Z/X plane)
N250 Q25 = ( Q5 - Q4 ) / Q13
Calculate angle increment
N260 G54 X+Q1 Y+Q2 Z+Q3*
Shift datum to center of cylinder (X axis)
Содержание TNC 620 Programming Station
Страница 1: ...TNC 620 User s Manual ISO programming NC Software 817600 04 817601 04 817605 04 English en 9 2016 ...
Страница 4: ......
Страница 5: ...Fundamentals ...
Страница 28: ...Contents 28 HEIDENHAIN TNC 620 ISO Programming User s Manual 9 2016 ...
Страница 57: ...1 First Steps with the TNC 620 ...
Страница 77: ...2 Introduction ...
Страница 110: ......
Страница 111: ...3 Fundamentals file management ...
Страница 166: ......
Страница 167: ...4 Programming aids ...
Страница 194: ......
Страница 195: ...5 Tools ...
Страница 234: ......
Страница 235: ...6 Programming contours ...
Страница 284: ......
Страница 285: ...7 Data transfer from CAD files ...
Страница 304: ......
Страница 305: ...8 Subprograms and program section repeats ...
Страница 323: ...9 Programming Q parameters ...
Страница 384: ......
Страница 385: ...10 Miscellaneous functions ...
Страница 407: ...11 Special functions ...
Страница 433: ...12 Multiple axis machining ...
Страница 475: ...13 Pallet management ...
Страница 480: ......
Страница 481: ...14 Manual Operation and Setup ...
Страница 549: ...15 Positioning with Manual Data Input ...
Страница 554: ......
Страница 555: ...16 Test Run and Program Run ...
Страница 590: ......
Страница 591: ...17 MOD Functions ...
Страница 622: ......
Страница 623: ...18 Tables and Overviews ...