Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.
Use your display name or email address to sign in:
This is not an important issue for my boss, he thinks we don't need it. That's why he doesn't pass the matter on to the reseller. Since I don't get any support from my boss, I turned to the forum.
Hi Guys,
Iam trying to change the output of drill cycles for a TNC426 controller. The post gives me subroutines, so far so good. But when I choose subroutines, it gives me the code for the cycle and the first drill point, after this i get the call for the subprogramm. I know that the cycle will be processed when it has been read by the controller and in this way the position must be contained in the cycle, but with heidenhain its a little bit diffrent.
This means in the pdrill$ should be postet the subroutine.
For example what i get a the moment:
4 TOOL CALL 5 Z S763 DL+0 DR+0
5 L R0 FMAX M03
6 CYCL DEF 1.0 PECKING
7 CYCL DEF 1.1 SET UP 2.
8 CYCL DEF 1.2 DEPTH -10.
9 CYCL DEF 1.3 PECKG 10.
10 CYCL DEF 1.4 DWELL .5
11 CYCL DEF 1.5 F153
12 L X+30. Y+80. Z+50. R0 FMAX M08
13 L Z+2. FMAX M99
14 L Z+50. R0 FMAX
15 CALL LBL 1
16 M09
17 M05
18 CALL PGM 9999 36 CALL PGM 9999
37 STOP M30
38 LBL 1
39 L X+30. Y+50. Z+50. R0 FMAX
40 L Z+2. FMAX M99
41 L Z+50. R0 FMAX
42 L X+30. Y+20. Z+50. R0 FMAX
43 L Z+2. FMAX M99
44 L Z+50. R0 FMAX
45 L X+65. Y+20. Z+50. R0 FMAX
46 L Z+2. FMAX M99
47 L Z+50. R0 FMAX
48 L X+100. Y+20. Z+50. R0 FMAX
49 L Z+2. FMAX M99
50 L Z+50. R0 FMAX
51 L X+135. Y+15. Z+50. R0 FMAX
52 L Z-28. FMAX M99
53 L Z+50. R0 FMAX
54 L X+160. Y+15. Z+50. R0 FMAX
55 L Z-28. FMAX M99
56 L Z+50. R0 FMAX
57 L X+185. Y+15. Z+50. R0 FMAX
58 L Z-28. FMAX M99
59 L Z+50. R0 FMAX
60 L X+185. Y+50. Z+50. R0 FMAX
61 L Z-28. FMAX M99
62 L Z+50. R0 FMAX
63 L X+185. Y+85. Z+50. R0 FMAX
64 L Z-28. FMAX M99
65 L Z+50. R0 FMAX
66 L X+160. Y+85. Z+50. R0 FMAX
67 L Z-28. FMAX M99
68 L Z+50. R0 FMAX
69 L X+135. Y+85. Z+50. R0 FMAX
70 L Z-28. FMAX M99
71 L Z+50. R0 FMAX
72 L X+135. Y+50. Z+50. R0 FMAX
73 L Z-28. FMAX M99
74 L Z+50. R0 FMAX
75 L X+100. Y+80. Z+50. R0 FMAX
76 L Z+2. FMAX M99
77 L Z+50. R0 FMAX
78 L X+65. Y+80. Z+50. R0 FMAX
79 L Z+2. FMAX M99
80 L Z+50. R0 FMAX
81 LBL 0
And this is what is want
4 TOOL CALL 5 Z S763 DL+0 DR+0
5 L R0 FMAX M03
6 CYCL DEF 1.0 PECKING
7 CYCL DEF 1.1 SET UP 2.
8 CYCL DEF 1.2 DEPTH -10.
9 CYCL DEF 1.3 PECKG 10.
10 CYCL DEF 1.4 DWELL .5
11 CYCL DEF 1.5 F153
15 CALL LBL 1
16 M09
17 M05
36 CALL PGM 9999
37 STOP M30
38 LBL 1
12 L X+30. Y+80. Z+50. R0 FMAX M08
13 L Z+2. FMAX M99
14 L Z+50. R0 FMAX
39 L X+30. Y+50. Z+50. R0 FMAX
40 L Z+2. FMAX M99
41 L Z+50. R0 FMAX
42 L X+30. Y+20. Z+50. R0 FMAX
43 L Z+2. FMAX M99
44 L Z+50. R0 FMAX
45 L X+65. Y+20. Z+50. R0 FMAX
46 L Z+2. FMAX M99
47 L Z+50. R0 FMAX
48 L X+100. Y+20. Z+50. R0 FMAX
49 L Z+2. FMAX M99
50 L Z+50. R0 FMAX
51 L X+135. Y+15. Z+50. R0 FMAX
52 L Z-28. FMAX M99
53 L Z+50. R0 FMAX
54 L X+160. Y+15. Z+50. R0 FMAX
55 L Z-28. FMAX M99
56 L Z+50. R0 FMAX
57 L X+185. Y+15. Z+50. R0 FMAX
58 L Z-28. FMAX M99
59 L Z+50. R0 FMAX
60 L X+185. Y+50. Z+50. R0 FMAX
61 L Z-28. FMAX M99
62 L Z+50. R0 FMAX
63 L X+185. Y+85. Z+50. R0 FMAX
64 L Z-28. FMAX M99
65 L Z+50. R0 FMAX
66 L X+160. Y+85. Z+50. R0 FMAX
67 L Z-28. FMAX M99
68 L Z+50. R0 FMAX
69 L X+135. Y+85. Z+50. R0 FMAX
70 L Z-28. FMAX M99
71 L Z+50. R0 FMAX
72 L X+135. Y+50. Z+50. R0 FMAX
73 L Z-28. FMAX M99
74 L Z+50. R0 FMAX
75 L X+100. Y+80. Z+50. R0 FMAX
76 L Z+2. FMAX M99
77 L Z+50. R0 FMAX
78 L X+65. Y+80. Z+50. R0 FMAX
79 L Z+2. FMAX M99
80 L Z+50. R0 FMAX
81 LBL 0
I searched a lot in this forum, but didnt find anything similar to this problem. Where can i get the informtion in the postrun, if there is a subroutine call? I know that it only will work when absolute coordiantes are choosen.
Maybe someone has an idea an can help me. Thanks a lot!
Mike
eMastercam - your online source for all things Mastercam.
Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.