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:

Quick question on offset posting. Not working right


honeybunches
 Share

Recommended Posts

For some unknown reason I cannot get my offsets to post out. My post is setup for subs but when I set the misc values variable to "0", it acts ac a normal post and has worked fine. When I change my offset in either the WCS page or in planes in an operation, the program spits out G54 and that is it no matter what I do. I am thinking I have some settings goofed up somehow. Any ideas where to check first to see if this is a post issue or just a MC setting issue?

Link to comment
Share on other sites

Here's what's going on.

 

The offset # in the planes dialog needs to be a number between 1 and 26.

 

code:

p_wcs_sof   # Check for out of range wcs

if workofs$ < 1, workofs$ = 1

if workofs$ > 26, workofs$ = 1

*sgwcs


Here's the string select table:

 

code:

# Work coordinate system code string select

sgw0 G54 # Work coordinate system G code #0

sgw1 G54 # Work coordinate system G code #1

sgw2 G55 # Work coordinate system G code #2

sgw3 G56 # Work coordinate system G code #3

sgw4 G57 # Work coordinate system G code #4

sgw5 G58 # Work coordinate system G code #5

sgw6 G59 # Work coordinate system G code #6

sgw7 G110

sgw8 G111

sgw9 G112

sgw10 G113

sgw11 G114

sgw12 G115

sgw13 G116

sgw14 G117

sgw15 G118

sgw16 G119

sgw17 G120

sgw18 G121

sgw19 G122

sgw20 G123

sgw21 G124

sgw22 G125

sgw23 G126

sgw24 G127

sgw25 G128

sgw26 G129

 

sgwcs # Work coordinate system G code

 

fstrsel sgw0 workofs$ sgwcs 27 -1

If you need to use G54 - G59 enter 1 - 6

G110 - G129 enter 7 - 26

 

I tried it out and it works fine for me.

 

Were you entering 110,111,112.ect. for your offsets?

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