EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Page 1653

HEIDENHAIN iTNC 530 HSCI
1966 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
July 2013 8.15 Tool changer 1653
Third example
The column rule_time is filled with the values resulting from the subtraction
of the values from the CUR.TIME column from the values of the TIME2
column. If the resulting value is less than or equal to 5, then ’DB_TIME_1’ will
be displayed. Otherwise, ’DB_TIME_2’ will be displayed. If the calculated value
is greater than 10, then ’DB_TIME_3’ will be displayed.
The following rule applies to ’background’: If the calculated value is less than
5, then the background of the cell will be red. Otherwise, it will be yellow. If
the calculated value is greater than 10, then the background of the cell will be
green.
rule_time = {
’name’ : ’DB_TIME_AV’
,’type’ : ’str’
,’gettext’ : ’true’
,’value’ : (
(
(’\\TABLE\\TOOL\\T\\?\\TIME2’, ’–’, ’\\TABLE\\TOOL\\T\\?\\CUR.TIME’)
, ’<=’, ’5’, ’DB_TIME_1’, ’DB_TIME_2’),
(
(’\\TABLE\\TOOL\\T\\?\\TIME2’, ’–’, ’\\TABLE\\TOOL\\T\\?\\CUR.TIME’)
, ’>’, ’10’, ’DB_TIME_3’),
)
,’background’:(
(
(’\\TABLE\\TOOL\\T\\?\\TIME2’, ’–’, ’\\TABLE\\TOOL\\T\\?\\CUR.TIME’)
, ’<=’, ’5’, ’red’, ’yellow’),
(
(’\\TABLE\\TOOL\\T\\?\\TIME2’, ’–’, ’\\TABLE\\TOOL\\T\\?\\CUR.TIME’)
, ’>’, ’10’, ’green’)
)
,'background-pix' : 'true'
}
Fourth example
The column rule_tplcbit is composed of check boxes. A check box is shown
as being set if the AND operation performed on the value from the PLC
column and the decimal number "1" results in logical "1". The decimal number
is converted to the corresponding binary number for comparison.
rule_tplcbit0 = {
’name’ : ’PLC_Bit’
,’type’ : ’check’
,’gettext’ : ’false’
,’value’ : (
(’\\TABLE\\TOOL\\T\\?\\PLC’, ’&’, ’1’)
)
}

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals