
Programming Q Parameters | Accessing tables with SQL commands
10
436
HEIDENHAIN | TNC 640 | Conversational Programming User's Manual | 10/2017
10.9
Accessing tables with SQL commands
Introduction
If you would like to access numerical or alphanumerical
content in a table or manipulate the table (e.g., rename
columns or rows), then use the SQL commands
available to you.
The syntax of the SQL commands available on the
control is heavily influenced by the SQL programming
language—but does not conform to it completely. In
addition, the control does not support the entire scope
of the SQL language.
The names of tables and table columns must start with
a letter and must not contain an arithmetic operator
(e.g.,
+
). Due to SQL commands, these characters can
cause problems when inputting data or reading it out.
The following terms will be used (along with others) in
the following:
“SQL command” refers to the available soft keys
“SQL instructions” describe miscellaneous functions
that are entered manually as part of the syntax
In the syntax,
HANDLE
stands for a transaction
(followed by the identifying parameter)
The
Result set
contains the query result (referred to
in the following as “intermediate memory”)
Read and write access to individual numerical values of
a table can likewise be carried out using the function
FN
26: TABOPEN
,
FN 27: TABWRITE
and
FN 28: TABREAD
.
In the NC software, access to tables is gained via an SQL server.
This server is controlled with the available SQL commands. The
SQL commands can be defined directly in an NC program.
The saver is based on a transaction model. A
transaction
is made
up of multiples steps that are executed together, thereby ensuring
an orderly and defined processing of the table entries.
Содержание TNC 640
Страница 4: ......
Страница 5: ...Fundamentals ...
Страница 36: ...Contents 36 HEIDENHAIN TNC 640 Conversational Programming User s Manual 10 2017 ...
Страница 67: ...1 First Steps with the TNC 640 ...
Страница 90: ......
Страница 91: ...2 Introduction ...
Страница 130: ......
Страница 131: ...3 Operating the Touchscreen ...
Страница 144: ......
Страница 145: ...4 Fundamentals File Management ...
Страница 206: ......
Страница 207: ...5 Programming Aids ...
Страница 236: ......
Страница 237: ...6 Tools ...
Страница 281: ...7 Programming Contours ...
Страница 333: ...8 Data Transfer from CAD Files ...
Страница 355: ...9 Subprograms and Program Section Repeats ...
Страница 374: ......
Страница 375: ...10 Programming Q Parameters ...
Страница 478: ......
Страница 479: ...11 Miscellaneous Functions ...
Страница 501: ...12 Special Functions ...
Страница 584: ......
Страница 585: ...13 Multiple Axis Machining ...
Страница 650: ......
Страница 651: ...14 Pallet Management ...
Страница 664: ......
Страница 665: ...15 Batch Process Manager ...
Страница 673: ...16 Turning ...
Страница 713: ...17 Manual Operation and Setup ...
Страница 797: ...18 Positioning with Manual Data Input ...
Страница 803: ...19 Test Run and Program Run ...
Страница 843: ...20 MOD Functions ...
Страница 881: ...21 Tables and Overviews ...