Redefinition Of System Data, User Data, And Nc Commands (Redef) - Siemens SINUMERIK 840D sl Programming Manual

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Work preparation
3.1 Flexible NC programming
Supplementary conditions
Global user variables (GUD)
In the context of the definition of global user variables (GUD), the following machine data has
to be taken into account:
No.
11140
18118
18120
18130
18150
18660
18661
18662
18663
18664
18665
For SINUMERIK 828D, MD can only be read!
1)
Cross-channel use of an NC-global user variable of the AXIS data type
An NC-global user variable of the AXIS data type initialized during definition in the data block
with an axis identifier can then only be used in other NC channels if the axis has the same
channel axis number in these channels.
If this is not the case, the variable has to be loaded at the beginning of the NC program or, as
in the following example, the AXNAME(...) function (see "Axis functions (AXNAME, AX, SPI,
AXTOSPI, ISAXIS, AXSTRING, MODAXVAL) (Page 875)") has to be used.
Program code
DEF NCK STRING[5] ACHSE="X"
...
N100 AX[AXNAME(ACHSE)]=111 G00
3.1.1.6

Redefinition of system data, user data, and NC commands (REDEF)

The REDEF command changes the attributes of system data, user data, and NC commands. 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
command must be programmed for each attribute to be changed.
If several concurrent attribute changes are programmed, the last change is always active.
402
Identifier: $MN_
GUD_AREA_ SAVE_TAB
MM_NUM_GUD_MODULES
1)
MM_NUM_GUD_NAMES_NCK
1)
MM_NUM_GUD_NAMES_CHAN
1)
MM_GUD_VALUES_MEM
1)
MM_NUM_SYNACT_GUD_REAL
1)
MM_NUM_SYNACT_GUD_INT
1)
MM_NUM_SYNACT_GUD_BOOL
1)
MM_NUM_SYNACT_GUD_AXIS
1)
MM_NUM_SYNACT_GUD_CHAR
1)
MM_NUM_SYNACT_GUD_STRING
1)
Meaning
Additional save for GUD blocks
Number of GUD files in the active file system
Number of global GUD names
Number of channel-specific GUD names
Memory location for global GUD values
Number of configurable GUD of the REAL data
type
Number of configurable GUD of the INT data
type
Number of configurable GUD of the BOOL data
type
Number of configurable GUD of the AXIS data
type
Number of configurable GUD of the CHAR data
type
Number of configurable GUD of the STRING da‐
ta type
Comment
;Definition in the data block
; Use in the NC program
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents