Examples
4.1 Toolholder with orientation capability
Basic logic functions: Tool Offset (W1)
190 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
N60
$TC_DP12[1,1]= ; wear
N70
$TC_SCP13[1,1]=0.1 ; Sum offset DL=1
N80
$TC_ECP13[1,1]=0.01 ; Insert offset DL=1
N90
$TC_ADPTT[1]=5 ; Adapter transformation
N100
$TC_ADPT1[1]=0.001 ; Adapter dimension
; Magazine data
N110
$TC_MAP1[1]=3 ; Magazine type: Revolver
N120
$TC_MAP2[1]="Revolver" ; Magazine identifier
N130
$TC_MAP3[1]=17 ; Status of magazine
N140
$TC_MAP6[1]=1 ; Dimension - line
N150
$TC_MAP7[1]=2 ; Dimension - column -> 2 positions
N160
$TC_MPP1[1,1]=1 ; Location type
N170
$TC_MPP2[1,1]=9 ; Location types
N180
$TC_MPP4[1,1]=2 ; Location state
N190
$TC_MPP7[1,1]=1 ; Bring adapter into position
N200
$TC_MPP6[1,1]=1 ; T number "MillingTool"
N210
$TC_MAP1[9999]=7 ; Magazine type: buffer
N220
$TC_MAP2[9999]="buffer" ; Magazine identifier
N230
$TC_MAP3[9999]=17 ; Status of magazine
N240
$TC_MAP6[9999]=1 ; Dimension - line
N250
$TC_MAP7[9999]=1 ; Dimension - column -> 1 position
N260
$TC_MPP1[9999.1]=2 ; Location type
N270
$TC_MPP2[9999.1]=9 ; Location types
N280
$TC_MPP4[9999.1]=2 ; Location state
N290
$TC_MPP5[9999,1]=1 ; Spindle no. 1
N300
$TC_MDP2[1,1]=0 ; Distance from spindle to mag. 1
; Definition of toolholder 1
N310
$TC_CARR10[1] = 1 ; Component of 2nd rotary axis in X
direction
N320
$TC_CARR14[1] = 45 ; Angle of rotation of 2nd axis
N330
$TC_CARR23[1] = "T" ; Tool mode
N340
Stopre
N350
$SC_WEAR_TRANSFORM = 'B101'
N360
T0 D0 DL=0
N370
ROT X30
N380
G90 G1 G17 F10000 X0 Y0 Z0
N390
T="MillingTool" X0 Y0 Z0 TOWSTD ; X 0.000 Y11.110 Z 0.001
N400
T="MillingTool" X0 Y0 Z0 TOWMCS ; X 0.000 Y10.100 Z 1.011
N410
T="MillingTool" X0 Y0 Z0 TOWWCS ; X 0.000 Y 9.595 Z 0.876
N420
TCARR=1 X0 Y0 Z0 ; X 0.000 Y 6.636 Z 8.017
N430
G18 X0 Y0 Z0 ; X10.100 Y-0.504 Z 0.876
N440
m30