Siemens SINUMERIK 840D sl Commissioning Manual page 690

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Variables
5.18 FOC variable
5.18
FOC variable
Description
With the variable FOC, the input focus (current active input/output field) is controlled in a
dialog. The reaction of the cursor left, right, up, down as well as PGUP, PGDN are
predefined.
Note
The FOC function must not be initiated as a result of a navigation event. The cursor position
may only be changed in softkey PRESS blocks, CHANGE blocks, ...
The FOC function cannot be applied to variables with input mode wr = 0 and wr = 4 or to
Help variables.
Programming
Syntax:
Description:
Return value:
Example
IF FOC == "Var1"
REG[1] = Var1
ELSE
REG[1] = Var2
ENDIF
FOC = "Var1"
FOC = 3
72
FOC
The variable can be read and written.
Read
The result is the name of the variable to which the FOC
function has been applied.
Write
It is possible to assign either a string or a numerical value. A
string is interpreted as a variable name and a numerical
value as a variable index.
; Read focus
; The input focus is assigned to variable 1.
; The input focus is assigned to the 3rd dialog
element with WR ≥ 2.
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents