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:

Post Gurus needed, workofs$ & prv_workofs$ conflicting


Tim Johnson
 Share

Recommended Posts

I have made modifications to the "Lock on First WCS" so that it will lock on the current WCS. This works well with the exception of when I change the WCS on the same plane using the same tool. What happens is workofs$ and prv_workofs$ both are the next WCS. This is happening before ptlchg1002$

 

code:

N13830 G80          pcanceldc$ 7700.

pcanceldc$ pcan2 7700.

pcanceldc$ 7700.

ptoolend$ 7708.

pmiscreal$ 7708.

pmiscint$ 7710.

pmiscparam$ 7712.

psynclath$ 7720.

pscomm0$ 7730.

pscomm0$ 7730.

pparameter$ 7730. (removed a bunch of this line)

pparameter$ 7752.

pparameter$ 7752.

pparameter$ 7752.

pparameter$ 7752.

pparameter$ 7752.

pparameter$ 7752.

pparameter$ 7752.

pparameter$ 7752.

pparameter$ 7752.

pparameter$ 7752.

prot$ 7752.

prd1000$ 7752.

ptlchg00$ 7752.

1. mr8 test ptlchg1002$ p__77:1934 7752.

2 work test ptlchg1002$ p__77:1934 7752.

wcstype 2. wcstype test ptlchg1002$ p__77:1934 7752.

2 prv_workofs$ test ptlchg1002$ p__77:1934 7752.

ptlchg1002$ pspindle p__64:1772 7752.

code:

                    <<<<<<<<<<<< line 7700

999

2 0 75

1051

ENSHU JE60S

1053

ENSHU JE60S

1011

0. 0. 0. 0. 0. 0. 0. 1. 0. 0.

1012

0 0 0 0 0 0 0 0 0 0

1013

0 0.125 0. 0 3 -3.68998203 9.70000015 3.16999984 3 NONE <<<<<<<<<<<<<< line 7712

1014

-1. 0. 0. 0. 0. 1. 0. 1. 0.

1016

75 0 2 3 -3.68998203 9.70000015 3.16999984 0 2 0 2 0 0. -1 1 74 75 <<<<<<<<<<<< line 7716

1017

-1. 0. 0. 0. 0. 1. 0. 1. 0.

950

0 0 0 14234 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 <<<<<<<<<< line 7720

1025

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

1027

1. 0. 0. 0. 1. 0. 0. 0. 1. 0. 0. 0.

1028

0 0 0. 0. 1. 0. 0. 1. 0 0 0 0

1029

0. 0. 0. 0. 0. 0. 0. 0. 0. 0 0

1020

0. 0. 0. 0. 0. 0. 0 0. 0. 0. 0. 0 13000

20010

OP2 CENTERING BACK

20011

The .nc file shows the .nci line going from 7712 to 7720. gcode 1013 (line 7712)and gcode 1016 (line 7716) are both showing my new WCS locations.

 

My question is does the post read line 7716 even if it's not being shown on the debug file? If it is could this be where my workofs$ and prv_workofs$ become the same? And if both questions are yes where would I fix it in the post?

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