Axis couplings   
9.2 Curve tables (CTAB) 
  Job planning 
512  Programming Manual, 07/2010, 6FC5398-2BP40-0BA0 
Significance 
 
CTABID 
Returns the table number entered as the 
<p>th curve table in the 
specified memory. 
Example: 
CTABID(1,"SRAM") returns the number of the first curve table in the 
static NC memory. In this context the first curve table is the curve 
table with the highest table number. 
Note: 
If the sequence of curve tables in the memory changes between 
consecutive calls of 
CTABID, e.g. due to the deletion of curve tables 
with 
CTABDEL, CTABID(<p>,...) can return a different curve table with 
the same number 
<p>. 
Returns the lock state of curve table number 
<n>: 
0  Table is not locked 
1  Table is locked by 
CTABLOCK 
2  Table is locked by active coupling 
3  Table is locked by 
CTABLOCK and active coupling 
CTABISLOCK 
-1  Table does not exist 
Returns the memory location of curve table number 
<n>: 
0  Table in the static NC memory 
1  Table in the dynamic NC memory 
CTABMEMTYP 
-1  Table does not exist 
Returns the periodicity of curve table number 
<n>: 
0  Table is not periodic 
1  Table is periodic in the leading axis 
2  Table is periodic in the leading and following axes 
CTABPERIOD 
-1  Table does not exist 
<p> 
Entry number in memory 
<n> 
Number (ID) of curve table 
Specification of memory location (optional) 
"SRAM" 
Static NC memory 
"DRAM" 
Dynamic NC memory 
<memory location> 
Note: 
If a value is not programmed for this parameter, the default memory 
location set with 
MD20905 $MC_CTAB_DEFAULT_MEMORY_TYPE is used.