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 location Help


Recommended Posts

I would like to have a manual entry show up after the tool change, I tried of hand editing my programs here's an example of what I want.

 

Thanks for any help.

 

N5(5/16-18 TAP DIA. OFF. - 9)

M00 <------- THIS LINE

(LUBE TAP) <----- AND THIS LINE

G0 G17 G40 G49 G80 G90

T9 M6

M00 <------- WOULD LIKE HERE

(LUBE TAP) <----- WOULD LIKE HERE

G0 G90 G54 X.8465 Y0. S270 M3

G43 H9 Z1. T13

M8

G98 G84 Z-.7 R.2 F15.

X2.8194

X4.7923

G80

M9

M5

G91 G28 Z0.

M30

Link to comment
Share on other sites

That is something I would use canned text to accomplish

 

I would use the pcan2 and set that up in there

 

I tagged this into my pcan2 section, then you can adjust the plocation of pcan2

 

pcant_out	 #Canned text - build the string for output
 #Assign string select type outputs
 if cant_pos < three, #cant_pos indicates canned text output
 [
 if cantext$ = three, bld = one
 if cantext$ = four, bld = zero
 #Build the cantext string
 if cantext$ = one, strcantext = strcantext + sm00
 if cantext$ = two, strcantext = strcantext + sm01
 if cantext$ > four,
	 [
	 #strtextno = no2str(cantext$)
	 #strcantext = strcantext + strm + strtextno
	 if cantext$ = 5,
		 [
		 pbld, n$, "()", e$
		 pbld, n$, "G91", "G28", "Y0.", e$
		 pbld, n$, "G00", "G90", pwcs, "X0.", e$
		 pbld, n$, "(SET X TO DESIRED LOCATION)", e$
		 pbld, "M00", e$
		 pbld, n$, "(RELEASE AND RETIGHTEN)", e$
		 pbld, n$, "()", e$
		 ]
	 if cantext$ = 6,
		 [
		 pbld, n$, "()", e$
		 pbld, n$, "G91", "G28", "Y0.", e$
		 pbld, n$, "G00", "G90", pwcs, "X0.", e$
		 pbld, n$, "(SET X TO DESIRED LOCATION)", e$
		 pbld, "M00", e$
		 pbld, n$, "(ADD/REMOVE SCREWS/CLAMPS)", e$
		 pbld, n$, "()", e$
		 ]
	 ]
 ]
 else, #cant_pos indicates coolant output

 

Then at the bottom of the post I edit this in;;;

 

[canned text]
1. "Stop"
2. "Ostop"
3. "Bld on"
4. "bLd off"
5. "VISE RELEASE"
6. "SCREWS/CLAMPS"
7. "M7"
8. "M8"
9. "M9"
10. "M10"

Link to comment
Share on other sites
  • 2 weeks later...

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