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:

HOW TO PUT COMMENT INTO POSTBLOCK AREA ?


Recommended Posts

THIS IS HOW IT POSTS RIGHT NOW

 

O1234 ( TEST )

( CREATED ON 05-03-11 AT 8:40 AM )

( MCX FILE - E:\MCX\PRATT & WHITNEY\ RIGHT\ OP 40 RIGHT - COPY.MCX-5 )

( NC FILE - C:\USERS\LUKAS.\DOCUMENTS\MY MCAMX5\MILL\NC\TEST.NC )

( MATERIAL - ALUMINUM INCH - 2024 )

( T1 | 5/8 FLAT ENDMILL | H1 | D1 | WEAR COMP |0.625 )

( T2 | 1.5" FACE MILL | H2 | D2 | WEAR COMP |1.5 | XY STOCK TO LEAVE - 0. | Z STOCK TO LEAVE - .02 )

G20

G0 G17 G40 G49 G80 G90 H0 E0 Z0

T1 M6

( 2.3 STICK OUT , 1.625 LOC , GRIND THE SHANK )

( 5/8 FLAT ENDMILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA - 0.625 )

G0 G90 S580 M3 E1 X-.7852 Y-4.0855

H1 Z6. M8 T2

.................

...........

T2 M6

( SYIC-22709-4 STELLRAM , STICK OUT 4.4 )

( 1.5" FACE MILL TOOL - 2 DIA. OFF. - 2 LEN. - 2 DIA - 1.5 )

G0 G90 S650 M3 E1 X-5.6503 Y-1.8449

H2 Z4. M8 T3

.....................

..................

M30

 

... BUT I WOULD LIKE TO POST LIKE THIS

 

 

 

O1234 ( TEST )

( CREATED ON 05-03-11 AT 8:40 AM )

( MCX FILE - E:\MCX\PRATT & WHITNEY\ RIGHT\ OP 40 RIGHT - COPY.MCX-5 )

( NC FILE - C:\USERS\LUKAS.\DOCUMENTS\MY MCAMX5\MILL\NC\TEST.NC )

( MATERIAL - ALUMINUM INCH - 2024 )

( T1 | 5/8 FLAT ENDMILL | H1 | D1 | WEAR COMP |0.625 | 2.3 STICK OUT , 1.625 LOC , GRIND THE SHANK )

( T2 | 1.5" FACE MILL | H2 | D2 | WEAR COMP |1.5 | XY STOCK TO LEAVE - 0. | Z STOCK TO LEAVE - .02 |

SYIC-22709-4 STELLRAM , STICK OUT 4.4 )

 

G20

G0 G17 G40 G49 G80 G90 H0 E0 Z0

T1 M6

( 5/8 FLAT ENDMILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA - 0.625 )

G0 G90 S580 M3 E1 X-.7852 Y-4.0855

H1 Z6. M8 T2

.................

...........

T2 M6

( 1.5" FACE MILL TOOL - 2 DIA. OFF. - 2 LEN. - 2 DIA - 1.5 )

G0 G90 S650 M3 E1 X-5.6503 Y-1.8449

H2 Z4. M8 T3

.....................

..................

M30

 

THANKS

Link to comment
Share on other sites

G20 is probably coming from psof$.

 

In psof$, find the following line of code.

 

pbld, n$, *smetric, e$

 

Add an *e$ before that line, so it will look like this.

 

*e$

pbld, n$, *smetric, e$

 

The extra comments look like operation comments and are most likely coming from pcomment$ or pcomment2. If they are meant to be used only for reference in Mastercam, they can be removed as follows.

 

In pcomment2, you can comment out (add a # to the beginning of the line) the following lines.

 

#if gcode$ = 1008 & header = zero, n$, pspc, scomm_str, scomm$, scomm_end, e$

#if gcode$ = 1008, scomm_sav = ucase(scomm$)

 

gcode$ = 1008 refers to the operation comment.

 

Hope this helps.

 

THIS IS HOW IT POSTS RIGHT NOW

 

O1234 ( TEST )

( CREATED ON 05-03-11 AT 8:40 AM )

( MCX FILE - E:\MCX\PRATT & WHITNEY\ RIGHT\ OP 40 RIGHT - COPY.MCX-5 )

( NC FILE - C:\USERS\LUKAS.\DOCUMENTS\MY MCAMX5\MILL\NC\TEST.NC )

( MATERIAL - ALUMINUM INCH - 2024 )

( T1 | 5/8 FLAT ENDMILL | H1 | D1 | WEAR COMP |0.625 )

( T2 | 1.5" FACE MILL | H2 | D2 | WEAR COMP |1.5 | XY STOCK TO LEAVE - 0. | Z STOCK TO LEAVE - .02 )

G20

G0 G17 G40 G49 G80 G90 H0 E0 Z0

T1 M6

( 2.3 STICK OUT , 1.625 LOC , GRIND THE SHANK )

( 5/8 FLAT ENDMILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA - 0.625 )

G0 G90 S580 M3 E1 X-.7852 Y-4.0855

H1 Z6. M8 T2

.................

...........

T2 M6

( SYIC-22709-4 STELLRAM , STICK OUT 4.4 )

( 1.5" FACE MILL TOOL - 2 DIA. OFF. - 2 LEN. - 2 DIA - 1.5 )

G0 G90 S650 M3 E1 X-5.6503 Y-1.8449

H2 Z4. M8 T3

.....................

..................

M30

 

... BUT I WOULD LIKE TO POST LIKE THIS

 

 

 

O1234 ( TEST )

( CREATED ON 05-03-11 AT 8:40 AM )

( MCX FILE - E:\MCX\PRATT & WHITNEY\ RIGHT\ OP 40 RIGHT - COPY.MCX-5 )

( NC FILE - C:\USERS\LUKAS.\DOCUMENTS\MY MCAMX5\MILL\NC\TEST.NC )

( MATERIAL - ALUMINUM INCH - 2024 )

( T1 | 5/8 FLAT ENDMILL | H1 | D1 | WEAR COMP |0.625 | 2.3 STICK OUT , 1.625 LOC , GRIND THE SHANK )

( T2 | 1.5" FACE MILL | H2 | D2 | WEAR COMP |1.5 | XY STOCK TO LEAVE - 0. | Z STOCK TO LEAVE - .02 |

SYIC-22709-4 STELLRAM , STICK OUT 4.4 )

 

G20

G0 G17 G40 G49 G80 G90 H0 E0 Z0

T1 M6

( 5/8 FLAT ENDMILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA - 0.625 )

G0 G90 S580 M3 E1 X-.7852 Y-4.0855

H1 Z6. M8 T2

.................

...........

T2 M6

( 1.5" FACE MILL TOOL - 2 DIA. OFF. - 2 LEN. - 2 DIA - 1.5 )

G0 G90 S650 M3 E1 X-5.6503 Y-1.8449

H2 Z4. M8 T3

.....................

..................

M30

 

THANKS

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