Jetter AG
MR 2817
Mapping of keys
Keys used for
entering numericals
Application-oriented manual – Control of alphanumeric HMIs (LCD) and printers
UserInput state
This module register contains the state of the UserInput() command. To abort
an active STX UserInput() command, enter the value 0 in MR 2817.
Property
Reading values
Writing values
Tab. 34: UserInput state
3.8 Querying the keys
The controller maps the keys of the HMIs to the following variables:
■
Special flags
■
Bits in registers that overlay special flags
Flags and register bits can have the following states:
Key
Pressed
Not pressed
INFO
Limitations
While inputting numerical values, the keys used for this are
not mapped to the key flags and register bits.
Key
[0] ... [9]
[.] or [,]
[-]
[C]
ENTER ([↵])
Tab. 35: Keys used for entering numericals
Description
0
No UserInput active
1
UserInput active
0
Aborting UserInput
Special flag/register bit
TRUE/1
FALSE/0
Description
Enters a numerical value
Enters a decimal point or decimal comma
Enters a negative/positive numerical value;
you can press the key any time during input.
Clears current entry;
Displays suggested value again
Terminates the input process; confirms the input
Control of alphanumeric HMIs | 3
33