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:

MPMASTER


Recommended Posts

1.Is it possible to add to the post, if the size of the NC file more than 300kb ,writes the serial number in the tool change ? I need it to search a tool when working with flash cards

2. How to disable the G94 in MPMASTER&

 

 

N1 T271 M06 (75 FACE MILL)

T219(MAX Z5.| MIN Z0.)

G00 G17 G90 G54 X-95.339 Y.093 S2000 M03

G43 H271 Z5.

M08

G94 G01 Z0. F1000.

X93.261

G00 Z5.

M09

M05

G91 G28 Z0.

M01

N2 T219 M06 (10. FLAT ENDMILL)

T213(MAX Z5.| MIN Z-6.2)

G00 G17 G90 G54 X-10.539 Y54.093 S6500 M03

G43 H219 Z5.

......

 

 

if smaller 300kb

 

 

T271 M06 (75 FACE MILL)

T219(MAX Z5.| MIN Z0.)

G00 G17 G90 G54 X-95.339 Y.093 S2000 M03

G43 H271 Z5.

M08

G94 G01 Z0. F1000.

X93.261

G00 Z5.

M09

M05

G91 G28 Z0.

M01

T219 M06 (10. FLAT ENDMILL)

T213(MAX Z5.| MIN Z-6.2)

G00 G17 G90 G54 X-10.539 Y54.093 S6500 M03

G43 H219 Z5.

M08

G94 G01 Z-3.1 F1200.

 

........

Link to comment
Share on other sites

There is no easy way to evaluate the size of the NC file inside the post. The way that I would adress this issue is with a fq statement. This will popup a question for the programmer when he runs the post, asking if N numbers should be output or not.

 

My question for you is: Why only on files larger than 300k? It hurts nothing for them to be there on all files, even if you don't use them in the smaller files.

  • Like 1
Link to comment
Share on other sites

There is no easy way to evaluate the size of the NC file inside the post. The way that I would adress this issue is with a fq statement. This will popup a question for the programmer when he runs the post, asking if N numbers should be output or not.

 

My question for you is: Why only on files larger than 300k? It hurts nothing for them to be there on all files, even if you don't use them in the smaller files.

More than 300 kb I wrote for example, in fanuc 0mc memory of 256 kb and so we have to work with flash cards, to search for the tool in the program have to write N there is a search Nsrh

With first question - I understand, but how to be with second question - shutdown G94

Link to comment
Share on other sites

The easiest way to remove the G94:

 

Change this:

 

# Feed mode G code selection
sg94 : "G94"	 #UPM
sg94d : "G94"	 #DPM, See pfcalc_deg if you use another gcode
sg93 : "G93"	 #Inverse
sg95 : "G95"	 #UPR	 #set with mi6$
sgfeed : ""		 #Target for string
fstrsel sg94 ipr_type sgfeed 4 -1

 

To this:

 

# Feed mode G code selection
sg94 : ""	 #UPM
sg94d : ""	 #DPM, See pfcalc_deg if you use another gcode
sg93 : "G93"	 #Inverse
sg95 : "G95"	 #UPR	 #set with mi6$
sgfeed : ""		 #Target for string
fstrsel sg94 ipr_type sgfeed 4 -1

  • Like 1
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...