HEIDENHAIN TNC 640 (34059x-05) ISO programming User Manual
Page 33

TNC 640 | User's ManualDIN/ISO Programming | 1/2015
33
9.9
Entering formulas directly.................................................................................................................. 324
Entering formulas..................................................................................................................................324
Rules for formulas.................................................................................................................................326
Programming example.......................................................................................................................... 327
9.10 String parameters............................................................................................................................... 328
String processing functions.................................................................................................................. 328
Assigning string parameters................................................................................................................. 329
Chain-linking string parameters.............................................................................................................329
Converting a numerical value to a string parameter.............................................................................330
Copying a substring from a string parameter.......................................................................................331
Converting a string parameter to a numerical value.............................................................................332
Checking a string parameter.................................................................................................................333
Finding the length of a string parameter..............................................................................................334
Comparing alphabetic sequence...........................................................................................................335
Reading out machine parameters......................................................................................................... 336
9.11 Preassigned Q parameters................................................................................................................. 339
Values from the PLC: Q100 to Q107....................................................................................................339
Active tool radius: Q108........................................................................................................................339
Tool axis: Q109......................................................................................................................................339
Spindle status: Q110............................................................................................................................. 340
Coolant on/off: Q111............................................................................................................................. 340
Overlap factor: Q112............................................................................................................................. 340
Unit of measurement for dimensions in the program: Q113................................................................340
Tool length: Q114.................................................................................................................................. 340
Coordinates after probing during program run..................................................................................... 341
Deviation between actual value and nominal value during automatic tool measurement with the TT
130.........................................................................................................................................................341
Tilting the working plane with mathematical angles: rotary axis coordinates calculated by the
TNC........................................................................................................................................................341
Measurement results from touch probe cycles (see also User’s Manual for Cycle Programming).......342
9.12 Programming examples..................................................................................................................... 344
Example: Ellipse.................................................................................................................................... 344
Example: Concave cylinder machined with spherical cutter.................................................................346
Example: Convex sphere machined with end mill................................................................................348