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:

Right Angle Head Code Generation


Cory M. Pio
 Share

Recommended Posts

Hello Guys,

 

So I was beating my head against the wall on a way to use my stock post to generate code for milling a circular boss with a right angle head.

 

AND THAN I remembered my good friend Parallel to Surfaces toolpath. Now I set my plane to the correct angle for my RAH to approach and voila...

 

I will have to create dummy geometry to drive the correct center line offset and for my tool diameter.

 

Can anyone help me find a flaw in this process? Has anyone tired this method before?

 

I'm thinking that I might be overlooking something stupid here! 

 

Hopefully, this will work , because I'm thinking we could use it for surfacing also if you get creative with it. 

post-51286-0-45361200-1478387825_thumb.png

Link to comment
Share on other sites


Here's the code...

Looks Good to me.

Thinking about it MORE. I should be good to go with cutter comp in my hurco post with tool center point.

 

 

%

O0000 (ASM_CORY)

(T5 | 0.25 ENGRAVING BIT | H5 | D5 | D0.2500" | | NULL.......)

M31

M126

G0 G17 G20 G40 G80 G54 G90

G0 M140

G53 Z0.

G0 X0. Y0. A0. C0.

(TOOLPLANE NAME - BACK)

T5 M6 (0.25 ENGRAVING BIT)

G54

G8.1

X0. Y0. I0.000000 J1.000000 K0.000000

M128 (TCPM ON)

X-.1199 Y6. I0.000000 J1.000000 K0.000000

Z-2.3286 I0.000000 J1.000000 K0.000000

G8.2

G43.4

M13

M33

Y-3.3735 I0.000000 J1.000000 K0.000000

Y-3.7735 I0.000000 J1.000000 K0.000000

G1 Y-4.1735 F25. I0.000000 J1.000000 K0.000000

X-.1239 Y-4.189 Z-2.3411 F3.34 I0.000000 J1.000000 K0.000000

X-.1297 Y-4.2169 Z-2.3634 I0.000000 J1.000000 K0.000000

X-.1335 Y-4.2455 Z-2.3853 I0.000000 J1.000000 K0.000000

X-.1355 Y-4.2745 Z-2.4069 I0.000000 J1.000000 K0.000000

X-.1356 Y-4.3041 Z-2.4278 I0.000000 J1.000000 K0.000000

X-.134 Y-4.3341 Z-2.4479 I0.000000 J1.000000 K0.000000

X-.1307 Y-4.3647 Z-2.467 I0.000000 J1.000000 K0.000000

X-.1257 Y-4.3957 Z-2.485 I0.000000 J1.000000 K0.000000

X-.1193 Y-4.4271 Z-2.5018 I0.000000 J1.000000 K0.000000

X-.1115 Y-4.4589 Z-2.5172 I0.000000 J1.000000 K0.000000

X-.1025 Y-4.4911 Z-2.5311 I0.000000 J1.000000 K0.000000

X-.0923 Y-4.5236 Z-2.5434 I0.000000 J1.000000 K0.000000

X-.0811 Y-4.5563 Z-2.554 I0.000000 J1.000000 K0.000000

X-.0691 Y-4.5893 Z-2.5627 I0.000000 J1.000000 K0.000000

X-.0564 Y-4.6225 Z-2.5696 I0.000000 J1.000000 K0.000000

X-.0432 Y-4.6559 Z-2.5746 I0.000000 J1.000000 K0.000000

X-.0297 Y-4.6893 Z-2.5776 I0.000000 J1.000000 K0.000000

X-.016 Y-4.7228 Z-2.5788 I0.000000 J1.000000 K0.000000

X0. Y-4.7274 I0.000000 J1.000000 K0.000000

X.0141 Y-4.7321 I0.000000 J1.000000 K0.000000

X.0261 Y-4.7368 I0.000000 J1.000000 K0.000000

X.0382 Y-4.7421 I0.000000 J1.000000 K0.000000

X.0504 Y-4.748 I0.000000 J1.000000 K0.000000

X.0626 Y-4.7547 I0.000000 J1.000000 K0.000000

X.0749 Y-4.7621 I0.000000 J1.000000 K0.000000

X.0871 Y-4.7703 I0.000000 J1.000000 K0.000000

X.1052 Y-4.784 I0.000000 J1.000000 K0.000000

X.1215 Y-4.7982 I0.000000 J1.000000 K0.000000

X.1372 Y-4.8141 I0.000000 J1.000000 K0.000000

X.1522 Y-4.8315 I0.000000 J1.000000 K0.000000

X.1662 Y-4.8504 I0.000000 J1.000000 K0.000000

X.179 Y-4.8709 I0.000000 J1.000000 K0.000000

X.1904 Y-4.8927 I0.000000 J1.000000 K0.000000

X.2003 Y-4.9157 I0.000000 J1.000000 K0.000000

X.2046 Y-4.9276 I0.000000 J1.000000 K0.000000

X.2084 Y-4.9398 I0.000000 J1.000000 K0.000000

X.2117 Y-4.9519 I0.000000 J1.000000 K0.000000

X.2145 Y-4.9642 I0.000000 J1.000000 K0.000000

X.2168 Y-4.9766 I0.000000 J1.000000 K0.000000

X.2186 Y-4.9892 I0.000000 J1.000000 K0.000000

X.2199 Y-5.0018 I0.000000 J1.000000 K0.000000

X.2207 Y-5.0145 I0.000000 J1.000000 K0.000000

X.221 Y-5.0273 I0.000000 J1.000000 K0.000000

X.2208 Y-5.04 I0.000000 J1.000000 K0.000000

X.2188 Y-5.0649 I0.000000 J1.000000 K0.000000

X.2149 Y-5.0895 I0.000000 J1.000000 K0.000000

X.2092 Y-5.1134 I0.000000 J1.000000 K0.000000

X.2017 Y-5.1366 I0.000000 J1.000000 K0.000000

X.1946 Y-5.1543 I0.000000 J1.000000 K0.000000

X.1865 Y-5.1713 I0.000000 J1.000000 K0.000000

X.1776 Y-5.1875 I0.000000 J1.000000 K0.000000

X.1679 Y-5.203 I0.000000 J1.000000 K0.000000

X.1576 Y-5.2176 I0.000000 J1.000000 K0.000000

X.1409 Y-5.2378 I0.000000 J1.000000 K0.000000

X.1232 Y-5.2561 I0.000000 J1.000000 K0.000000

X.1048 Y-5.2723 I0.000000 J1.000000 K0.000000

X.0859 Y-5.2866 I0.000000 J1.000000 K0.000000

X.0667 Y-5.2989 I0.000000 J1.000000 K0.000000

X.0475 Y-5.3094 I0.000000 J1.000000 K0.000000

X.0281 Y-5.3184 I0.000000 J1.000000 K0.000000

X.0089 Y-5.3257 I0.000000 J1.000000 K0.000000

X-.0098 Y-5.3315 I0.000000 J1.000000 K0.000000

X-.0279 Y-5.336 I0.000000 J1.000000 K0.000000

X-.054 Y-5.3405 I0.000000 J1.000000 K0.000000

X-.0785 Y-5.3426 I0.000000 J1.000000 K0.000000

X-.095 Y-5.343 I0.000000 J1.000000 K0.000000

X-.1087 Y-5.3427 I0.000000 J1.000000 K0.000000

X-.122 Y-5.3419 I0.000000 J1.000000 K0.000000

X-.1357 Y-5.3405 I0.000000 J1.000000 K0.000000

X-.1499 Y-5.3384 I0.000000 J1.000000 K0.000000

X-.1646 Y-5.3355 I0.000000 J1.000000 K0.000000

X-.1796 Y-5.3317 I0.000000 J1.000000 K0.000000

X-.2029 Y-5.3243 I0.000000 J1.000000 K0.000000

X-.2172 Y-5.3188 I0.000000 J1.000000 K0.000000

X-.23 Y-5.3131 I0.000000 J1.000000 K0.000000

X-.2429 Y-5.3066 I0.000000 J1.000000 K0.000000

X-.2559 Y-5.2994 I0.000000 J1.000000 K0.000000

X-.2689 Y-5.2913 I0.000000 J1.000000 K0.000000

X-.2818 Y-5.2824 I0.000000 J1.000000 K0.000000

X-.3008 Y-5.2673 I0.000000 J1.000000 K0.000000

X-.3177 Y-5.2517 I0.000000 J1.000000 K0.000000

X-.3266 Y-5.2426 I0.000000 J1.000000 K0.000000

X-.3352 Y-5.233 I0.000000 J1.000000 K0.000000

X-.3435 Y-5.2228 I0.000000 J1.000000 K0.000000

X-.3515 Y-5.2122 I0.000000 J1.000000 K0.000000

X-.3592 Y-5.2011 I0.000000 J1.000000 K0.000000

X-.3664 Y-5.1895 I0.000000 J1.000000 K0.000000

X-.3733 Y-5.1775 I0.000000 J1.000000 K0.000000

X-.3793 Y-5.1657 I0.000000 J1.000000 K0.000000

X-.3846 Y-5.1543 I0.000000 J1.000000 K0.000000

X-.3894 Y-5.1425 I0.000000 J1.000000 K0.000000

X-.3939 Y-5.1305 I0.000000 J1.000000 K0.000000

X-.3978 Y-5.1182 I0.000000 J1.000000 K0.000000

X-.4013 Y-5.1057 I0.000000 J1.000000 K0.000000

X-.4042 Y-5.093 I0.000000 J1.000000 K0.000000

X-.4067 Y-5.0801 I0.000000 J1.000000 K0.000000

X-.4097 Y-5.0568 I0.000000 J1.000000 K0.000000

X-.411 Y-5.0314 I0.000000 J1.000000 K0.000000

X-.4102 Y-5.0059 I0.000000 J1.000000 K0.000000

X-.4074 Y-4.9807 I0.000000 J1.000000 K0.000000

X-.4026 Y-4.9559 I0.000000 J1.000000 K0.000000

X-.3984 Y-4.9398 I0.000000 J1.000000 K0.000000

X-.3905 Y-4.9162 I0.000000 J1.000000 K0.000000

X-.3809 Y-4.8937 I0.000000 J1.000000 K0.000000

X-.3699 Y-4.8723 I0.000000 J1.000000 K0.000000

X-.3574 Y-4.8523 I0.000000 J1.000000 K0.000000

X-.3429 Y-4.8324 I0.000000 J1.000000 K0.000000

X-.3272 Y-4.8141 I0.000000 J1.000000 K0.000000

X-.3108 Y-4.7976 I0.000000 J1.000000 K0.000000

X-.2937 Y-4.7828 I0.000000 J1.000000 K0.000000

X-.2819 Y-4.7737 I0.000000 J1.000000 K0.000000

X-.2699 Y-4.7653 I0.000000 J1.000000 K0.000000

X-.2578 Y-4.7577 I0.000000 J1.000000 K0.000000

X-.2458 Y-4.7509 I0.000000 J1.000000 K0.000000

X-.2337 Y-4.7447 I0.000000 J1.000000 K0.000000

X-.2217 Y-4.7392 I0.000000 J1.000000 K0.000000

X-.2099 Y-4.7343 I0.000000 J1.000000 K0.000000

X-.1864 Y-4.7263 I0.000000 J1.000000 K0.000000

X-.1636 Y-4.7203 I0.000000 J1.000000 K0.000000

X-.1417 Y-4.7163 I0.000000 J1.000000 K0.000000

X-.1208 Y-4.714 I0.000000 J1.000000 K0.000000

X-.0974 Y-4.713 I0.000000 J1.000000 K0.000000

X-.0822 Y-4.7132 I0.000000 J1.000000 K0.000000

X-.0683 Y-4.714 I0.000000 J1.000000 K0.000000

X-.054 Y-4.7155 I0.000000 J1.000000 K0.000000

X-.0391 Y-4.7178 I0.000000 J1.000000 K0.000000

X-.016 Y-4.7228 I0.000000 J1.000000 K0.000000

X.0119 Y-4.6997 Z-2.5776 I0.000000 J1.000000 K0.000000

X.0395 Y-4.6765 Z-2.5746 I0.000000 J1.000000 K0.000000

X.0669 Y-4.6533 Z-2.5696 I0.000000 J1.000000 K0.000000

X.0937 Y-4.63 Z-2.5627 I0.000000 J1.000000 K0.000000

X.1198 Y-4.6065 Z-2.554 I0.000000 J1.000000 K0.000000

X.145 Y-4.5828 Z-2.5434 I0.000000 J1.000000 K0.000000

X.1693 Y-4.5589 Z-2.5311 I0.000000 J1.000000 K0.000000

X.1924 Y-4.5348 Z-2.5172 I0.000000 J1.000000 K0.000000

X.2143 Y-4.5104 Z-2.5018 I0.000000 J1.000000 K0.000000

X.2347 Y-4.4857 Z-2.485 I0.000000 J1.000000 K0.000000

X.2536 Y-4.4606 Z-2.467 I0.000000 J1.000000 K0.000000

X.2709 Y-4.4352 Z-2.4479 I0.000000 J1.000000 K0.000000

X.2865 Y-4.4094 Z-2.4278 I0.000000 J1.000000 K0.000000

X.3002 Y-4.3833 Z-2.4069 I0.000000 J1.000000 K0.000000

X.3122 Y-4.3567 Z-2.3853 I0.000000 J1.000000 K0.000000

X.3222 Y-4.3298 Z-2.3634 I0.000000 J1.000000 K0.000000

X.3303 Y-4.3024 Z-2.3411 I0.000000 J1.000000 K0.000000

X.3339 Y-4.2869 Z-2.3286 I0.000000 J1.000000 K0.000000

Y-3.8869 F50. I0.000000 J1.000000 K0.000000

G0 Y-3.4869 I0.000000 J1.000000 K0.000000

Y6. I0.000000 J1.000000 K0.000000

G0 M140

M129 (TCPM OFF)

G53 Z0.

M5

G53 Y16. A0. C0.

M30

%

 

Link to comment
Share on other sites

There is nothing inherently wrong with your approach, but you're creating extra work for yourself. For 3X and 4X posts, you can support a RAH attachment by using the features inside the Machine and Control Definition files. You create a RAH attachment and the "Station" definition, by adding the components to the Kinematic Tree inside the MD. Support for the code output is enabled in the Control Definition by turning on the check box for 'support RAH by translating NCI coordinates'.

 

The Aggregate component and 'station' definition have parameters for the 'Z offset' length, and the radial offset from the spindle centerline to the tool tip. By translating the NCI coordinates, you can program with a Front, Right, Back, or Left Toolplane, and the path gets converted into "Top" output.

 

When you program a RAH toolpath you Right-click in the Tool parameters dialog, and select 'get angled head'. Program your path like normal and the MD/CD handle the rotation and translation internally, without you needing to make extra modifications to your post.

 

Do a search on the forum, this subject has been covered several times before and there is good info available.

  • Like 2
Link to comment
Share on other sites

There is nothing inherently wrong with your approach, but you're creating extra work for yourself. For 3X and 4X posts, you can support a RAH attachment by using the features inside the Machine and Control Definition files. You create a RAH attachment and the "Station" definition, by adding the components to the Kinematic Tree inside the MD. Support for the code output is enabled in the Control Definition by turning on the check box for 'support RAH by translating NCI coordinates'.

 

The Aggregate component and 'station' definition have parameters for the 'Z offset' length, and the radial offset from the spindle centerline to the tool tip. By translating the NCI coordinates, you can program with a Front, Right, Back, or Left Toolplane, and the path gets converted into "Top" output.

 

When you program a RAH toolpath you Right-click in the Tool parameters dialog, and select 'get angled head'. Program your path like normal and the MD/CD handle the rotation and translation internally, without you needing to make extra modifications to your post.

 

Do a search on the forum, this subject has been covered several times before and there is good info available.

This is for five axis machines and I don't feel like jumping though hoops with the post.

 

I believe it will allow me to use a right angle head with any stock post? 

 

I probably have 20 hours into reading about rah on this site and all of it lead to people voicing there fustration with it all. 

 

This solution wasn't presented in any of the other threads that is why I started a new one!

  • Like 1
Link to comment
Share on other sites

Your G68.2 needs an X, Y, Z, I, J, and K

This is an inhouse hurco post. 

 

your right that code is no good. HA 

 

apparently, when you set an advanced 5-axis path to output 3axis it gets all wonky.

 

This code is correct... It transforms like a g68.2 after the M128 based on the A / C move. 

O0000 (ASM_CORY)(MASTERCAM - X)(POST LIC  -  IN-HOUSE SOLUTIONS )(T5  | 0.25 ENGRAVING BIT        | H5  | D5  | D0.2500" |         | NULL.......)M31M126G0 G17 G20 G40 G80 G54 G90G0 M140G53 Z0.G0 X0. Y0. A0. C0.(TOOLPLANE NAME - BACK)T5 M6 (0.25 ENGRAVING BIT)G54G8.1X0. Y0.M128 (TCPM ON)A90. C0.X-.1199 Y6.G43 Z-2.3286 H5G8.2M13M33Y-3.3735Y-3.7735G1 Y-4.1735 F25.X-.1239 Y-4.189 Z-2.3411 F3.34X-.1297 Y-4.2169 Z-2.3634X-.1335 Y-4.2455 Z-2.3853X-.1355 Y-4.2745 Z-2.4069X-.1356 Y-4.3041 Z-2.4278X-.134 Y-4.3341 Z-2.4479X-.1307 Y-4.3647 Z-2.467X-.1257 Y-4.3957 Z-2.485X-.1193 Y-4.4271 Z-2.5018X-.1115 Y-4.4589 Z-2.5172X-.1025 Y-4.4911 Z-2.5311X-.0923 Y-4.5236 Z-2.5434X-.0811 Y-4.5563 Z-2.554X-.0691 Y-4.5893 Z-2.5627X-.0564 Y-4.6225 Z-2.5696X-.0432 Y-4.6559 Z-2.5746X-.0297 Y-4.6893 Z-2.5776X-.016 Y-4.7228 Z-2.5788X0. Y-4.7274X.0141 Y-4.7321X.0261 Y-4.7368X.0382 Y-4.7421X.0504 Y-4.748X.0626 Y-4.7547X.0749 Y-4.7621X.0871 Y-4.7703X.1052 Y-4.784X.1215 Y-4.7982X.1372 Y-4.8141X.1522 Y-4.8315X.1662 Y-4.8504X.179 Y-4.8709X.1904 Y-4.8927X.2003 Y-4.9157X.2046 Y-4.9276X.2084 Y-4.9398X.2117 Y-4.9519X.2145 Y-4.9642X.2168 Y-4.9766X.2186 Y-4.9892X.2199 Y-5.0018X.2207 Y-5.0145X.221 Y-5.0273X.2208 Y-5.04X.2188 Y-5.0649X.2149 Y-5.0895X.2092 Y-5.1134X.2017 Y-5.1366X.1946 Y-5.1543X.1865 Y-5.1713X.1776 Y-5.1875X.1679 Y-5.203X.1576 Y-5.2176X.1409 Y-5.2378X.1232 Y-5.2561X.1048 Y-5.2723X.0859 Y-5.2866X.0667 Y-5.2989X.0475 Y-5.3094X.0281 Y-5.3184X.0089 Y-5.3257X-.0098 Y-5.3315X-.0279 Y-5.336X-.054 Y-5.3405X-.0785 Y-5.3426X-.095 Y-5.343X-.1087 Y-5.3427X-.122 Y-5.3419X-.1357 Y-5.3405X-.1499 Y-5.3384X-.1646 Y-5.3355X-.1796 Y-5.3317X-.2029 Y-5.3243X-.2172 Y-5.3188X-.23 Y-5.3131X-.2429 Y-5.3066X-.2559 Y-5.2994X-.2689 Y-5.2913X-.2818 Y-5.2824X-.3008 Y-5.2673X-.3177 Y-5.2517X-.3266 Y-5.2426X-.3352 Y-5.233X-.3435 Y-5.2228X-.3515 Y-5.2122X-.3592 Y-5.2011X-.3664 Y-5.1895X-.3733 Y-5.1775X-.3793 Y-5.1657X-.3846 Y-5.1543X-.3894 Y-5.1425X-.3939 Y-5.1305X-.3978 Y-5.1182X-.4013 Y-5.1057X-.4042 Y-5.093X-.4067 Y-5.0801X-.4097 Y-5.0568X-.411 Y-5.0314X-.4102 Y-5.0059X-.4074 Y-4.9807X-.4026 Y-4.9559X-.3984 Y-4.9398X-.3905 Y-4.9162X-.3809 Y-4.8937X-.3699 Y-4.8723X-.3574 Y-4.8523X-.3429 Y-4.8324X-.3272 Y-4.8141X-.3108 Y-4.7976X-.2937 Y-4.7828X-.2819 Y-4.7737X-.2699 Y-4.7653X-.2578 Y-4.7577X-.2458 Y-4.7509X-.2337 Y-4.7447X-.2217 Y-4.7392X-.2099 Y-4.7343X-.1864 Y-4.7263X-.1636 Y-4.7203X-.1417 Y-4.7163X-.1208 Y-4.714X-.0974 Y-4.713X-.0822 Y-4.7132X-.0683 Y-4.714X-.054 Y-4.7155X-.0391 Y-4.7178X-.016 Y-4.7228X.0119 Y-4.6997 Z-2.5776X.0395 Y-4.6765 Z-2.5746X.0669 Y-4.6533 Z-2.5696X.0937 Y-4.63 Z-2.5627X.1198 Y-4.6065 Z-2.554X.145 Y-4.5828 Z-2.5434X.1693 Y-4.5589 Z-2.5311X.1924 Y-4.5348 Z-2.5172X.2143 Y-4.5104 Z-2.5018X.2347 Y-4.4857 Z-2.485X.2536 Y-4.4606 Z-2.467X.2709 Y-4.4352 Z-2.4479X.2865 Y-4.4094 Z-2.4278X.3002 Y-4.3833 Z-2.4069X.3122 Y-4.3567 Z-2.3853X.3222 Y-4.3298 Z-2.3634X.3303 Y-4.3024 Z-2.3411X.3339 Y-4.2869 Z-2.3286Y-3.8869 F50.G0 Y-3.4869Y6.G0 M140M129 (TCPM OFF)G53 Z0.M5G53 Y16. A0. C0.M30%

;

;

;

;

;

 

This is the generic post... see the z/y moves for the right angle head tool interpolating a bore?

:0001(ASM_CORY)(DATE=DD-MM-YY - 05-11-16 TIME=HH:MM - 23:39)(MCX FILE - F:\10-27-16 DIP BRASED JOHN\66314-1_ASM_CORY.MCX-9)(NC FILE - C:\USERS\FRONTSHOP\DOCUMENTS\MY MCAMX9\MILL\NC\66314-1_ASM_CORY.NC)(MATERIAL - ALUMINUM INCH - 2024)(T5|0.25 ENGRAVING BIT |H5)N100 G20N102 G0 G17 G40 G80 G90 G94 G98N104 G0 G28 G91 Z0.N106 G0 G28 X0. Y0.(0.25 ENGRAVING BIT |TOOL - 5|DIA. OFF. - 5|LEN. - 5|TOOL DIA. - .25)N108 T5 M6N110 G0 G54 G90 X-2.3286 Y-.1199 C0. B-90. S667 M3N112 G43 H5 Z6.N114 Z-3.3735N116 Z-3.7735N118 G1 Z-4.1735 F25.N120 X-2.3411 Y-.1239 Z-4.189 F3.34N122 X-2.3634 Y-.1297 Z-4.2169N124 X-2.3853 Y-.1335 Z-4.2455N126 X-2.4069 Y-.1355 Z-4.2745N128 X-2.4278 Y-.1356 Z-4.3041N130 X-2.4479 Y-.134 Z-4.3341N132 X-2.467 Y-.1307 Z-4.3647N134 X-2.485 Y-.1257 Z-4.3957N136 X-2.5018 Y-.1193 Z-4.4271N138 X-2.5172 Y-.1115 Z-4.4589N140 X-2.5311 Y-.1025 Z-4.4911N142 X-2.5434 Y-.0923 Z-4.5236N144 X-2.554 Y-.0811 Z-4.5563N146 X-2.5627 Y-.0691 Z-4.5893N148 X-2.5696 Y-.0564 Z-4.6225N150 X-2.5746 Y-.0432 Z-4.6559N152 X-2.5776 Y-.0297 Z-4.6893N154 X-2.5788 Y-.016 Z-4.7228N156 Y0. Z-4.7274N158 Y.0141 Z-4.7321N160 Y.0261 Z-4.7368N162 Y.0382 Z-4.7421N164 Y.0504 Z-4.748N166 Y.0626 Z-4.7547N168 Y.0749 Z-4.7621N170 Y.0871 Z-4.7703N172 Y.1052 Z-4.784N174 Y.1215 Z-4.7982N176 Y.1372 Z-4.8141N178 Y.1522 Z-4.8315N180 Y.1662 Z-4.8504N182 Y.179 Z-4.8709N184 Y.1904 Z-4.8927N186 Y.2003 Z-4.9157N188 Y.2046 Z-4.9276N190 Y.2084 Z-4.9398N192 Y.2117 Z-4.9519N194 Y.2145 Z-4.9642N196 Y.2168 Z-4.9766N198 Y.2186 Z-4.9892N200 Y.2199 Z-5.0018N202 Y.2207 Z-5.0145N204 Y.221 Z-5.0273N206 Y.2208 Z-5.04N208 Y.2188 Z-5.0649N210 Y.2149 Z-5.0895N212 Y.2092 Z-5.1134N214 Y.2017 Z-5.1366N216 Y.1946 Z-5.1543N218 Y.1865 Z-5.1713N220 Y.1776 Z-5.1875N222 Y.1679 Z-5.203N224 Y.1576 Z-5.2176N226 Y.1409 Z-5.2378N228 Y.1232 Z-5.2561N230 Y.1048 Z-5.2723N232 Y.0859 Z-5.2866N234 Y.0667 Z-5.2989N236 Y.0475 Z-5.3094N238 Y.0281 Z-5.3184N240 Y.0089 Z-5.3257N242 Y-.0098 Z-5.3315N244 Y-.0279 Z-5.336N246 Y-.054 Z-5.3405N248 Y-.0785 Z-5.3426N250 Y-.095 Z-5.343N252 Y-.1087 Z-5.3427N254 Y-.122 Z-5.3419N256 Y-.1357 Z-5.3405N258 Y-.1499 Z-5.3384N260 Y-.1646 Z-5.3355N262 Y-.1796 Z-5.3317N264 Y-.2029 Z-5.3243N266 Y-.2172 Z-5.3188N268 Y-.23 Z-5.3131N270 Y-.2429 Z-5.3066N272 Y-.2559 Z-5.2994N274 Y-.2689 Z-5.2913N276 Y-.2818 Z-5.2824N278 Y-.3008 Z-5.2673N280 Y-.3177 Z-5.2517N282 Y-.3266 Z-5.2426N284 Y-.3352 Z-5.233N286 Y-.3435 Z-5.2228N288 Y-.3515 Z-5.2122N290 Y-.3592 Z-5.2011N292 Y-.3664 Z-5.1895N294 Y-.3733 Z-5.1775N296 Y-.3793 Z-5.1657N298 Y-.3846 Z-5.1543N300 Y-.3894 Z-5.1425N302 Y-.3939 Z-5.1305N304 Y-.3978 Z-5.1182N306 Y-.4013 Z-5.1057N308 Y-.4042 Z-5.093N310 Y-.4067 Z-5.0801N312 Y-.4097 Z-5.0568N314 Y-.411 Z-5.0314N316 Y-.4102 Z-5.0059N318 Y-.4074 Z-4.9807N320 Y-.4026 Z-4.9559N322 Y-.3984 Z-4.9398N324 Y-.3905 Z-4.9162N326 Y-.3809 Z-4.8937N328 Y-.3699 Z-4.8723N330 Y-.3574 Z-4.8523N332 Y-.3429 Z-4.8324N334 Y-.3272 Z-4.8141N336 Y-.3108 Z-4.7976N338 Y-.2937 Z-4.7828N340 Y-.2819 Z-4.7737N342 Y-.2699 Z-4.7653N344 Y-.2578 Z-4.7577N346 Y-.2458 Z-4.7509N348 Y-.2337 Z-4.7447N350 Y-.2217 Z-4.7392N352 Y-.2099 Z-4.7343N354 Y-.1864 Z-4.7263N356 Y-.1636 Z-4.7203N358 Y-.1417 Z-4.7163N360 Y-.1208 Z-4.714N362 Y-.0974 Z-4.713N364 Y-.0822 Z-4.7132N366 Y-.0683 Z-4.714N368 Y-.054 Z-4.7155N370 Y-.0391 Z-4.7178N372 Y-.016 Z-4.7228N374 X-2.5776 Y.0119 Z-4.6997N376 X-2.5746 Y.0395 Z-4.6765N378 X-2.5696 Y.0669 Z-4.6533N380 X-2.5627 Y.0937 Z-4.63N382 X-2.554 Y.1198 Z-4.6065N384 X-2.5434 Y.145 Z-4.5828N386 X-2.5311 Y.1693 Z-4.5589N388 X-2.5172 Y.1924 Z-4.5348N390 X-2.5018 Y.2143 Z-4.5104N392 X-2.485 Y.2347 Z-4.4857N394 X-2.467 Y.2536 Z-4.4606N396 X-2.4479 Y.2709 Z-4.4352N398 X-2.4278 Y.2865 Z-4.4094N400 X-2.4069 Y.3002 Z-4.3833N402 X-2.3853 Y.3122 Z-4.3567N404 X-2.3634 Y.3222 Z-4.3298N406 X-2.3411 Y.3303 Z-4.3024N408 X-2.3286 Y.3339 Z-4.2869N410 Z-3.8869 F50.N412 G0 Z-3.4869N414 Z6.N416 M5N418 G0 G28 G91 Z0.N420 G0 G28 X0. Y0.N422 G28 B0.N424 M30%
Link to comment
Share on other sites

I recently set up 2 different 5 axis posts and a 3 axis post to run an angle head. I beat my face on my keyboard until Colin pointed me in the right direction. You an do it your way and literally fight it and make hand edits forever or take the 8 minutes to create an aggregate and move on.

 

 

Totally up to you.

  • Like 1
Link to comment
Share on other sites

I recently set up 2 different 5 axis posts and a 3 axis post to run an angle head. I beat my face on my keyboard until Colin pointed me in the right direction. You an do it your way and literally fight it and make hand edits forever or take the 8 minutes to create an aggregate and move on.

 

 

Totally up to you.

okay can you point me to a thread that could help me out? i would greatly appreciate it. 

 

How many hours did it take to setup?

 

I have a possible job with two boss on a vertical wall. 

Link to comment
Share on other sites
  • 7 months later...
On ‎6‎/‎11‎/‎2016 at 4:43 PM, jlw™ said:

I recently set up 2 different 5 axis posts and a 3 axis post to run an angle head. I beat my face on my keyboard until Colin pointed me in the right direction. You an do it your way and literally fight it and make hand edits forever or take the 8 minutes to create an aggregate and move on.

 

 

Totally up to you.

Hi Jeremy,

 

What is involved in configuring a 3 axis post to support an angled head? I've just had a customer enquire about this, and I'd like to be able to help them out.

Link to comment
Share on other sites
  • 9 months later...

Hi,

I dig up this topic as i'm in the process to setup a RAH on a VMC. I followed what JLW wrote here to tweak my MD and CD files. My toolpath and code look good.

However, backplot/post points are generated from tool tip and i'd like it to be output from center spindle. I thought station parameters could be used to do it but it seems that whatever i put in these fieds have no effect.

Any ideas?

image.png.ecd9ab5f1b38c3301ad3dc4ebae27be0.png

 

Link to comment
Share on other sites
On ‎11‎/‎5‎/‎2016 at 7:01 PM, Colin Gilchrist said:

By translating the NCI coordinates, you can program with a Front, Right, Back, or Left Toolplane, and the path gets converted into "Top" output.

 

On ‎11‎/‎5‎/‎2016 at 8:43 PM, jlw™ said:

I recently set up 2 different 5 axis posts and a 3 axis post to run an angle head. I beat my face on my keyboard until Colin pointed me in the right direction.

Mornin' Gentlemen,

So as I recall this is one of the few places where you can use different Tool and Construction planes. How does this tie in with this techniques, or are we talking about a different approach?

I remember playing one day and got good tool motion on the screen (But it ran great on the screen!!) threadmilling a tube in a vertical 4 axis  using Top Construction and Right Toolplane.

Does this also require the Aggregate head to make it post good code?

Link to comment
Share on other sites

Here i'm working with Top WCS, and left Cplane/Tplane.

Checking "Translating NCI coordinates" in control definition will correctly post mapping Z-axis Tplane -> X-axis Top WCS / Y-axis Tplane -> Z-axis Top WCS.

2D contour toolpath doesn't regen if i'm using Top WCS/Top Cplane/Left Tplane

  • Like 1
Link to comment
Share on other sites
4 hours ago, nickbe10 said:

 

Mornin' Gentlemen,

So as I recall this is one of the few places where you can use different Tool and Construction planes. How does this tie in with this techniques, or are we talking about a different approach?

I remember playing one day and got good tool motion on the screen (But it ran great on the screen!!) threadmilling a tube in a vertical 4 axis  using Top Construction and Right Toolplane.

Does this also require the Aggregate head to make it post good code?

Hi Nick,

We should do one of our training sessions on this soon. The short answer is that for most applications, your T/C Planes would still match. There are a few situations where you could have a difference between the T Plane and the C Plane. Having different planes was more common (necessary) when there were fewer Toolpath Options in Mastercam.

I worked on a project with V9, where a customer had an auxiliary motor mounted to the Z-Axis head stock. This motor had a spindle arbor that stuck out, and had a 6" diameter wheel cutter, .750 thick, with a full radius. (Slot Cutter, full .375 rad). He was using this tool to hog out wood, for making guitar necks. We used Finish Parallel, with "Top" Construction Plane  (this is how the algorithm 'slices' the surfaces), and used the "Right" Tool Plane. The spindle axis is aligned with X, but the machine still has standard XYZ right-hand coordinate system. So we used the "aggregate head" functionality in Mastercam to handle the NCI Translation. You have to configure the correct "offset distances" in the Aggregate Head Component/Station. It works slick when you set it up correctly, and is one of the few places where using the Machine Definition functionality provides some real benefit.

  • Like 1
Link to comment
Share on other sites
22 minutes ago, Colin Gilchrist said:

The spindle axis is aligned with X, but the machine still has standard XYZ right-hand coordinate system. So we used the "aggregate head" functionality in Mastercam to handle the NCI Translation.

So just to clarify a little, C and T planes to configure the machine (or reconfigure it in the above example) and aggregate head to tanslate the code, am I understanding this correctly?

Link to comment
Share on other sites
On 3/30/2018 at 2:36 PM, nickbe10 said:

So just to clarify a little, C and T planes to configure the machine (or reconfigure it in the above example) and aggregate head to tanslate the code, am I understanding this correctly?

I think so, but it is always easier for me to try and demonstrate it, instead of just discussing it.

Link to comment
Share on other sites

Yes, that works ok but I still wonder what can be done with 'station parameters (tool offset/X-Y-Z offsets)' as they have no effect on toolpath or post generation.

I thought these parameters could be helpful for my machine (an old VMC Mazak) as i can't define a RAH tool type in control and i can't set X/Y tool offsets so i need toolpath be generated at center spindle.

Well i guess i'll need to hand edit code...

Link to comment
Share on other sites

Where the control allows you to use cutter comp properly with an angle head.  I believe some of those had crank tool.  I can send you what I have and then you can take a look if you're inclined to do so.  A call to Yamazaki should let you know real quick if your machine has it or not.

Link to comment
Share on other sites
8 hours ago, David Colin said:

Yes, that works ok but I still wonder what can be done with 'station parameters (tool offset/X-Y-Z offsets)' as they have no effect on toolpath or post generation.

I thought these parameters could be helpful for my machine (an old VMC Mazak) as i can't define a RAH tool type in control and i can't set X/Y tool offsets so i need toolpath be generated at center spindle.

Well i guess i'll need to hand edit code...

Have you enabled "Translate NCI Coordinates" switch inside the Control Definition, and then done a "REPLACE" on the whole MD/CD/PST combination, inside your Mastercam File, and.... then you Regenerated all Toolpaths "Fully", and made sure you selected a "station/tool" combination inside each Operation's "Tool Selection" dialog (you right clicked and used "get station" or "get angled head" option???).

There is a certain sequence of defining each "Station". You do this inside the Machine Definition Manager, to be able to set the XYZ offset distances.

The "Translate NCI Coordinates" switch, when enabled, and having everything (Ops, MD/CD/PST, Tool Selection) done correctly, you should see those XYZ offset values applied to your NC XYZ code values.

------------------

There are also kind of "two distinct" modes of running a RAH. Are you wanting the XYZ values to represent the "Tool Tip" position, or the "Spindle Gauge Point", which has an offset from the tip of the tool?

For using "Tool Tip", we typically setup the "G43" Tool Length Offset, to hold the distance in "Z" from the Spindle Gauge Point, to the centerline of the tool (in the RAH). This functions just like G43 normally does.

But in addition to "G43" for length, we also use the Fanuc Style "G45/G46" offset function, (along with a X or Y position, to indicate the Axis that is being offset. This function is a "Stroke Offset" function, and is used along with a "D" value, to handle the offset in X or Y, from the spindle gauge point, to the tip of the tool.

So, using G43 H#, in combination with G45/G46 with a D# (either one, depending on axis and direction), lets you program "from the tool tip".

Now, in combination with the "Position offsets" for Tool Tip Programming, If we use the correct WCS / T Plane / C Plane combination, we can still get either G19 or G18 Arc Motion, with our G2/G3, and we can still use Cutter Compensation G40/G41/G42, on these ZX or YZ Planes!

---------------

If we aren't using "Tool Tip" programming, then we've got to account for the RAH unit, using the XYZ offset values, in the "Station / Tool" definition, and have the Post offset our tool tip value, by the distances entered. We also have to figure out what method we are using for Tool Length Comp, and possibly still use H/D values to account for changing tool lengths. Some of that will depend on the Tool Mounting Method you are using, and how often you need to change tools. Also, what method you are using to initially set the tools up, and what happens when you have to change a tool? There are some options you can use to "offset" the tool at the machine, otherwise you are stuck with "measuring every time", and posting out a new NC Code Program if you have to make changes, and there is no "offset" functions available on your control.

 

 

 

Link to comment
Share on other sites

Hi Colin, thank you for the extra info.

I think I followed the correct process to set MD/CD as I tried and retried several times. Toolpath looks good, post translates NCI spitting G19 and arcs. Only issue is offsets are not taken into account in Mastercam (neither translated in NCI) except 'machine view  safe height' which is correctly added to toolpath. I will retry again.

About programming method I'd like to program at tooltip but I didn't know about G45/G46 compensation so I will check if M32 controller has this feature built-in and my issues will be gone. However if it's not there I will have to post from spindle gauge point. Reading again your reply I perhaps misunderstood: Does post need to be tweaked to calculate these points taking account offset values in station parameters? I mean, does Mastercam should do it on its own internally or not?

       

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...