Overview Of Functions - HEIDENHAIN TNC 640 User Manual

Hide thumbs Also See for TNC 640:
Table of Contents

Advertisement

Programming Q Parameters | Accessing tables with SQL commands
Transaction
Example of an SQL transaction:
Assign Q parameters to table columns for read or write access
using SQL BIND
Select data using SQL SELECT or SQL EXECUTE with the
SELECT instruction
Read, change, or add data using SQL FETCH, SQL UPDATE, and
SQL INSERT
Confirm or discard interaction using SQL COMMIT and SQL
ROLLBACK
Approve bindings between table columns and Q parameters
using SQL BIND
You must conclude all transactions that have been
started—even exclusively read accesses. Concluding
the transaction is the only way to ensure that changes
and additions are transferred, that locks are removed,
and that used resources are released.

Overview of functions

Overview of soft keys
Soft
Command
key
SQL BIND establishes or removes connec-
tions between table columns and Q or QS
parameters
SQL EXECUTE opens a transaction for
selected table columns and table rows or
enables the use of other SQL instructions
(miscellaneous functions).
Further information:
tions", page 438
SQL FETCH transfers the values to the
bound Q parameters
SQL ROLLBACK discards all changes and
concludes the transaction
SQL COMMIT saves all changes and
concludes the transaction
SQL UPDATE transfers all values from the
bound Q parameters to the table
SQL INSERT creates a new table row
SQL SELECT reads out a single values from a
table and does not open any transaction
HEIDENHAIN | TNC 640 | Conversational Programming User's Manual | 10/2017
Page
440
441
"Overview of instruc-
444
448
447
445
446
449
10
437

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents