Redefinition Of System Variables, User Variables, And Nc Language Commands (Redef) - Siemens Sinumerik 840D sl Programming Manual

Job planning
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

If this is not the case, the variable has to be loaded at the start of the part program or, as in
the following example, the AXNAME(...) function (see "") has to be used.
Program code
DEF NCK STRING[5] ACHSE="X"
N100 AX[AXNAME(ACHSE)]=111 G00
See also
General information about variables General information about variables [Page 17]
1.1.6
Redefinition of system variables, user variables, and NC language commands
(REDEF)
Function
The REDEF command can be used to change system variable, user variable and NC
language command attributes. A fundamental condition of redefinition is that it has to post-
date the corresponding definition.
Multiple attributes cannot be changed simultaneously during redefinition. A separate REDEF
operation has to be programmed for each attribute to be changed.
If two or more concurrent attribute changes are programmed, the last change is always
active.
Redefinable attributes
See "Overview of definable and redefinable attributes [Page 46]".
Local user variables (PUD/LUD)
Redefinitions are not permitted for local user variables (PUD/LUD).
Syntax
REDEF <name> <PP_stop>
REDEF <name> <phys_unit>
REDEF <name> <limit_values>
REDEF <name> <access_rights>
REDEF <name> <init_time>
REDEF <name> <init_time> <init_value>
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Flexible NC programming
Comment
;
Definition in the data block
;
Use in the part program
1.1 Variables
31

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents