7 Programming with 0 Parameters
4
0 Parameters are used for:
l
Programming families of parts
l
Defining contours through mathematical functions
A family of parts can be programmed in the TNC 370 in a single part
program. You do this by entering variables - called 0 parameters -
instead of numerical values.
A Q parameter is designated by the letter Q and a number between 0
and 123.
lweanfrrg Range
Freely available parameters, locally effective
(depending on MP7251) QO to Q99
Parameters for special functions on the TNC
0100 to 0199
Parameters that are primarily reserved for
cycles, globally effective Q200 to Q299
Q parameters can represent for example:
l
Coordinate values
l
Feed rates
l
Spindle speeds
l
Cycle data
Q parameters also enable you to program contours that are defined
through mathematical functions.
With 0 parameters you can make the execution of machining steps
dependent on logical conditions.
0 parameters and numerical values can also be mixed within a
program.
Q parameters can be assigned numerical values between -99999.9999
and +99999.9999.
ig.
7.1:
Q parameters as variables
The TNC 370 automaticatiy assigns data
to
some Q parameters. For example, parameter Q108 is assigned the
current toot radius. You witi find a list of these parameters in Chapter 12. d
7-2
TNC 370