Jump to content

Welcome to eMastercam

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:

3+2 Milling / Top=G54 Front=G55 Right=G56 etc. etc.


Jespertech
 Share

Recommended Posts

Well hey there gang,

I'm currently working on a part for our Haas 5-axis (a square with a dovetailed bottom) and I'd like to be able to have my work offset change for each plane (top=g54 front=g55 right=g56 left =g57). I tried setting my plane offsets to manual with top at 0  front=1 right=2 etc.. But something strange happens when I go to post the code. If I do the individual toolpaths they will have the altered work offsets but when I go to post them all at the same time it sets them all the same. This part is more for training than anything else. I'll add that it is the same tool facing each side, if that makes a difference. 

If anyone has had this issue in the past and has figured out the proper way to get the results I'm looking for your input would be greatly appreciated.

Thank you. 

Link to comment
Share on other sites

The Post writers fix for the Automatic crashing of 5 Axis machines. Look in your post for a switch that controls workoffset outputs. The default is one forced Work Offset to avoid this issues created by the unpredictable automatic work offset function added about 15 years ago. The training I give to all programmers is don't ever program any multi-axis project without setting your work offset through the planes manager.

Harrison's example is what I never do in Mastercam with regards to workoffset even for 3 Axis.

Here is how I am doing it in one project now. 

WORKOFFSETS.png

  • Thanks 3
  • Like 1
Link to comment
Share on other sites
23 minutes ago, crazy^millman said:

The Post writers fix for the Automatic crashing of 5 Axis machines. Look in your post for a switch that controls workoffset outputs. The default is one forced Work Offset to avoid this issues created by the unpredictable automatic work offset function added about 15 years ago. The training I give to all programmers is don't ever program any multi-axis project without setting your work offset through the plans manager.

Harrison's example is what I never do in Mastercam with regards to workoffset even for 3 Axis.

Here is how I am doing it in one project now. 

WORKOFFSETS.png

this is exactly the direction I'm looking to go in, Thank you! 

Link to comment
Share on other sites
37 minutes ago, Jespertech said:

this is exactly the direction I'm looking to go in, Thank you! 

Discipline in the process is the other thing I also teach to programmers. Label the levels, operations and other things. Doing one trick pony stuff okay maybe not needed, but my work is always gone over with a fine tooth comb and examined and picked apart. I haven't program a part for my eyes only in a long time. The habits I have developed are such that I know anything I do will be torn apart and checked and rechecked. Not a problem comes with what I do, but basics should never be ignored and things like workoffsets even for the one trick pony work should never be shortcut.

  • Like 4
Link to comment
Share on other sites
1 hour ago, crazy^millman said:

Discipline in the process is the other thing I also teach to programmers. Label the levels, operations and other things. Doing one trick pony stuff okay maybe not needed, but my work is always gone over with a fine tooth comb and examined and picked apart. I haven't program a part for my eyes only in a long time. The habits I have developed are such that I know anything I do will be torn apart and checked and rechecked. Not a problem comes with what I do, but basics should never be ignored and things like workoffsets even for the one trick pony work should never be shortcut.

Well said, one of the best changes I made in my programming was utilizing the levels and groups/sub groups for organization. Being able to see my thought process and approach makes it so much easier for me to pick up where I left off in the event that I get pulled off of what I'm working on. Which unfortunately happens more than I care to admit. 

Link to comment
Share on other sites
4 minutes ago, Jespertech said:

Well said, one of the best changes I made in my programming was utilizing the levels and groups/sub groups for organization. Being able to see my thought process and approach makes it so much easier for me to pick up where I left off in the event that I get pulled off of what I'm working on. Which unfortunately happens more than I care to admit. 

View Sheets is a huge one also. Just taught a programmer last week them and he was doing 6 different part numbers in the same file. After a few minutes I stopped him and showed him how to use them. He said that alone will save him hours a week in programming time.

  • Like 1
Link to comment
Share on other sites
9 hours ago, Matthew Hajicek - Singularity said:

