Program code Comment
N20 DEF REAL GRADIENT
N30 CTABDEF(Y,X,2,1) ; Start of definition.
N40 G1 X=0 Y=0
N50 POLY
N60 PO[X]=(45.0)
N70 PO[X]=(90.0) PO[Y]=(45.0,135.0,-90)
N80 PO[X]=(270.0)
N90 PO[X]=(315.0) PO[Y]=(0.0,-135.0,90)
N100 PO[X]=(360.0)
N110 CTABEND ; End of the definition.
;Test of the curve by coupling Y to X:
N120 G1 F1000 X0
N130 LEADON(Y,X,2)
N140 X360
N150 X0
N160 LEADOF(Y,X)
N170 DEPPOS=CTAB(75.0,2,GRADIENT) ; Read the table function for mas-
ter value 75.0.
N180 G0 X75 Y=DEPPOS ; Positioning leading and follow-
ing axes.
;After activating the coupling, no synchronization of the following axis is required.
N190 LEADON(Y,X,2)
N200 G1 X110 F1000
N210 LEADOF(Y,X)
N220 M30
Further Information
Starting and end value of the curve table
The starting value for the beginning of the definition range of the curve table are the first
associated axis positions specified (the first traverse statement) within the curve table
definition. The end value of the definition range of the curve table is determined in accordance
with the last traverse command.
Work preparation
3.16 Axis couplings
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 899