Part Families - Q Parameters In Place Of Numerical Values - HEIDENHAIN TNC 426 B User Manual

Table of Contents

Advertisement

10.2 Part Families — Q Parameters in
Place of Numerical Values
The Q parameter function FN0: ASSIGN assigns numerical values to
Q parameters. This enables you to use variables in the program
instead of fixed numerical values.
Example NC blocks
5 FN0: Q 0 = 25
...
25 L X +Q 0
You need write only one program for a whole family of parts,
entering the characteristic dimensions as Q parameters.
To program a particular part, you then assign the appropriate values
to the individual Q parameters.
Example
Cylinder with Q parameters
Cylinder radius
R
= Q1
Cylinder height
H
= Q2
Cylinder Z1
Q1 = +30
Q2 = +10
Cylinder Z2
Q1 = +10
Q2 = +50
254
www.EngineeringBooksPdf.com
ASSIGN:
Q 0 contains the value 25
Means L
X +25
Q 1
Q 2
Q 2
Z1
10 Programming: Q Parameters
Q 1
Z2

Advertisement

Table of Contents
loading

Table of Contents