6.2.11 PRESS(ENTER)
Description
The PRESS(ENTER) method is always called when the Enter key is pressed for a variable
with input/output field with input mode WR3 or WR5:
●
WR3: Navigation to field and pressing of the Enter key
● WR5: In the input mode, transfer of the value with the Enter key
Programming
Syntax: PRESS(ENTER)
<instructions>
END_PRESS
Description: Enter key pressed
Parameters: - None -
6.2.12 PRESS(TOGGLE)
Description
The PRESS(TOGGLE) method is always called when the toggle key is pressed irrespective
of the currently focused variable.
When
required, the FOC screen property can be used to determine which variable is currently
in focus.
Programming
Syntax: PRESS(TOGGLE)
<instructions>
END_PRESS
Description: Toggle key pressed
Parameter: - None -
Example
PRESS(TOGGLE)
DLGL("Toggle key pressed at variable " << FOC) ; The FOC screen property determines which
variable is currently in focus
END_PRESS
Programming commands
6.2 Methods
SINUMERIK Integrate Run MyScreens
104 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3