HEIDENHAIN TNC 620 User Manual page 337

Conversational programming cnc control; nc software 817600-03; 817601-03; 817605-03
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

SQL BIND
SQL BIND links a Q parameter to a table column. The SQL commands
"Fetch," "Update" and "Insert" evaluate this binding (assignment)
during data transfer between the result set and the NC program.
An SQL BIND command without a table or column name cancels
the link. The link is terminated at the end of the NC program or
subprogram, if not before.
You can program any number of bindings. Read and
write processes only take into account the columns
that were entered in the "Select" command.
SQL BIND... must be programmed
"Update" or "Insert" commands are programmed.
You can program a "Select" command without a
preceding "Bind" command.
If in the "Select" command you include columns
for which no link has been programmed, an error
occurs during read/write processes (program
interrupt).
Parameter no. for result: Q parameter that is
linked (assigned) to the table column
Database: column name: Enter the table name and
column description – separated by . a
table
name: synonym or path and file name of this
table. The synonym is entered directly – path and
file name are entered in single speech marks
Column
column set in the configuration data
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2015
Accessing tables with SQL commands
before
description: description of the table
Link Q parameters totable columns
11SQL BIND Q881
"TAB_EXAMPLE.MEAS_NO"
12SQL BIND Q882
"TAB_EXAMPLE.MEAS_X"
13SQL BIND Q883
"TAB_EXAMPLE.MEAS_Y"
14SQL BIND Q884
"TAB_EXAMPLE.MEAS_Z"
"Fetch,"
Cancel binding
91 SQL BIND Q881
92 SQL BIND Q882
93 SQL BIND Q883
94 SQL BIND Q884
9
9.9
337

Advertisement

Table of Contents
loading

Table of Contents