Input Fields - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

Input fields

6 – 264
With the switches /e and /i you can assign input fields to the variables:
/e: shows the current value that 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.
With the /s = xxx switch a field is produced in which no input is possible. By
entering the identifier xxx it is possible to ascertain with Module 9211 whether
the cursor is located in this field.
If the switches /e, /i or /s are used, the cursor keys function as jump
commands from input field to input field. If necessary the current page is
scrolled. Text between the input fields may no longer be displayable.
Note
Do not edit any text before the first input field or after the last.
The C command "printf" requires a format that defines the length of the
numerical field:
7 7 7 7
Save this format in the mask file. Otherwise the length of the input field
depends on the coincidental content of the associated variable.
For the input function this format instruction is converted internally into a form
suitable for the C command "scanf":
printf: %[flags]
[digits1]
scanf:
%[digits1]
Note
Special characteristics
n
%d, %e
The size information "1" can be omitted. Floating-point variables are of
the double type and automatically add to this information.
n
%g
Do not use. Causes errors.
n
%i
Do not use. Any number entered with leading zeros would be interpreted
as an octal number.
n
%u
Works correctly only in the definition range for the respective variables.
n
The size indicator h (short integer) of the "scanf" function cannot be
written. All integer variables are automatically expanded to 32 bits for
input and output.
[.[digits2]]
HEIDENHAIN Technical Manual TNC 426, TNC 430
[1]
conversion_char
[size] conversion_char

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents