EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Input Fields; Mathematical Expressions for Screen Positions

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.2 PLC window 1367
LDASH = Dot-and-dash line
Default setting: SOLID
The width of the line is one pixel and cannot be changed.
FILE= <table name>
Opens a table for access with tableread.
You cannot open more than one table at a time. If the FILE command is called
more than once, the previously opened table is closed. At the end of the mask
the table is closed automatically.
tableread (line,column)
Reads field contents from the table that has been opened with FILE=. With the
/c switch you can show the field contents of a table and update them
cyclically.
Example:
CHARSIZE = SMALL;
LINESTYLE = SOLID;
FILE = TNC:\P_PLATZ.P;
COLOR=1;
"%s", tableread(0, "P-NR");
"%s", tableread(2, "P-NR");
Mathematical
expressions for
screen positions
If a numerical value is expected as a parameter for a special function, then a
mathematical expression can be written in integer arithmetic.
The operators and priority rules used in the C programming language apply.
Available functions: +, –, *, /, %, &, |, ^.
The mathematical expression may have the following variables:
Input fields With the switches /e and /i you can assign input fields to the variables:
/e: Shows the current value, which can be overwritten.
/i: Shows an empty field in which a new value can be entered.
In addition, both switches /e and /i can be given an identifier xxx (/e = xxx,
/i = xxx), where xxx is a positive whole number. With Module 9211 you can
then ascertain whether the cursor is located in this field.
The switch /s = xxx is used to create a field in which no entries can be made.
By entering the identifier xxx it is possible to ascertain with Module 9211
whether the cursor is located in this field.
Variable Meaning
PAGE Number of the current page, beginning from zero
XPOS X position of the cursor in pixels
YPOS Y position of the cursor pixel
LINEDIST Currently defined line spacing in pixels
ROWDIST Currently defined character spacing, width of an ASCII
character
XSIZE Width of the screen window in pixels
YSIZE Height of the screen window in pixels

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals