HEIDENHAIN TNC 320 User Manual page 349

Compact contouring control
Hide thumbs Also See for TNC 320:
Table of Contents

Advertisement

9.9
Accessing tables with SQL
commands
Introduction
Accessing of tables is programmed on the TNC with SQL
commands in transactions. A transaction consists of multiple SQL
commands that guarantee an orderly execution of the table entries.
Tables are configured by the machine manufacturer.
Names and designations required as parameters for
SQL commands are also specified.
The following
terms
are used:
Table:
A table consists of x columns and y rows. It is saved as
a file in the File Manager of the TNC, and is addressed with the
path and file name (= table name). Synonyms can also be used
for addressing, as an alternative to the path and file name
Columns:
The number and names of the columns are specified
when configuring the table. The column name is used for
addressing in various SQL commands
Rows: The number of rows is variable. You can insert new
rows. There are no row numbers or other designators. You
can however select rows according to their column content.
Rows can only be deleted in the table editor and not via the NC
program.
Cell:
The column in a row
Table entry:
Content of a cell
Result set:
During a transaction, the selected columns and
rows are managed in the result set. You can view the result set
as a sort of "intermediate memory," which temporarily assumes
the set of selected columns and rows. Result set
Synonym:
This term defines a name used for a table instead of
its path and file name. Synonyms are specified by the machine
manufacturer in the configuration data
HEIDENHAIN | TNC 320 | Conversational Programming User's Manual | 9/2016
Accessing tables with SQL commands
9
9.9
349

Advertisement

Table of Contents
loading

Table of Contents