1646 HEIDENHAIN Technical Manual iTNC 530 HSCI
Tool management views
The extended tool management function makes it possible to display the
previous tables of the control in a different view. The described functions and
rules enable you to "build" the new enhanced tool-management tables. The
respective views of the new tool-management tables (tools, pockets, tooling
list, T usage order, etc.) are each based on an existing table.
The "Tools" view is based on the table \\TABLE\\TOOL\\
The "Pockets" view is based on the table \\TABLE\\TOOL_P\\
The "Tooling list" view is based on the table
\\GEO\\channel\\0\\toolPrep\\toolingList
The "T usage list" view is based on the table
\\GEO\\channel\\0\\toolPrep\\toolSequence
This means that the previously known tool table provides the basic information
for displaying the "Tool" view, for example. Therefore, the number of lines in
the "Tools" view is identical to the number of lines in the tool table. All lines of
the tool table are read in order to display the "Tools" view. In the "Tools" view,
one line is created for every line read, and the table cells in the view are
displayed according to the column rules.
Column rules
A view (table) of the extended tool management function is defined column
by column by specifying column rules. The column rules are summarized in
the OEMRuleList.py file and define the configuration of a complete view
(table). In the OEMRules.py file, however, individual columns are defined,
which can be used (more than once) in different views. A column rule
ultimately results in the value for a table cell of the view. The value of a table
cell is defined by entering a data path in the form of an ID string in the
respective column definition. Because a column rule does not contain any
information about a certain line, a placeholder must be used as a line identifier.
A question mark "?" is normally used as a placeholder.
Example:
rule_tt = {’value’:((’\\TABLE\\TOOL\\T\\?\\T’,’=’),)}
Meaning:
This rule results in the value of column 'T' from the tool table. If the "Tools"
view is active, the 'T' value from the respective line of the tool table is used in
the corresponding table cell of the view, for example. If a view other than
"Tools" is active, the value to be entered in the table cell must first be
determined by linking the tables.
For more examples of column rules, see page 1652.