What's new
What's new

Help needed

ToddWard1974

Plastic
Joined
Nov 22, 2016
Hello all,

I am new to programming using multiple work offsets. The job I am programming is using g54 - g59, 3 parts per vise, and I have attached a sample. The machinist told me each part has been indicated in and registered under the correct offset. When the program runs it locates the first part in each vise G54 and G57, but when it moves to the other offsets it is no where near where it should be.

The machine is a Haas VF3 and I am programming with mastercam.

Thanks in advance for any help!

G20
G0 G17 G40 G49 G80 G90
(1/8 SPOTTING DRILL AND CHAMFER)
T6 M6
G187 P3 E.001
G0 G90 G54 X-.5483 Y.056 S2139 M3
G43 H6 Z.25
G99 G81 Z-.045 R.25 F1.
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
(1/8 SPOTTING DRILL AND CHAMFER)
G55 X-.5483 Y.056 Z.25
G99 G81 Z-.045 R.25 F1.
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
(1/8 SPOTTING DRILL AND CHAMFER)
G56 X-.5483 Y.056 Z.25
G99 G81 Z-.045 R.25 F1.
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
M5
G91 G28 Z0.
M01
(1/16 DRILL)
T1 M6
G187 P3 E.001
G0 G90 G54 X-.5483 Y.056 S4278 M3
G43 H1 Z.1
M8
G99 G83 Z-.1969 R.1 Q.05 F4.
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
(1/16 DRILL)
G55 X-.5483 Y.056 Z.1
G99 G83 Z-.1969 R.1 Q.05 F4.
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
(1/16 DRILL)
G56 X-.5483 Y.056 Z.1
G99 G83 Z-.1969 R.1 Q.05 F4.
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
M5
G91 G28 Z0. M9
M01
(M2X.4 TAP)
T7 M6
G187 P3 E.001
G0 G90 G54 X-.5483 Y.056 S100 M3
G43 H7 Z.25
G99 G84 Z-.197 R.25 F1.5748
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
M5
G91 G28 Z0.
M01
(#60 DRILL)
T2 M6
G187 P3 E.001
G0 G90 G54 X-.3319 Y-.3871 S6750 M3
G43 H2 Z.1
M8
G99 G83 Z-.1969 R.1 Q.04 F6.5
X.5012 Y.0939
G80
(#60 DRILL)
X-.3319 Y-.3871
G99 G83 Z-.1969 R.1 Q.04 F6.5
X.5012 Y.0939
G80
(#60 DRILL)
G55 X-.3319 Y-.3871 Z.1
G99 G83 Z-.1969 R.1 Q.04 F6.5
X.5012 Y.0939
G80
(#60 DRILL)
G56 X-.3319 Y-.3871 Z.1
G99 G83 Z-.1969 R.1 Q.04 F6.5
X.5012 Y.0939
G80
M5
G91 G28 Z0. M9
M01
 
Hello all,

I am new to programming using multiple work offsets. The job I am programming is using g54 - g59, 3 parts per vise, and I have attached a sample. The machinist told me each part has been indicated in and registered under the correct offset. When the program runs it locates the first part in each vise G54 and G57, but when it moves to the other offsets it is no where near where it should be.

The machine is a Haas VF3 and I am programming with mastercam.

Thanks in advance for any help!

G20
G0 G17 G40 G49 G80 G90
(1/8 SPOTTING DRILL AND CHAMFER)
T6 M6
G187 P3 E.001
G0 G90 G54 X-.5483 Y.056 S2139 M3
G43 H6 Z.25
G99 G81 Z-.045 R.25 F1.
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
(1/8 SPOTTING DRILL AND CHAMFER)
G55 X-.5483 Y.056 Z.25
G99 G81 Z-.045 R.25 F1.
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
(1/8 SPOTTING DRILL AND CHAMFER)
G56 X-.5483 Y.056 Z.25
G99 G81 Z-.045 R.25 F1.
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
M5
G91 G28 Z0.
M01
(1/16 DRILL)
T1 M6
G187 P3 E.001
G0 G90 G54 X-.5483 Y.056 S4278 M3
G43 H1 Z.1
M8
G99 G83 Z-.1969 R.1 Q.05 F4.
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
(1/16 DRILL)
G55 X-.5483 Y.056 Z.1
G99 G83 Z-.1969 R.1 Q.05 F4.
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
(1/16 DRILL)
G56 X-.5483 Y.056 Z.1
G99 G83 Z-.1969 R.1 Q.05 F4.
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
M5
G91 G28 Z0. M9
M01
(M2X.4 TAP)
T7 M6
G187 P3 E.001
G0 G90 G54 X-.5483 Y.056 S100 M3
G43 H7 Z.25
G99 G84 Z-.197 R.25 F1.5748
X-.1884 Y-.518
X.5428 Y-.0959
X.2256 Y.5029
G80
M5
G91 G28 Z0.
M01
(#60 DRILL)
T2 M6
G187 P3 E.001
G0 G90 G54 X-.3319 Y-.3871 S6750 M3
G43 H2 Z.1
M8
G99 G83 Z-.1969 R.1 Q.04 F6.5
X.5012 Y.0939
G80
(#60 DRILL)
X-.3319 Y-.3871
G99 G83 Z-.1969 R.1 Q.04 F6.5
X.5012 Y.0939
G80
(#60 DRILL)
G55 X-.3319 Y-.3871 Z.1
G99 G83 Z-.1969 R.1 Q.04 F6.5
X.5012 Y.0939
G80
(#60 DRILL)
G56 X-.3319 Y-.3871 Z.1
G99 G83 Z-.1969 R.1 Q.04 F6.5
X.5012 Y.0939
G80
M5
G91 G28 Z0. M9
M01

Help me understand the question a little better. I only see 3 offsets in your program. G54 G55 G56

How are you programming this? Have you created multiple solids to represent each part, or built multiple planes on one part? Or transform?
 
This was just a small sample of the program. When all parts are loaded there will be 2 vises holding 3 pieces each. Vise one uses G54-G56 to machine one side, Vise two uses G57-G59 to machine the other side.
Yes, multiple solids were created for each part and planes for each part. However, when I made the toolpaths, I used "Toolpath transform" to copy the toolpaths. So the toolpath for G54 was transformed for G55 and G56. Same for G57.
Screenshot 2020-09-22 195032.jpgScreenshot 2020-09-22 194956.jpg

Hopefully this is more clear on what I am trying to accomplish.
 
This was just a small sample of the program. When all parts are loaded there will be 2 vises holding 3 pieces each. Vise one uses G54-G56 to machine one side, Vise two uses G57-G59 to machine the other side.
Yes, multiple solids were created for each part and planes for each part. However, when I made the toolpaths, I used "Toolpath transform" to copy the toolpaths. So the toolpath for G54 was transformed for G55 and G56. Same for G57.
View attachment 300032View attachment 300033

Hopefully this is more clear on what I am trying to accomplish.

Alright I see what you're saying. Almost certainly it's a bad transform. Transform gets me all the time, and I've been doing it for years. It can be very tricky to get it right.

So if you have created multiple planes, you shouldn't need to transform, you would just copy the toolpaths and change the WCS. If you want to transform, you work off one solid and transform but instance to different work coordinates.

I'm thinking without being able to see exactly what's going on is you've "doubled" what you're trying to accomplish, by manually selecting different WCS, and transforming it.

That being said I'm more than happy to look at your file and give you some pointers if you'd like. For instance, you've made the jaws to hold 3 parts, you know where each bore is exactly, why not use one offsets for all three parts? That will save a lot of headache.
 
This was just a small sample of the program. When all parts are loaded there will be 2 vises holding 3 pieces each. Vise one uses G54-G56 to machine one side, Vise two uses G57-G59 to machine the other side.
Yes, multiple solids were created for each part and planes for each part. However, when I made the toolpaths, I used "Toolpath transform" to copy the toolpaths. So the toolpath for G54 was transformed for G55 and G56. Same for G57.
View attachment 300032View attachment 300033

Hopefully this is more clear on what I am trying to accomplish.

Also keep not, by default mastercam populates the rectangular coordinate with a value, this needs to be zero. Or else it transforms your toolpaths to the next work coordinate PLUS 1.0"
 
So if you have created multiple planes, you shouldn't need to transform, you would just copy the toolpaths and change the WCS.

This is most likely his problem. I'm willing to bet that his program is off by the difference between the G54 WCS and each successive part location.
 
The first two tools look...right? CD and then drill the same bolt pattern at 54, 55, 56.

Then the rythmn seems to take a shit as you're only tapping that bolt pattern at G54 and then those first two canned cycles with your #60 drill seem off the wall a bit. Maybe that's not our concern?

The first two tools look good though. Is this a proven post? Is there something coded incorrectly that the work coordinates aren't being registered in the control?
 








 
Back
Top