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:

Makino post


opcode
 Share

Recommended Posts

now I want to get this nc program.

how can i modify post.

please help me,thank you.

 

%

O0000

(PROGRAM NAME - T )

(DATE=DD-MM-YY - 11-02-08 TIME=HH:MM - 13:00 )

G21

G0 G17 G40 G49 G80 G90

( TOOL - 2 DIA. OFF. - 2 LEN. - 2 DIA. - 5. )

T2 M6

G65 P9611 H2 banghead.gif --------------------------

G0 G90 G54 X-31.462 Y18.025 S2220 M3

G43 H2 Z50.

Z10.

G1 Z0. F0.

X31.462 F.3

G2 X33.962 Y15.525 R2.5

G1 Y-15.525

G2 X31.462 Y-18.025 R2.5

G1 X-31.462

G2 X-33.962 Y-15.525 R2.5

G1 Y15.525

G2 X-31.462 Y18.025 R2.5

G1 Z10. F0.

G0 Z50.

M5

G65 P9613 H2 A.5 banghead.gif ----------------

G91 G28 Z0.

G28 X0. Y0.

M01

( TOOL - 5 DIA. OFF. - 5 LEN. - 5 DIA. - 5. )

T5 M6

G65 P9611 H5 banghead.gif -------------------

G0 G90 G54 X-31.462 Y18.025 S3330 M3

G43 H5 Z50.

Z10.

G1 Z0. F0.

X31.462

G2 X33.962 Y15.525 R2.5

G1 Y-15.525

G2 X31.462 Y-18.025 R2.5

G1 X-31.462

G2 X-33.962 Y-15.525 R2.5

G1 Y15.525

G2 X-31.462 Y18.025 R2.5

G1 Z10.

G0 Z50.

M5

G65 P9613 H5 A.2 banghead.gif --------------

G91 G28 Z0.

G28 X0. Y0.

M30

%

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Ok, is the code what you're getting or what you need?

 

H's match the T's right? What do the "A"'s mean?

 

You'll need to be a bit more descriptive if you want help.

 

BTW, Welcome to the Forum cheers.gif

Link to comment
Share on other sites

ok,

The first "G65 P9611 Hx". "G65 P9611"is fixed. The "Hx" is tool length compensation number. It is match tool number.

The last "G65 P9613 Hx". "G65 P9613" is fixed. The "Hx" is tool length compensation number. It is match tool number. "A0.2" is the wear value,

it is fixed.

 

when the machine tool starts nc program, the control will check tool length compensation.

 

when the nc program is end. the spindle is stop.

the tool will return Auto-check. when auto-check find the tool compensation length is short of the 0.2, the machine tool will stop,otherwise the machine tool will go on.

 

when I use mpfan.pst. I modify the post.

For example;

 

fmt "H" 4 tlngnote # Note format

 

ok,

The first "G65 P9611 Hx". "G65 P9611"is fixed. The "Hx" is tool length compensation number. It is match tool number.

The last "G65 P9613 Hx". "G65 P9613" is fixed. The "Hx" is tool length compensation number. It is match tool number. "A0.2" is the wear value,

it is fixed.

 

when the machine tool starts nc program, the control will check tool length compensation.

 

when the nc program is end. the spindle is stop.

the tool will return Auto-check. when auto-check find the tool compensation length is short the 0.2, the machine tool will stop.

 

when I use mpfan.pst. I modify the post.

For example;

 

fmt "H" 4 tlngnote # Note format

 

ok,

The first "G65 P9611 Hx". "G65 P9611"is fixed. The "Hx" is tool length compensation number. It is match tool number.

The last "G65 P9613 Hx". "G65 P9613" is fixed. The "Hx" is tool length compensation number. It is match tool number. "A0.2" is the wear value,

it is fixed.

 

when the machine tool starts nc program, the control will check tool length compensation.

 

when the nc program is end. the spindle is stop.

the tool will return Auto-check. when auto-check find the tool compensation length is short the 0.2, the machine tool will stop.

 

when I use mpfan.pst. I modify the post.

For example;

 

fmt "H" 4 tlngnote # Note format

 

pretract #End of tool toolchange

sav_absinc = absinc$

absinc$ = one

sav_coolant = coolant$

coolant$ = zero

#cc_pos is reset in the toolchange here

cc_pos$ = zero

gcode$ = zero

pbld, n$, sccomp, *sm05, psub_end_mny, e$

pbld, n$,"G65 P1611",*tlngnote, e$-------

pbld, n$, sgabsinc, sgcode, *sg28ref, "Z0.", scoolant, e$

pbld, n$, *sg28ref, "X0.", "Y0.", protretinc, e$

 

--------------------------------------.

But when I use mpmaster.pst .it can't not carry out, it just find next tool number,so I don't get that.

 

when i use mpmaster.pst ,I just want to get tool list at nc program head.

 

It is diffcult to modify mpmaster.pst .

 

Please help me ,thank you

Link to comment
Share on other sites
Guest CNC Apps Guy 1

I ALWAYS set custom MACRO variables in those instances so that there is NEVER a chance of having the wrong amount, ex. H#506( 500's so that the tool info stays resident in case yo uturn off the machine).

 

JM2C

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