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:

How to substitute G01 for G00 in Post?


Stephen
 Share

Recommended Posts

Hello All,

The Servo II CNC retrofit that I teach on, not only has a clunky DOS interface but also has no override for rapid speeds. mad.gif If I slow down the feeds with the hand held pendant control to test the first part it still rapids at Mach I. Since Servo tech. support said there is no way to change this setting can I make the post output G01's for all G0's? I would like to substitute G01 at 50IPM for all G0's

Thanks in advance,

Steve

Link to comment
Share on other sites

Steve,

 

Open your post in what ever editor you use - after you have made a backup!!!

 

Try to find this part or a similar section of your post -

 

# -----------------------------------------------

# Motion G code selection

sg00 G0 #Rapid

sg01 G1 #Linear feed

sg02 G2 #Circular interpolation CW

sg03 G3 #Circular interpolation CCW

 

You can try changing the "G0" to "G1F50.", or what ever feed rate you want? headscratch.gif

 

But that may not work unless you seperate any "X,Y,Z" moves from the same line??

 

Give it a try? May work, or let one of the post GURU's chime in - they may have a better solution!

 

Later,

Mark Anderson

Link to comment
Share on other sites

To be honest M Anderson that is problay the best way to do it. It may give you a fit with all the character but shouldn't.

 

You want this:

code:

sg00 G0 #Rapid  

to this

code:

sg00 G01F50. #Rapid  

to go futher with the expliantion.

 

M Anderson sometimes the best way is the easiest way. Some posts have a covert rapid to feed rate and use question 38 as the max rapid feed rate to sue in these instances. Here you have to modify a couple thing they way you say is quick and easy.

Link to comment
Share on other sites

# -----------------------------------------------

# INITIALIZE - initialize system variables and define user variables

# -----------------------------------------------

 

feed_s : 0

 

 

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

# Select motion G code

 

sg00 G01 # Linear movement at rapid feedrate

 

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

 

# -----------------------------------------------

# Program general output control, user defined

# -----------------------------------------------

 

 

pfr # Feedrate W/O Negative Feedrates

if fr > 0, feed_s = fr

if prv_gcode = 0, feed = 50

else, feed = feed_s

feed

 

# -----------------------------------------------

# Axis motion

# -----------------------------------------------

 

pzrapid # Linear movement in Z axis only - at rapid feedrate

n, sgcode, z, pfr

 

prapid # Linear line movement - at rapid feedrate

n, sgcode, sgplane, *x, *y, pfr

 

plin # Linear line movement - at feedrate

n, sgcode, x, y, z, pfr

 

pz # Linear movement in Z axis only - at feedrate

n, sgcode, z, pfr

 

pcir0 # break arcs that are not on top plane

if (plane <> 0) & (arc_2d = 1), linarc = 1

else, linarc = 0

 

pcir # Circular interpolation

n, sgplane

n, *sgcode, parctyp, pfr

 

# -----------------------------------------------

# Drilling

# -----------------------------------------------

 

pcanceldc # Cancel canned drill cycle

!gcode

n, "G0", e

prv_z = initht

 

 

This is how we did mine to 50IPM on rapids.

 

 

Murlin

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