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:

manual entry question


Joeyls319
 Share

Recommended Posts

Morning all

 

I have a question regarding manual entry and posting it out.

 

How can I get the post to post out blank lines in the program?

 

example:

Manual entry:

( ALIGNMENT )
T01 M06 ( 5/8 SPOT DRILL - 0.625" )
G00 G90 G55 X-1.9445 Y-1.9445
G43 H01 Z8.0
G01 Z6.6 F10.0
M00

 

(AFTER ALIGNMENT, PRESS CYCLE START)
G00 G49 G53 Z0.0

__________________________________

posted code:

( ALIGNMENT )
T01 M06 ( 5/8 SPOT DRILL - 0.625" )
G00 G90 G55 X-1.9445 Y-1.9445
G43 H01 Z8.0
G01 Z6.6 F10.0
M00

(AFTER ALIGNMENT, PRESS CYCLE START)
G00 G49 G53 Z0.0

 

NCI output method

I have it selected as code.

 

FYI, using X9

 

Thanks

 

Joey

Link to comment
Share on other sites

I can think of two ways. Add an invisible character (eg ALT+255) as a line in your manual entry. Your control or DNC file transfer may or may not filter it out. Or, modify your post so that certain strings represent an empty line in the code. For example, if you used the word "SPACE" as an empty string, the post would look like this in the pcomment2 section:

if gcode$ = 1006, #Manual entry - as code
[
if scomm$ = "SPACE", " ", e$
else, scomm$, e$
]

  • Like 1
Link to comment
Share on other sites

Try using a semi colon in your notes. When you load it into the machine they will see it as an EOB and you will have a blank line.

 

 

N3 M01
( T3 1/8 FLAT ENDMILL )
;
;
;
G0G53G90Y0
M0( PLACE NOTE HERE )
;
;
;
T3 M6
G0 G54 G90 X2.4869 Y.0173 S7000 M3
G43 H3 Z.1
M8

 

When you save back from the machine you will have blank lines.

 

 

 

N3 M01
( T3 1/8 FLAT ENDMILL )



G00 G53 G90 Y0
M00 ( PLACE NOTE HERE )



T3 M06
G00 G54 G90 X2.4869 Y0.0173 S7000 M03
G43 H03 Z0.1
M08

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