beautypg.com

HEIDENHAIN TNC 620 (34056x-04) User Manual

Page 28

background image

Contents

28

TNC 620 | User's Manual

HEIDENHAIN Conversational Programming | 5/2013

8.9

Accessing tables with SQL commands............................................................................................. 273

Introduction.............................................................................................................................................273

A transaction.......................................................................................................................................... 274

Programming SQL commands...............................................................................................................276

Overview of the soft keys..................................................................................................................... 276

SQL BIND...............................................................................................................................................277

SQL SELECT.......................................................................................................................................... 278

SQL FETCH............................................................................................................................................ 280

SQL UPDATE..........................................................................................................................................281

SQL INSERT........................................................................................................................................... 281

SQL COMMIT........................................................................................................................................ 282

SQL ROLLBACK..................................................................................................................................... 282

8.10

Entering formulas directly................................................................................................................... 283

Entering formulas................................................................................................................................... 283

Rules for formulas..................................................................................................................................285

Programming example........................................................................................................................... 286

8.11

String parameters................................................................................................................................ 287

String processing functions................................................................................................................... 287

Assigning string parameters.................................................................................................................. 288

Chain-linking string parameters..............................................................................................................288

Converting a numerical value to a string parameter..............................................................................289

Copying a substring from a string parameter........................................................................................ 290

Converting a string parameter to a numerical value..............................................................................291

Checking a string parameter.................................................................................................................. 292

Finding the length of a string parameter............................................................................................... 293

Comparing alphabetic sequence............................................................................................................ 294

Reading machine parameters.................................................................................................................295