Example 2: Definition of a non-periodic curve table
Program code Comment
N100 CTABDEF(Y,X,3,0) ; Beginning of the definition of a ;non-periodic curve
table with number 3.
N110 X0 Y0 ; 1st motion operation, defines the starting values and
1st intermediate point:
Master value: 0, Following value: 0
N120 X20 Y0 ; 2nd interpolation point:
Master value: 0…20, Following value: starting value…0
N130 X100 Y6 ; 3rd interpolation point:
Master value: 20…100, Following value: 0…6
N140 X150 Y6 ; 4th interpolation point:
Master value: 100…150, Following value: 6…6
N150 X180 Y0 ; 5th interpolation point:
Master value: 150…180, Following value: 6…0
N200 CTABEND ; End of the definition. The curve table is generated
in its internal representation as a polynomial of up to
the 5th order. The calculation of the curve definition
with the specified intermediate points is dependent on
the modally selected interpolation type (circular, lin-
ear, spline interpolation). The part program state be-
fore starting the definition is restored.
Example 3: Definition of a periodic curve table
Definition of a periodic curve table with number 2, master value range 0 to 360, following axis
motion from 0 to 45 and back to 0:
Program code Comment
N10 DEF REAL DEPPOS
Work preparation
3.16 Axis couplings
NC programming
898 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0