Parameter Manual
Operating Instructions, 08/2013, 6FC5397-8EP40-0BA0
179
Machine data
2.3 Channel-specific machine data
Description: Defines the number of additional LUD data blocks available for the function
REORG (see Description of Functions, Channels, Mode Groups, Program Operation
(K1)).
This value can be 0 if the function REORG is not used. The CNC always opens
12 LUD data blocks, of which 8 are used for NC programs and 4 for the ASUBs.
An LUD data block is needed for each NC program and ASUB in which a local
user variable is defined. This value may have to be increased for the func-
tion REORG if a large IPO buffer is present and a large number of short NC
programs in which LUD variables are defined are active (prepared NC blocks of
the programs are located in the IPO buffer).
An LUD data block is needed for each of these programs. The size of the
reserved memory is affected by the number of LUDs per NC program and their
individual memory requirements. The LUD data blocks are stored in the dynamic
memory.
The memory requirement for managing the blocks for local user variables with
REORG can be determined as follows:
The size of the LUD blocks depends on the number of active LUDs and their
data type. The memory for the LUD blocks is limited by the MD28000
$MC_MM_REORG_LOG_FILE_MEM (memory size for REORG).
Description: Defines the number of variables for the local user data (LUD) which are per-
mitted to exist in the active sections of the program. Approximately 150
bytes of memory per variable are reserved for the names of the variables and
the variable values. The memory required for the variable value is equal to
the size of the data type. If the total of the local user variables from the
active main program and the related subprograms is larger than the defined
limit, the variables which are over the limit are not accepted during execu-
tion of the program. Dynamic memory is used for the variable names and vari-
able values.
Overview of the memory used by the data types:
Data type Memory used
REAL 8 bytes
INT 4 bytes
BOOL 1 byte
CHAR 1 byte
STRING 1 byte per character, 200 characters per string are pos-
sible
AXIS 4 bytes
FRAME 400 bytes
28010 MM_NUM_REORG_LUD_MODULES EXP, C02 V2,K1
- Number of blocks for local user variables in REORG (DRAM) DWORD PowerOn
-
- - 8, 8, 8, 8, 8, 8, 8, 8... 0 SLMAXNUMBE
ROF_USERMO
DULES
1/1
28020 MM_NUM_LUD_NAMES_TOTAL C02 V2,K1
- Number of local user variables (DRAM) DWORD PowerOn
-
- - 1000, 1000, 1000,
1000, 1000, 1000,
1000...
1000, 1000,
1000, 1000,
1000, 1000,
1000...
32000 1/1
Siemens Controls