EasyManuals Logo

Siemens SINUMERIK 810D Programming Manual

Siemens SINUMERIK 810D
687 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #149 background imageLoading...
Page #149 background image
File and Program Management
3.5 REDEF Changing the attributes of the NC language elements
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
3-23
• Attributes of arrays cannot be set for individual elements but only always for the entire
array:
DEF CHAN INT _MYGUD[10,10]
REDEF _MYGUD INIRE // ok
REDEF _MYGUD[1,1] INIRE // not possible, alarm is output
// (array value)
• Initialization of GUD arrays themselves is not affected.
DEF NCK INT _MYGUD[10] =(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
DEF NCK INT _MYGUD[100,100] = REP (12)
DEF NCK INT _MYGUD[100,100] ;
• REDEF statements with R parameters must be enclosed in parentheses.
REDEF R[ ] INIRE
• INI attributes
Note, however, that when the INI attributes for these variables are set, that an
appropriately large memory for INIT values, can be set using MD 18150:
MM_GUD_VAL_MEM, must be available. In the machine data 11270:
DEFAULT_VALUES_MEM_MASK must be set to 1 (memory for initialization values
active). Too small a memory cause alarm 12261 "Initialization not allowed".
• R parameters and system variables
For R and system variables it is not possible to specify a default that deviates from the
compiled value. However, resetting to the compiled value is possible with INIPO, INIRE,
or INICF.
• For data type FRAME of GUD it is not possible to specify a default deviating from the
compiled value either (like for definition of the data item).
• GUD (DEF NCK INT_MYGUD)
Only the INIPO attribute is permissible for global GUD (DEF NCK INT_MYGUD).
Only the data in the corresponding channel is initialized for channel-specific GUD (DEF
CHAN INT_MYGUD) with the corresponding result (RESET, BAG-RESET or NewConfig).
Example: 2 channels are defined with the channel-specific GUD that is to be initialized
during RESET:
DEF CHAN INT _MYGUD
REDEF _MYGUD INIRE
During a RESET in the first channel, the GUD for this channel is reset and the value in
the second channel is not affected.
Setting a default value
If REDEF <name> INIRE, INIPO; INICF; PRLOC is used to change the behavior of a system
variable or GUD, the machine data DEFAULT_VALUES_MEM_MASK must be set to 1
(memory for initialization values active). Otherwise, alarm 12261 "Initialization not allowed" is
output.

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 810D and is the answer not in the manual?

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals