Axis couplings
9.2 Curve tables (CTAB)
Job planning
504 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Examples
Example 1: Program section as curve table definition
A program section is to be used unchanged for defining a curve table. The
STOPRE command
for preprocessing stop can remain and is reactivated immediately as soon as the program
section is no longer being used for table definition and
CTABDEF and CTABEND have been
removed.
Program code Comments
…
CTABDEF(Y,X,1,1) ; Definition of a curve table.
…
IF NOT ($P_CTABDEF)
STOPRE
ENDIF
…
CTABEND
Example 2: Definition of a non-periodic curve table








;
<
Program code Comments
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 intermediate point
Master value: 0…20, Following value: starting value…0
N130 X100 Y6
3rd intermediate point:
Master value: 20…100, Following value: 0 to 6