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:

WTF Happened here


Mic6
 Share

Recommended Posts

I've been programming and posting ALL day today many times, no problems. I started a new file today and my code looks like this:

 

 

code:

O1111(Jacked Program )

( T19 | .500 DATE FLUTE | H19 | D19 | DIA: .5 )

G20

G0 G17 G40 G49 G80 G90

G91 G28 Z0 / G91 G28 Z0. <-----added duplicate code and a block delete

/ G28 X0. Y0. <-----block delete just showed up

/ G92 X0. Y0. Z0. <-----where the heck did this come from??

( MILL .750 HOLE )

T19 M6 ( .500 DATE FLUTE | T: 19 | D: 19 | H: 19 | DIA: .5 )

G0 G90 X-.51 Y5.808 S7500 M3 <-----Cool, what happened to my G54??!!

G43 H19 Z.25

Z.1

Was coming out like this just an hour ago

 

code:

O1111( Good Code )

( T15 | .500 4FL ENDMILL | H15 | D15 | DIA: .5 )

G20

G0 G17 G40 G49 G80 G90

G91 G28 Z0 ( ROUGH OD )

T15 M6 ( .500 4FL ENDMILL | T: 15 | D: 15 | H: 15 | DIA: .5 )

G0 G90 G54 X.507 Y.225 S4000 M3

G43 H15 Z.1

/M8

I checked to see reference points were all zero, and they weren't, so I made them zero. Lil help?

 

P.S.- Why does the code come out so small?

Link to comment
Share on other sites

That MD/CD/Post has mi1$ set to 0 or 1, and the post is missing an e$ at the end of the line outputting "G91 G28 Z0". Normally it should be set to 2.

 

code:

# mi1 - Work coordinate system

# 0 = Reference return is generated and G92 with the

# X, Y and Z home positions at file head.

# 1 = Reference return is generated and G92 with the

# X, Y and Z home positions at each tool.

# 2 = WCS of G54, G55.... based on Mastercam settings.

This is how we set our work offset back in the late 80's LOL.

/ G91 G28 Z0.

/ G28 X0. Y0.

/ G92 X-14.5678 Y-5.1234 Z-12.9876

 

Before that(G92's) we used G45's

G45 X0 D97

G45 YO D98

G45 Z0 D99

 

Machine coordinates for x,y and z went into the D97/98/99 offsets.

Sorry Mike, I didn't get your email until just now.

 

Glad to see that you got this worked out and the peck tapping is working for you.

smile.gif

Link to comment
Share on other sites

quote:

The small code text is a Firefox thing. Go into Tools-Options-Content. Look in the Fonts & Colors section and click Advanced. Bump up the minimum font size.

HAH!

Thanks for the tip Thad!

All this time I struggled to read the code that people post in here LOL!

cheers.gif

Link to comment
Share on other sites

Well, the misc was 0, changed to a 2 and voila. Man that was annoying smile.gif Changed the min font also. Thanks for tip Thad

 

 

code:

%

O1111( fissed )

( T19 | .500 DATA FLUTE | H19 | D19 | DIA: .5 )

G20

G0 G17 G40 G49 G80 G90

G91 G28 Z0 ( MILL .750 HOLE )

T19 M6 ( .500 DATE FLUTE | T: 19 | D: 19 | H: 19 | DIA: .5 )

G0 G90 G54 X-.51 Y5.808 S7500 M3

G43 H19 Z.25

Z.1

G1 Z.005 F30.

G41 D19 X-.5641 Y5.8392

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