Siemens SINUMERIK 840DE sl Commissioning Manual page 1160

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

Advertisement

Programming commands
6.3 Functions
6.3.31
Register (REG)
Register description
Registers are needed in order to exchange data between different dialogs. Registers are
assigned to each dialog. These are created when the first dialog is loaded and assigned the
value 0 or an empty string.
Note
Registers must not be used directly in an OUTPUT method for generating NC code.
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
174
[x]
REG
Defines a register
x
Register index with x = 0...19;
Type: REAL or STRING = VARIANT
Registers with x ≥ 20 have already been assigned by Siemens.
Identifier .val = Register value
or
Identifier = Register value
Identifier
Name of the register
Register value
Value of register
; Assign value of variable 1 to register 0
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents