Siemens SINUMERIK 840D sl Function Manual page 232

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

Advertisement

M3: Coupled axes
5.2 Curve tables
When using the CTABID(p, memType) function, no assumptions should be made
regarding the sequence of the curve tables in the memory. The CTABID(p, ...) function
supplies the ID (table number) of the curve table entered in memory as the pth curve table.
If the sequence of curve tables in memory changes between consecutive calls of
CTABID()CTABID(), e.g. due to the deletion of curve tables with CTABDEL(), the
CTABID(p, ...) function can supply a different curve table with the same number.
To prevent this from happening, the curve tables concerned can be locked, using the
CTABLOCK(...) language command. In this case, it should be noted that the curve tables
concerned are then unlocked with CTABUNLOCK().
Request the block state
Table n
CTABISLOCK(n)
Result:
> 0: Table is blocked
Reason for block:
1: by CTABLOCK()
2: by an active coupling
3: by CTABLOCK()and by an active coupling
= 0: Table is not blocked
- 1: Table does not exist
Check whether the curve table exists
CTABEXISTS(n)
Result:
1: Table exists
0: Table does not exist
Determine memory type of the curve table
CTABMEMTYP(n)
Result:
0: Table in static SRAM NC memory
1: Table in dynamic "DRAM" NC memory
-1: Table does not exist
by an active coupling periodic
CTABPERIOD(n)
Result:
0: Table is not periodic
1: Table is periodic in the leading axis
2: Table is periodic in the leading and following axes
-1: Table does not exist
232
Function Manual, 09/2011, 6FC5397-2BP40-2BA0
Special Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents