b) Curve table segments
•
Determine number of used curve segments of the type memType in the memory range.
• CTABSEG(memType, segType)
•
If memType is not specified, the memory type specified in the following machine data:
MD20905 $MC_CTAB_DEFAULT_MEMORY_TYPE
Result:
>= 0: Number of curve segments
-2: Invalid memory type
If segType is not specified, the sum is produced via linear and polynomisl segments in the
memory type.
-2: segType not equal "L" or "P"
•
Determine number of used curve segments of the type memType in the memory range
CTABSEGID(n, segType)
Result:
>= 0: Number of curve segments
-1: Curve table with number n does not exist
-2: segType not equal "L" or "P"
•
Determine number of free curve segments of the type memType in the memory range
CTABFSEG(memType, segType)
If memType is not specified, the memory type specified in the following machine data:
MD20905 $MC_CTAB_DEFAULT_MEMORY_TYPE
Result:
>= 0: Number of free curve segments
-2: Invalid memory type, segType not equal "L" or "P"
• Determine maximum number of possible curve segments of the type segType in the
memory
CTABMSEG(memType, segType)
If memType is not specified, the memory type specified in the following machine data:
MD20905 $MC_CTAB_DEFAULT_MEMORY_TYPE
Result:
>= 0: Maximum number of possible curve segments
-2: Invalid memory type, segType not equal "L" or "P"
Special Functions
Function Manual, 09/2011, 6FC5397-2BP40-2BA0
M3: Coupled axes
5.2 Curve tables
233