Diagnosing And Optimizing Utilization Of Resources - Siemens SINUMERIK 840D sl Function Manual

Special functions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

5.2.11

Diagnosing and optimizing utilization of resources

The following functions allow parts programs to get information on the current utilization of
curve tables, table segments and polynomials.
One result of the diagnostic functions is that resources still available can be used dynamically
with the functions, without necessarily having to increase memory usage. The description of
the parameters in Chapter "Programming Curve Tables" also applies to the following
functions.
a) Curve tables
Determine total number of defined tables.
The definition applies to all memory types (see also CTABNOMEM)
CTABNO()
Number of defined tables in SRAM or DRAM of NC memory.
CTABNOMEM (memType)
If memType is not specified, the memory type specified in the following machine data:
MD20905 $MC_CTAB_DEFAULT_MEMORY_TYPE (default memory type for curve
tables)
Result:
>= 0: Number of defined curve tables
-2: Invalid memory type
Determine number of curve tables still possible in memory.
CTABFNO(memType)
If memType is not specified, the memory type specified in the following machine data:
MD220905 $MC_CTAB_DEFAULT_MEMORY_TYPE
Result:
>= 0: Number of possible tables
-2: Invalid memory type
Determine the table number of the pth table in the memory type specified optionally
CTABID(p, memType)
If memType is not specified, the memory type specified in the following machine data:
MD20905 $MC_CTAB_DEFAULT_MEMORY_TYPE
Result:
Table number or
Alarm for invalid p or memType
Special Functions
Function Manual, 09/2011, 6FC5397-2BP40-2BA0
M3: Coupled axes
5.2 Curve tables
231

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents