Programming
Syntax:
Description:
Parameters:
Description of register value
The assignment of values to registers is configured in a method.
Note
If a new dialog is generated from an existing dialog by means of the LM function, register
content is automatically transferred to the new dialog at the same time and is available for
further calculations in the second dialog.
Programming
Syntax:
Description:
Parameters:
Example
UNLOAD
REG[0] = VAR1
END_UNLOAD
UNLOAD
REG[9].VAL = 84
END_UNLOAD
LOAD
VAR2 = REG[0]
END_LOAD
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1
[x]
REG
Defines register
x
Register index with x = 0...19;
Type: REAL or STRING = VARIANT
Registers with x ≥ 20 have already been assigned by Siemens.
Identifier
Register value
.val =
or
Identifier
Register value
=
Identifier
Name of register
Register value
Value of register
; Assign value of variable 1 to register 0
; Assign value 84 to register 9
; These registers can then be assigned to local variables
again in a method in the next dialog.
Programming commands
6.3 Functions
117