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 Letter Suffix Output for Mazaks.


crazy^millman
 Share

Recommended Posts

If you are using the In-House post they use mr2 to control the suffix output for the post. They use .01 and the machine understands that a A. However if you have an operator that does not fully understand this it can cause problems. I added this to our post.

 

code:

"MAZATROL SUFFIX - ", prdbsuffix_abc,


add this to the ptoolcomment section for the post you are using as well as the ptooltable section. It may be in the psb section of the post so need to talk to In-House or your dealer if a dealer supplied post and locked up.

 

add this to the bottom of the same section:

code:

prdbsuffix_abc

if mr2$ = 0, ".00"

if mr2$ = .01, *stra

if mr2$ = .02, *strb

if mr2$ = .03, *strc

if mr2$ = .04, *strd

if mr2$ = .05, *stre

if mr2$ = .06, *strf

if mr2$ = .07, *strg

if mr2$ = .08, *strh

if mr2$ = .09, *strj

if mr2$ = .11, *strk

if mr2$ = .12, *strl

if mr2$ = .13, *strm

if mr2$ = .14, *strn

if mr2$ = .15, *strp

if mr2$ = .16, *strq

if mr2$ = .17, *strr

if mr2$ = .18, *strs

if mr2$ = .19, *strt

if mr2$ = .21, *stru

if mr2$ = .22, *strv

if mr2$ = .23, *strw

if mr2$ = .24, *strx

if mr2$ = .25, *stry

if mr2$ = .26, *strz

if mr2$ = .61, *sheavy, *stra

if mr2$ = .62, *sheavy, *strb

if mr2$ = .63, *sheavy, *strc

if mr2$ = .64, *sheavy, *strd

if mr2$ = .65, *sheavy, *stre

if mr2$ = .66, *sheavy, *strf

if mr2$ = .67, *sheavy, *strg

if mr2$ = .68, *sheavy, *strh

if mr2$ = .69, *sheavy, *strj

if mr2$ = .71, *sheavy, *strk

if mr2$ = .72, *sheavy, *strl

if mr2$ = .73, *sheavy, *strm

if mr2$ = .74, *sheavy, *strn

if mr2$ = .75, *sheavy, *strp

if mr2$ = .76, *sheavy, *strq

if mr2$ = .77, *sheavy, *strr

if mr2$ = .78, *sheavy, *strs

if mr2$ = .79, *sheavy, *strt

if mr2$ = .81, *sheavy, *stru

if mr2$ = .82, *sheavy, *strv

if mr2$ = .83, *sheavy, *strw

if mr2$ = .84, *sheavy, *strx

if mr2$ = .85, *sheavy, *stry

if mr2$ = .86, *sheavy, *strz

In your string definitions need to define the following:

code:

strg        "G"     #String for address G

strn "N" #String for address N

strt "T" #String for address T

strv "V" #String for address V

sheavy "HEAVY " #String for Heavy Tools in Mazatrol

Here is how the posted code looks like:

 

code:

(T20 |  3" FACE MILL                  |  EIA SUFFIX - .06 | MAZATROL SUFFIX - F)

(T21 | 3/4 FLAT ENDMILL | EIA SUFFIX - .05 | MAZATROL SUFFIX - E)

(T22 | 5/8 DRILL | EIA SUFFIX - .04 | MAZATROL SUFFIX - D)

(T15 | ID ROUGH MIN. .5 DIA. - 80 DEG. | EIA SUFFIX - .17 | MAZATROL SUFFIX - R)

(T16 | ID FINISH MIN. .5 DIA. - 80 DEG. | EIA SUFFIX - .06 | MAZATROL SUFFIX - F)

(T17 | ID GROOVE - MIN. .25 DIA. | EIA SUFFIX - .07 | MAZATROL SUFFIX - G)

(T1 | OD ROUGH RIGHT - 80 DEG. | EIA SUFFIX - .17 | MAZATROL SUFFIX - R)

(T2 | OD FINISH RIGHT - 35 DEG. | EIA SUFFIX - .06 | MAZATROL SUFFIX - F)

(T27 | 1/2 FLAT ENDMILL | EIA SUFFIX - .05 | MAZATROL SUFFIX - E)

(T23 | 1/4 CENTERDRILL | EIA SUFFIX - .03 | MAZATROL SUFFIX - C)

(T24 | LTR. B DRILL | EIA SUFFIX - .04 | MAZATROL SUFFIX - D)

(T25 | 3/16 FLAT ENDMILL | EIA SUFFIX - .05 | MAZATROL SUFFIX - E)

(T26 | 1/2 COUNTERSINK | EIA SUFFIX - .03 | MAZATROL SUFFIX - C)

G20 G49 G69 G80 G40 G17 G90 G94

M205

 

N1

(T20 | 3" FACE MILL | EIA SUFFIX - .06 | MAZATROL SUFFIX - F)

G20 G10.9 X0

G91 G30 P3 X0.

G30 P3 Z0.

G30 P3 B0.

T20.06 T21 M06

G91 G30 P3 X0. Z0.

HTH

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