Are those multiple G54 planes at different orientations, or are they just duplicates?

They are all G54 at different indexes at the different faces for each feature. When the code is output the CYCLE800 has the Zero Position and rotation from thew Main WCS output. The machinist will then see Values relative to each Feature on the machine verses back to the main WCS.

Here is the drilling code for 3 Parts on the same machine at one time. You will see all the drilling depths are relative to each titled plane, but all from the WCS for each part and not back to one WCS.

;_N_G54-G55-G56 CYCLE800_MPF
;MASTERCAM - 2022
;MCAM FILE - C:\CUSTOMERS\
;POST      - MPPOSTABILITY_DMG_DMC_65_FD_SIEMENS.PST
;PROGRAM   - G54-G55-G56 CYCLE800.MPF
;DATE      - 2022.05.12
;TIME      - 5:44 AM
;T1   - 1-1/4 DRILL          - D1   - D1.2500"
N100 TRAFOOF
N110 CYCLE800()
N120 G00 G40 G70 G90
N130 G17
N140 L_FREI
N150 L_ZYM91
N160 M23 M11
N170 G00 SUPA A0. C=DC(0.)
N180 ;
N190 ;
N200 ;1-1/4 DRILL
N210 ;STEP # = 18
N220 DM_MILL
N230 T1
N240 M6
N250 D1
N260 ;MAX - Z.5
N270 ;MIN - Z-1.97
N280 G54 G90
N290 G94
N300 CYCLE800(0,"TC1",200000,27,2.7559,-2.7557,2.1543,45,0,90,0,0,0,1,,1)
N310 G00 X0. Y0. Z.5
N320 M22 M10
N330 X0. Y0.
N340 Z.5 S213 M03
N350 G94
N360 F4.28
N370 MCALL CYCLE81(0.5,0,0.5,-1.97)
N380 X0. Y0.
N390 MCALL
N400 M23 M11
N410 CYCLE800()
N420 L_FREI
N430 L_ZYM91
N440 D1
N450 ;STEP # = 19
N460 G54
N470 CYCLE800(0,"TC1",200000,27,3.5748,0.0002,3.5986,90,0,68,0,0,0,1,,1)
N480 X0. Y0. Z.5
N490 M22 M10
N500 X0. Y0.
N510 Z.5
N520 MCALL CYCLE81(0.5,0,0.5,-1.97)
N530 X0. Y0.
N540 MCALL
N550 M23 M11
N560 CYCLE800()
N570 L_FREI
N580 L_ZYM91
N590 D1
N600 ;STEP # = 20
N610 G54
N620 CYCLE800(0,"TC1",200000,27,2.3745,2.3747,5.5715,135,0,44.5,0,0,0,1,,0)
N630 X0. Y0. Z.5
N640 M22 M10
N650 X0. Y0.
N660 Z.5
N670 MCALL CYCLE81(0.5,0,0.5,-1.97)
N680 X0. Y0.
N690 MCALL
N700 M23 M11
N710 CYCLE800()
N720 L_FREI
N730 L_ZYM91
N740 D1
N750 ;STEP # = 21
N760 G54
N770 CYCLE800(0,"TC1",200000,27,-2.3745,2.3747,5.5715,225,0,44.5,0,0,0,1,,0)
N780 X0. Y0. Z.5
N790 M22 M10
N800 X0. Y0.
N810 Z.5
N820 MCALL CYCLE81(0.5,0,0.5,-1.97)
N830 X0. Y0.
N840 MCALL
N850 M23 M11
N860 CYCLE800()
N870 L_FREI
N880 L_ZYM91
N890 D1
N900 ;STEP # = 22
N910 G54
N920 CYCLE800(0,"TC1",200000,27,-3.5748,0.0002,3.5986,270,0,68,0,0,0,1,,0)
N930 X0. Y0. Z.5
N940 M22 M10
N950 X0. Y0.
N960 Z.5
N970 MCALL CYCLE81(0.5,0,0.5,-1.97)
N980 X0. Y0.
N990 MCALL
N1000 M23 M11
N1010 CYCLE800()
N1020 L_FREI
N1030 L_ZYM91
N1040 D1
N1050 ;STEP # = 23
N1060 G54
N1070 CYCLE800(0,"TC1",200000,27,-2.7559,-2.7557,2.1543,315,0,90,0,0,0,1,,0)
N1080 X0. Y0. Z.5
N1090 M22 M10
N1100 X0. Y0.
N1110 Z.5
N1120 MCALL CYCLE81(0.5,0,0.5,-1.97)
N1130 X0. Y0.
N1140 MCALL
N1150 M23 M11
N1160 CYCLE800()
N1170 L_FREI
N1180 L_ZYM91
N1190 D1
N1200 ;STEP # = 24
N1210 G55
N1220 CYCLE800(0,"TC1",200000,27,11.5587,3.4912,1.1543,75,0,90,0,0,0,1,,0)
N1230 X0. Y0. Z.5
N1240 M22 M10
N1250 X0. Y0.
N1260 Z.5
N1270 MCALL CYCLE81(0.5,0,0.5,-1.97)
N1280 X0. Y0.
N1290 MCALL
N1300 M23 M11
N1310 CYCLE800()
N1320 L_FREI
N1330 L_ZYM91
N1340 D1
N1350 ;STEP # = 25
N1360 G55
N1370 CYCLE800(0,"TC1",200000,27,9.5815,1.404,2.5986,30,0,68,0,0,0,1,,0)
N1380 X0. Y0. Z.5
N1390 M22 M10
N1400 X0. Y0.
N1410 Z.5
N1420 MCALL CYCLE81(0.5,0,0.5,-1.97)
N1430 X0. Y0.
N1440 MCALL
N1450 M23 M11
N1460 CYCLE800()
N1470 L_FREI
N1480 L_ZYM91
N1490 D1
N1500 ;STEP # = 26
N1510 G55
N1520 CYCLE800(0,"TC1",200000,27,6.925,1.2563,4.5715,345,0,44.5,0,0,0,1,,0)
N1530 X0. Y0. Z.5
N1540 M22 M10
N1550 X0. Y0.
N1560 Z.5
N1570 MCALL CYCLE81(0.5,0,0.5,-1.97)
N1580 X0. Y0.
N1590 MCALL
N1600 M23 M11
N1610 CYCLE800()
N1620 L_FREI
N1630 L_ZYM91
N1640 D1
N1650 ;STEP # = 27
N1660 G55
N1670 CYCLE800(0,"TC1",200000,27,4.5504,5.3691,4.5715,255,0,44.5,0,0,0,1,,0)
N1680 X0. Y0. Z.5
N1690 M22 M10
N1700 X0. Y0.
N1710 Z.5
N1720 MCALL CYCLE81(0.5,0,0.5,-1.97)
N1730 X0. Y0.
N1740 MCALL
N1750 M23 M11
N1760 CYCLE800()
N1770 L_FREI
N1780 L_ZYM91
N1790 D1
N1800 ;STEP # = 28
N1810 G55
N1820 CYCLE800(0,"TC1",200000,27,6.0067,7.5958,2.5986,210,0,68,0,0,0,1,,0)
N1830 X0. Y0. Z.5
N1840 M22 M10
N1850 X0. Y0.
N1860 Z.5
N1870 MCALL CYCLE81(0.5,0,0.5,-1.97)
N1880 X0. Y0.
N1890 MCALL
N1900 M23 M11
N1910 CYCLE800()
N1920 L_FREI
N1930 L_ZYM91
N1940 D1
N1950 ;STEP # = 29
N1960 G55
N1970 CYCLE800(0,"TC1",200000,27,8.8028,8.2645,1.1543,165,0,90,0,0,0,1,,0)
N1980 X0. Y0. Z.5
N1990 M22 M10
N2000 X0. Y0.
N2010 Z.5
N2020 MCALL CYCLE81(0.5,0,0.5,-1.97)
N2030 X0. Y0.
N2040 MCALL
N2050 M23 M11
N2060 CYCLE800()
N2070 L_FREI
N2080 L_ZYM91
N2090 D1
N2100 ;STEP # = 30
N2110 G56
N2120 CYCLE800(0,"TC1",200000,27,-8.8028,8.2645,1.1543,195,0,90,0,0,0,1,,0)
N2130 X0. Y0. Z.5
N2140 M22 M10
N2150 X0. Y0.
N2160 Z.5
N2170 MCALL CYCLE81(0.5,0,0.5,-1.97)
N2180 X0. Y0.
N2190 MCALL
N2200 M23 M11
N2210 CYCLE800()
N2220 L_FREI
N2230 L_ZYM91
N2240 D1
N2250 ;STEP # = 31
N2260 G56
N2270 CYCLE800(0,"TC1",200000,27,-6.0067,7.5958,2.5986,150,0,68,0,0,0,1,,0)
N2280 X0. Y0. Z.5
N2290 M22 M10
N2300 X0. Y0.
N2310 Z.5
N2320 MCALL CYCLE81(0.5,0,0.5,-1.97)
N2330 X0. Y0.
N2340 MCALL
N2350 M23 M11
N2360 CYCLE800()
N2370 L_FREI
N2380 L_ZYM91
N2390 D1
N2400 ;STEP # = 32
N2410 G56
N2420 CYCLE800(0,"TC1",200000,27,-4.5504,5.3691,4.5715,105,0,44.5,0,0,0,1,,0)
N2430 X0. Y0. Z.5
N2440 M22 M10
N2450 X0. Y0.
N2460 Z.5
N2470 MCALL CYCLE81(0.5,0,0.5,-1.97)
N2480 X0. Y0.
N2490 MCALL
N2500 M23 M11
N2510 CYCLE800()
N2520 L_FREI
N2530 L_ZYM91
N2540 D1
N2550 ;STEP # = 33
N2560 G56
N2570 CYCLE800(0,"TC1",200000,27,-6.925,1.2563,4.5715,15,0,44.5,0,0,0,1,,0)
N2580 X0. Y0. Z.5
N2590 M22 M10
N2600 X0. Y0.
N2610 Z.5
N2620 MCALL CYCLE81(0.5,0,0.5,-1.97)
N2630 X0. Y0.
N2640 MCALL
N2650 M23 M11
N2660 CYCLE800()
N2670 L_FREI
N2680 L_ZYM91
N2690 D1
N2700 ;STEP # = 34
N2710 G56
N2720 CYCLE800(0,"TC1",200000,27,-9.5815,1.404,2.5986,330,0,68,0,0,0,1,,0)
N2730 X0. Y0. Z.5
N2740 M22 M10
N2750 X0. Y0.
N2760 Z.5
N2770 MCALL CYCLE81(0.5,0,0.5,-1.97)
N2780 X0. Y0.
N2790 MCALL
N2800 M23 M11
N2810 CYCLE800()
N2820 L_FREI
N2830 L_ZYM91
N2840 D1
N2850 ;STEP # = 35
N2860 G56
N2870 CYCLE800(0,"TC1",200000,27,-11.5587,3.4912,1.1543,285,0,90,0,0,0,1,,0)
N2880 X0. Y0. Z.5
N2890 M22 M10
N2900 X0. Y0.
N2910 Z.5
N2920 MCALL CYCLE81(0.5,0,0.5,-1.97)
N2930 X0. Y0.
N2940 MCALL
N2950 M05
N2960 M23 M11
N2970 CYCLE800()
N2980 L_FREI
N2990 L_ZYM91
N3000 D1
N3010 M23 M11
N3020 G00 SUPA A0. C=DC(0.)
N3030 M22 M10
N3040 M30

 

 

  • Thanks 1
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

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.

Follow us

×
×
  • Create New...