HEIDENHAIN TNC 620 User Manual page 350

Klartext programming
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

9
Step
6 Remove
binding
7 Delete synonym
Synonyms are an alternative only to the required absolute
paths. Relative path entries are not possible.
The following NC program shows the entry of an absolute path.
Example: Use an absolute path
0  BEGIN PGM SQL_READ_WMAT_2 MM
1  SQL BIND QS 1800 "'TNC:\table\WMAT.TAB'.WMAT"
2  SQL QL1 "SELECT WMAT FROM 'TNC:\table\WMAT.TAB'
WHERE NR ==3"
3  SQL FETCH Q1900 HANDLE QL1
4  SQL ROLLBACK Q1900 HANDLE QL1
5  SQL BIND QS 1800
6  END PGM SQL_READ_WMAT_2 MM
350
Programming Q parameters | Accessing tables with SQL statements
Explanation
The binding between table columns and QS parameters is removed (release of necessary
resources)
The synonym is deleted (release of necessary resources)
Bind QS parameters
Define search
Execute search
Complete transaction
Remove parameter binding
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 620 eTnc 620 programming station

Table of Contents