Programming commands
6.2 Methods
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:
Description:
Parameters:
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:
Description:
Parameter:
Example
PRESS(TOGGLE)
DLGL("Toggle key pressed at variable " << FOC)
END_PRESS
104
PRESS(ENTER)
<instructions>
END_PRESS
Enter key pressed
- None -
PRESS(TOGGLE)
<instructions>
END_PRESS
Toggle key pressed
- None -
; The FOC screen property determines which
variable is currently in focus
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
SINUMERIK Integrate Run MyScreens