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:

Space after M01


Recommended Posts

Greetings Experts!,

I want to add a space after the M01 on subsequent tool changes. I got it to do it after my safety line but, cannot find where it puts the M01 in between all other tool changes.

I'm using the mpmaster post

 

G00 G17 G20 G40 G80 G90
G49 G53 Z0.
M01
 <--------------------------I got it to add a space here
N1 T1 M06 (2"  SHEAR-HOG)
(MAX - Z.35)
(MIN - Z.01)
M08
G00 G17 G90 G54 X-5.0374 Y-.3913 S8000 M03
G43 H1 Z.35
Z.3 M08
G94 G01 Z.01 F72.
X1.2906 F120.
G02 Y-1.4063 I0. J-.5075 F200.
G01 X-5.0374 F120.
G03 Y-2.4211 I0. J-.5074 F200.
G01 X1.2906 F120.
G00 Z.26 M09
M09
M05
G49 G53 Z0.
M01 <------------------------------ I'd like to ad a space here
N2 T2 M06 (1/2 3FL EM, 1.25 LOC)
(MAX - Z.27)
(MIN - Z-.675)
M08
G00 G17 G90 G54 X-4.017 Y-3.1676 S10000 M03
G43 H2 Z.25
Link to comment
Share on other sites
2 hours ago, Zorander said:

ptlchg$

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

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

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

 if prog_stop = 1, pbld, n$, *sm01, e$
 if prog_stop = 2, pbld, n$, *sm00, e$ <<============ after 

 "   ", e$      <<<<==================   this place

 

There is absolutely nothing wrong with this method of adding a blank line > " ", e$

However, it does add an extra ASCII blank space character to your NC Program.

An alternate method of forcing the empty line, is to omit the string literal, and just "force" the end-of-line command (*e$)

 if prog_stop = 1, pbld, n$, *sm01, e$
 if prog_stop = 2, pbld, n$, *sm00, e$ <<============ after 

*e$      #<======== That will force a blank line, with no space character.

 

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