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:

updating post for X2MR1


DJG
 Share

Recommended Posts

We just started using X2MR1 and the post isn't working properly, it was fine using X2 before the upgrade. Now it outputs 2 G91's on 1 line, there isn't a M3 or spindle speed.

 

Also the config files are read only, how are we to make changes if needed? Is this designed this way or do we have a problem with the software?

 

thanks,

Darren

mill3 X2MR1

Link to comment
Share on other sites
  • 4 weeks later...

John,

I updated to X2 MR1 SP1 and now my post spits out dollar signs. What you mentioned to Darren I idn't need to do. It was in it's proper place already. Any other reasons it could be or am I missing something?

 

quote:

You don't need to update your post, per se.

 

Just copy the machine/control defs and post to the appropriate MR1 directories.

 

When you open it up it should be all set


GETTING THIS

 

G17

G3X-.7488Y.2919i$ -.7488j$ .5419

 

SHOULD BE THIS

 

G17

G3X-.7488Y.2919I-.7488J.5419

Link to comment
Share on other sites
  • 1 month later...

Bump: HELP confused.gif

 

This is what got posted using the debugger.

 

G17

G3X-1.8158Y1.4812i$ -1.7825j$ 1.5341 pcir$ pcir$ 74.

G1X1.3176Y-.4911 plin$ plin$ 76.

G3X1.4037Y-.4715i$ 1.3508j$ -.4382 pcir$ pcir$ 78.

 

 

This from my post.

 

pcir$ # Circular interpolation

n$, sgplane,e$

if plane$ = 0, n$, sccomp, sgcode, *x$, *y$, z$, *i$, *j$, pfr,e$

if plane$ = 1, n$, sccomp, sgcode, x$, *y$, *z$, *i$, *k$, pfr,e$

if plane$ = 2, n$, sccomp, sgcode, *x$, y$, *z$, *i$, *k$, pfr,e$

 

 

I don't understand the reason for the dollar signs at the end of i and j and why the i and j are not capitilized in my posted program.

Link to comment
Share on other sites

What you see in the PCIR postblock in your PST looks OK.

 

As for the output...

If you see a variable name followed (only) by its numeric value, you are usually missing a format (FMT) assignment on those variable(s).

 

Like this -->

 

fmt I 2 i$ # Arc center description in X

fmt J 2 j$ # Arc center description in Y

fmt K 2 k$ # Arc center description in Z

 

*NOTE: 'fmt 2' may not be the correct format. It depends on how this format is defined via its Format Statement (FS) in your PST.

Link to comment
Share on other sites

Roger,

 

Here is how the post is set-up. Also I don't understand why it doesn't work correctly. I worked ok in X2.

 

 

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

# Format Statements - i=incr., n=nonmodal, l=leave ldg., t=leave trlg

# d=delta, I=incremental

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

fs 1 1.4 # abs, no lead 0, no trail 0, modal, 4 place decimal, use decimal

fs 2 2 0 # abs, no lead 0, no trail 0, modal, int, no decimal

fs 3 4 0 # abs, no lead 0, no trail 0, modal, int, no decimal

fs 4 1.2 # abs, no lead 0, no trail 0, modal, 2 place decimal, use decimal

fs 5 5 0 # abs, no lead 0, no trail 0, modal, int, no decimal

fs 6 1.4 # abs, no lead 0, no trail 0, modal, 4 place decimal, use decimal

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

# Format Assignments

# fmt X 1 x - x, y, z, i, j, k, xh, yh, zh, xr, yr, zr

# are init. fs 1, with 'normal' prefix letter

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

fmt N 5 n$ # Line number

fmt F 4 fr$ # Feedrate

fmt T 2 t$ # Tool number format

fmt M 2 cc$ # Cutter Comp.

fmt S 5 ss$ # Spindle Speed

fmt 2 plane$ # Modal plane code selector

fmt 2 gcode$ # Format linear G-code selector for modality only

fmt 2 ccomp$ # Modal format for ccomp

fmt 2 cs # Determine if canned shapes are used grs

fmt 2 ycs # Get canned shape number grs

Link to comment
Share on other sites

This is what I found Roger.

 

# Formulas - Use ':' instead of '=' to initialize variables

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

skp_lead_flgs$ : 1 #Do NOT use v9 style contour flags

arctype$ : 1 # Arc center 1=abs, 2=inc, 3=st-cen, 4=unsigned inc.

do_full_arc$ : 0 #Allow full circle output? 0=no, 1=yes

helix_arc$ : 0 #Support helix arc output, 0=no, 1=all planes, 2=XY plane only

breakarcs$ : 0 #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs

 

gcode$ : -1 # Assure output of first G00

nobrk$ : no$ # Omit break of linear rapid?

omitseq$ : 1 # Omit sequence numbers?

progname$ : 1 #

spaces$ : 0 # omit spaces

seqmax$ : 9999 # Max. sequence no.

x$ : 999 # Initialize modals to force first output

y$ : 999

z$ : 999

i$ : 999

j$ : 999

k$ : 999

Link to comment
Share on other sites

Do I need to do something else? headscratch.gif

 

 

pcir$ # Circular interpolation

n$, sgplane,e$

if plane$ = 0, n$, sccomp, sgcode, *x$, *y$, z$, *iout$, *jout$, kout$, pfr,e$

if plane$ = 1, n$, sccomp, sgcode, x$, *y$, *z$, iout$, *jout$, *kout$, pfr,e$

if plane$ = 2, n$, sccomp, sgcode, *x$, y$, *z$, *iout$, jout$, *kout$, pfr,e$

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