Jetter JC-3 Series Manual page 30

Application-oriented
Table of Contents

Advertisement

Jetter AG
How to use this
command
Operating principle
Application-oriented manual – Control of alphanumeric HMIs (LCD) and printers
Command-line syntax for assigning the return value to a variable:
AutoSet[Index].Destination := UserInput(0, 10);
The controller processes command as follows:
Step
Description
Addressing device 0, the controller displays the suggested value
1
from cursor position 10 onwards, prepares an input field and acti-
vates the cursor.
2
The task stops on the STX UserInput() command, until being
aborted or completed by the user pressing the ENTER ([↵]) key.
3
... You press the ENTER ([↵])
key
... the STX UserInput() com-
mand is aborted,
4
... an exception handling has
been programmed,
... no exception handling has
been programmed,
Tab. 27: UserInput() operating principle
Polling the state
MR 2817 polls the state of the STX UserInput() command.
If...
... the controller assigns the en-
tered value to the variable and
resumes the task executing the
next command.
... an exception is thrown and
step 4 is carried out.
If...
... the task proceeds with the ex-
ception handling.
... the task is aborted and the er-
ror is displayed in the error reg-
ister.
Control of alphanumeric HMIs | 3
... then...
... then...
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Jc-4 series

Table of Contents