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:

Recommended Posts

I have read and researched everything I can find and still need help.

What is this: ( sav_spc ) ?

I am having trouble getting the spacing on my post the way I want it.

I changed it in the Control Def. and it has no effect.

I can get spacing to change elsewhere in the program ,except between the actual G and M codes:

 

EXAMPLE

( TOOL - 1 OFFSET - 1 )

( TRL1 - OD ROUGH - CNMG543- INSERT CNMG-543 )

N0110G00T0100

G00X20.Z20.

G92S1300M42

G90T0101M32

G96S750M03

G00X2.9500Z1.5167M8

G01X.7562F.015

G00Z1.6167

G00X2.9500

G00Z1.4733

G01X.7562

G00Z1.5733

G00X2.9500

G00Z1.4300

G01X.7562

G00Z1.5300

G00X2.9500

G00Z1.3300

G01X.7562

G00Z1.4300

N0120

G00X2.7099

G00Z1.5200

G01Z1.4200

G01Z.9131

G01X2.8514Z.9838

M9

T0100M32

G00X20.Z20.

M01

END

 

Is this caused by (sav_spc) or something else?

How do I get it to space as:

(G00 X2.9500 Z1.5167 M8)

 

Thanks, banghead.gifconfused.gif

Link to comment
Share on other sites

Look thru the PST for any spaces$ = ... lines. I'd start by looking in the pheader$ postblock.

If spaces$ is getting set to 0 somewhere (after initialization) that will shut off the output of [spaces].

 

save_spc is a user-defined variable used in some posts to save the spaces$ setting and to restore is "later on". Of course if save_spc is somehow zero, and you have a line like -> spaces$ = sav_spc, you've also shut off [spaces] output.

Link to comment
Share on other sites

Thanks for the reply Roger,

I do have several spots in my post like:

spaces$ :2

 

and I have

!spaces$

 

And I have

sav_spc=spaces$

 

Also

spaces$= prv_spaces$

 

And

spaces$_spaces$>0, "",e$

 

But none of them is set to 0 or ZERO

I was able to get some of the spaces I need by changing a couple of spaces$=0 to spaces$=2

but that is as far as I can get.

Any other ideas?

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