Examples Of Oemrules.py - HEIDENHAIN iTNC 530 HSCI Technical Manual

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

Advertisement

Examples of
OEMRules.py
1652
Examples of configuring a table column:
The rules are executed sequentially one after the other, thereby enabling you
to nest the rules. The last applicable rule determines the displayed value.
First example
The column rule_tt is filled with the values from column T of the tool table
('='):
rule_tt = {
'name'
,'type'
,'sort'
,'align'
,'gettext' : 'false'
,'value'
}
Second example
The column rule_pocket is filled with the values from column P of the pocket
table ('='). However, only the pocket number is entered. If the pocket number
is equal to 0 ('==', '0', 'DB_Spindle'), then the text from 'DB-SPINDLE' will
be displayed.
rule_pocket = {
'name'
: 'DB_POCKET'
,'type'
: 'str'
,'sort'
: 'number_before_letter,blanks_on_bottom'
,'align'
: 'left'
,'gettext' : 'true'
,'value'
(('\\TABLE\\TOOL_P\\P\\?\\P', '.P'), '=')
,(('\\TABLE\\TOOL_P\\P\\?\\P', '.P'), '==', '0', 'DB_SPINDLE')
)
}
: 'T'
: 'float'
: 'letter_before_number'
: 'center'
: (
('\\TABLE\\TOOL\\T\\?\\T', '=')
)
: (
HEIDENHAIN Technical Manual iTNC 530 HSCI

Advertisement

Table of Contents
loading

Table of Contents