Siemens SINUMERIK 828D Programming Manual page 28

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Flexible NC programming
1.1 Variables
Example 3: Definition and use of user variables of data type
Program code
DEF AXIS ABSCISSA
DEF AXIS SPINDLE
...
IF ISAXIS(1) == FALSE GOTOF CONTINUE
ABSCISSA = $P_AXN1
CONTINUE:
...
SPINDLE=(S1)
OVRA[SPINDLE]=80
SPINDLE=(S3)
General 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
18140
18150
18660
18661
18662
18663
18664
18665
1)
28
Identifier: $MN_
GUD_AREA_ SAVE_TAB
MM_NUM_GUD_MODULES
1)
MM_NUM_GUD_NAMES_NCK
1)
MM_NUM_GUD_NAMES_CHAN
1)
MM_NUM_GUD_NAMES_AXIS
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)
Not available for SINUMERIK 828D.
AXIS
Comment
; 1st geometry axis
; Spindle
1st spindle
; Spindle override = 80%
3rd spindle
Meaning
Additional save for GUD blocks
Number of GUD files in the active file system
Number of global GUD names
Number of channel-spec. GUD names
Number of axis-spec. 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
data type
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents