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:

String Selectors worked OK in 2017, nogo in 2018


Recommended Posts

I have 2 string selectors which used to work fine in 2017, but appear non-functional in 2018.

What they output is the NC code for indexing and wcs selection according to workofs$

workofs$ is set manually when I create the planes I am going to machine with.

I put some troubleshooting lines in the post to track the value of workofs$ and it doesn't move from 1 even if the plane used has changed to a value of 2 or 3.

Worked slick in 2017 and most likely the last two versions of X.

 

MAZAK HCN4000 w/ Matrix control , eia programmed:

 

Selectors Listed:

# wcs string selector from view manager workofs$    01-21-2013
sw1        : ""       # Dummy Entry
sw2        : "618"    # Work coordinate system for B0
sw3        : "617"    # Work coordinate system for B90
sw4        : "616"    # Work coordinate system for B270
sw5        : "615"    # Work coordinate system for other
swkno ??
fstrsel  sw1 workofs$ swkno 5 -1

 

# B index string selector from view manager workofs$    01-21-2013
sindx1        : "q"       # Dummy Entry
sindx2        : "B0."    # G151 Index code for B0
sindx3        : "B90."    # G151 Index code for B90
sindx4        : "B270."    # G151 Index code for B270
sindx5        : "B___"    # G151 Index code for other
sindexto ??
fstrsel  sindx1 workofs$ sindexto 5 -1

 

post code in psof$ and ptlchg$:

      "G151", *sindexto, e$
      "G65P", *wcs_sel , e$
      "G54.1P", 35, *swkno, e$    # 01/21/2013

NC output when workofs$ =2: should be

G151B90.

G65P whichever sub my wcs selector code is stored

G54.1P#617

but all I get is :

G151B0.

G65P whichever sub my wcs selector code is stored

G54.1P#618

Any ideas ??

Something happen to variable workofs$ in 2018 ???

Settings issue ??

Link to comment
Share on other sites

Never mind , after 1.5 days of troubleshooting, I ask for help here and the problem magically goes away !!!

Must have been something wrong w/ my planes.

I re-assigned them and all was well functionally.

I re-assigned them back and all is now hunky-dorey.

Sounds like a job for Scully and Mulder.

I guess sometimes all you have to do is ask !!!

  • Like 1
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...