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:

MAZATROL PARTS COUNTER


Recommended Posts

First thing I would do is call Mazak and ask for applications (you'll probably have to leave a message) and ask one of the techs if it is possible to bump the counter in G-code. I'm thinking if you have macros enabled you may be able to increment the variable. If it is possible then I would simply add a Manual entry in MC and put the text in there. If you wanted in all your programs you could add the code to the peof$ section of your post.

 

If your in the southeast you can call them at (678) 985-4800, remember to have your machine serial # handy

Link to comment
Share on other sites

#3901 should be your part count value.

 

test it by forcing a number in the counter on the control,

 

then go to MDI and type #500=#3901 and see if you get that value in your #500 on the macro variable page. This may not show up right away, you might have to type it 2 or 3 times before it shows up.

 

Also #3902 is the number of required parts value.

 

I used to be an applications guy for a Mazak dealer.

 

at the end of the program just add

 

#3901=#3901+1

 

you could use it something like this (off the top of my head)

 

...

....

#3901=#3901+1

IF [#3901GT#3902] GOTO100

M99

 

N100

M30

 

Hope this helps

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

#3901 should be your part count value.

 

test it by forcing a number in the counter on the control,

 

then go to MDI and type #500=#3901 and see if you get that value in your #500 on the macro variable page. This may not show up right away, you might have to type it 2 or 3 times before it shows up.

 

Also #3902 is the number of required parts value.

 

I used to be an applications guy for a Mazak dealer.

 

at the end of the program just add

 

#3901=#3901+1

 

you could use it something like this (off the top of my head)

 

...

....

#3901=#3901+1

IF [#3901GT#3902] GOTO100

M99

 

N100

M30

 

Hope this helps

 

That worked awesome thanks guys.. FYI!!!! this way works with 640m PC fusion controls... the M999 Q1 only works with matrix control... I didn't test the #3901=#3901+1 way on the matrix control... We also have a 640m Nexus control (410a)I need to try both ways on....

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