HEIDENHAIN TNC 320 (34055x-06) User Manual
Page 26
Contents
26
TNC 320 | User's Manual HEIDENHAIN Conversational Programming | 5/2013
8.9
Accessing tables with SQL commands............................................................................................. 269
Introduction.............................................................................................................................................269
A transaction.......................................................................................................................................... 270
Programming SQL commands...............................................................................................................272
Overview of the soft keys..................................................................................................................... 272
SQL BIND...............................................................................................................................................273
SQL SELECT.......................................................................................................................................... 274
SQL FETCH............................................................................................................................................ 276
SQL UPDATE..........................................................................................................................................277
SQL INSERT........................................................................................................................................... 277
SQL COMMIT........................................................................................................................................ 278
SQL ROLLBACK..................................................................................................................................... 278
8.10
Entering formulas directly................................................................................................................... 279
Entering formulas................................................................................................................................... 279
Rules for formulas..................................................................................................................................281
Programming example........................................................................................................................... 282
8.11
String parameters................................................................................................................................ 283
String processing functions................................................................................................................... 283
Assigning string parameters.................................................................................................................. 284
Chain-linking string parameters..............................................................................................................284
Converting a numerical value to a string parameter..............................................................................285
Copying a substring from a string parameter........................................................................................ 286
Converting a string parameter to a numerical value..............................................................................287
Checking a string parameter.................................................................................................................. 288
Finding the length of a string parameter............................................................................................... 289
Comparing alphabetic sequence............................................................................................................ 290
Reading machine parameters.................................................................................................................291