8
Cycles
J
8.7 Cycles for Coordinate Transformations
Example: Mirror image
r r
A machining sequence (subprogram 1) is to be A machining sequence (subprogram 1) is to be
executed once - as originally programmed - executed once - as originally programmed -
referenced to the datum X+O/Y+O @ and then referenced to the datum X+O/Y+O @ and then
again referenced to X+7O/Y+60 @ mirrored @ again referenced to X+7O/Y+60 @ mirrored @
in X. in X.
MIRROR IMAGE cycle in a part program
0
1
2
3
4
5
6
7
8
9
BEGIN PGM 360836 MM
BLK FORM 0.1 Z X+0 Y+O Z-20
BLK FORM 0.2 X+100 Y+lOO Z+O
TOOL DEF 1 L+O R+4
TOOL CALL 1 Z SIOOO
L Z+lOO RO FMAX
CALL LBL 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Not
mirrored 0; mirrored execution sequence:
CYCL DEF 7.0
DATUM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1. Datum shift
CYCL DEF 7.1 X+70
@
CYCL DEF 7.2 Y+60
10
11
CYCL DEF 8.0 MIRROR IMAGE . . . . . . . . . . . . . . . . . . . . 2. Mirror image @
CYCL DEF 8.1 X
12 CALL LBL 1 . . . . . . . . . . . . . . . . . . . . . . . .._._.....................___._.. 3. Subprogram call
13 CYCL DEF 8.0 MIRROR
IMAGE . . . . . . . . . . . . . . . . . . . Cancel mirror image
14 CYCL DEF 8.1
15 CYCL DEF 7.0 DATUM ._.____._....._...._..........,,....,. Cancel datum shift
16 CYCL DEF 7.1 X+0
17 CYCL DEF 7.2 Y+O
18 L Z+lOO RO FMAX M2
19 LBL 1
20 L X-IO Y-IO RO FMAX M3
21 L Z+2 FMAX
22
L Z-5 F200
23 L X+0 Y+O RL
24 L Y+20
25 L X+25
26 L x+30 Y+15
27 L Y+O
28 L x+0
29 LX-IO Y-IO RO
30 L Z+2 FMAX
31 LBL 0
32
END PGM 360836 MM
This subprogram is identical to the subpro-
gram on page 8-62
8-64 TNC 370 -