Linking Tables; Possible Table Links - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

July 2013

Linking tables

You can specify different source data paths in the configuration of a view (e.g.
"Tools") in order to display data from different source tables in a view.
Example:
rule_tt = t{'value':(('\\TABLE\\TOOL\\T\\?\\T','='),)}
rule_tp = t{'value':(('\\TABLE\\TOOL_P\\P\\?\\P','='),)}
The tables are linked in the OEMRuleList.py file:
rule_t = [rule_tt, rule_tp]
Meaning:
Two columns are displayed in the "Tools" view:
1st column 'T' from the tool table and
2nd pocket number 'P' of the tool from the pocket table (if present)
In this case, both source tables must contain the column 'T' for the tables to
be linked. Also, the value in column 'T' must have the same meaning in both
source tables (e.g. tool number). Tables that are not related to each other
cannot be linked to each other.
The placeholder ? in the rule "rule_tp" has a completely different meaning from
the "Tools" point of view than it has from the "Pockets" point of view:
rule_tp when used from a "Tools" point of view:
Show pocket number from the pocket table for the tool currently being read
from the tool table
rule_tp when used from a "Pockets" point of view:
Show pocket number of the line currently being read from the pocket table

Possible table links

Every view only allows certain links, because the related column values are
not always unique.
Valid data paths for the "Tools" view
• \\TABLE\\TOOL\\ [basic information]
• \\TABLE\\TOOL_P\\
Valid data paths for the "Pockets" view
• \\TABLE\\TOOL_P\\ [basic information]
• \\TABLE\\TOOL\\
Valid data paths for the "Tooling list" view
• \\GEO\\channel\\0\\toolPrep\\toolingList [basic information]
• \\TABLE\\TOOL\\
• \\TABLE\\TOOL_P\\
Valid data paths for the "T usage list " view
• \\GEO\\channel\\0\\toolPrep\\toolSequence [basic information]
• \\TABLE\\TOOL\\
• \\TABLE\\TOOL_P\\
If you are in the Tools" or "Pockets" view, you cannot create a link to the
"Tooling list" and "T usage order" tables, because there is no unique value in a
common column (here 'T'). The same applies to linking values of the "Tooling
list" to values of the "T usage order."
8.15 Tool changer
1647

Advertisement

Table of Contents
loading

Table of Contents