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:

Rekd- multi post


fboike
 Share

Recommended Posts

Rekd,

did you ever get your code to post like this.

I have this working in a ver 9 post. if this is what you where looking for. Its great for loading all the programs at once.

 

%

O0002 (ECC BUSHINGF)

G20G90G17G0G40G49G80

G0G54X-.6127Y-.3047S815M3

Z.1M8

G1Z-.266F12.

G3X.7362Y-.2297R.7266

G2X-.3475Y.7633R-.769

G3X-.8672Y0.R.8203

X.9609R.9141

X-1.0547R1.0078

X1.1484R1.1016

X-1.2422R1.1953

X1.3359R1.2891

X-1.4297R1.3828

X.7676Y-1.2887R1.4766

X1.3858Y-.574R1.5

X.7676Y-1.2887R-1.5

G0Z1.M9

G0G49Z0.

G0X0.Y0.

M30

%

%

O0003 (ECC BUSHINGF)

G20G90G17G0G40G49G80

N1T2M6( 1/4 CENTERDRILL)

G0G54X-1.4565Y0.S1800M3

G43H2Z1.M8

G98G82Z-.35R.1P0300F1.

X1.4565

G80M9

M6

G0G49Z0.

G0X0.Y0.

M30

%

%

O0004 (ECC BUSHINGF)

G20G90G17G0G40G49G80

N1T3M6( #30 DRILL)

G0G54X1.4565Y0.S900M3

G43H3Z1.M8

G98G83Z-.4R.1Q.03F1.

X-1.4565

G80M9

M6

G0G49Z0.

G0X0.Y0.

M30

%

Link to comment
Share on other sites

No problem,

just drop this code at the end of ptoolend and

ptlchg1002. you may need to move some code from

psof to header. all it needs to work is for the program #s to be larger then the previous one.

same #s will be the same program.

No messing with ncis at all.

Test it. test it. test it.

I have not tested it on a five axis so I have no idea what will happen.

but it works great on 3 and 4 axis.

-----------------------------------

if progno > prv_progno,

[

peof, pheader,

]

-----------------------------------

works fine for me Ive been using it about

2months now with out any problems.

Link to comment
Share on other sites

I've been using vbs to do the multi posts. What you've got looks interesting in that it posts all the operations to the same file.

 

On a lot of my 4 axis 6 operation programs I will post each operation seperately to facilitate easier setups, then re-post to a single operation for the final after each operation has been set up. Right now I'm programming to different files based on view name and merging them to send all at once, (so I don't have to send 6 different files.)

 

I'd like to be able to read all operations and post each operation to a seperate program based on view name/number, and have it come out in the same file, with different program numbers for each one.

 

Unfortunately I have more to do than time to do it, so it will have to wait.

 

'Rekd

 

[ 11-17-2003, 09:56 PM: Message edited by: Rekd ]

Link to comment
Share on other sites

This interests me as well.I do however have a few questions.First some background.I have a 4th axis indexer that I do tombstone work with .It uses an M23 to call the rotations.I use different nci names to output the different programs if I put all of the sub programs in one program will my control program that I use to call the subs be able to see the programs or will I have to put my control program in the same program as the subs?I am running this on a fadel(can I say the F word in here?).Below is a sample of a control program that I would usualy run.

 

%

O4676

M23(STEP1 ROTATE TO 90)

M98P4671L1

M23(STEP 2 ROTATE TO 270)

M98P4671L1

M23(STEP3 ROTATE TO 255)

M98P4672L1

M23(STEP4 ROTATE TO 75)

M98P4672L1

M23(STEP5 ROTATE TO 105)

M98P4673L1

M23(STEP6 ROTATE TO 285)

M98P4673L1

M23(STEP 7 RATATE TO 90)

M98P4674L1

M23(STEP 8 ROTATE TO 270)

M98P4674L1

M98P4675L1

M23(STEP 9 ROTATE TO 0 CHANGE BOTTOM)

M00

M23(STEP 10 ROTATE TO 180 CHANGE TOP)

M30

%

 

 

cheers.gif Noel

Link to comment
Share on other sites

+1000 on this statement Rekd:

quote:

Unfortunately I have more to do than time to do it, so it will have to wait.


My wife has been in False Labor since Friday they say she can go till her Due date with this which is Dec, 6. I got other new machien showing up tommorrow already got 4 jobs waiting on it to show up. I have kept the other new one running sicne it got here last week and between me and Javier and Jim we have well over 350 hours in the last 2 weeks. Keep on trucking and keep those a wheels a moving is all I can say.

 

C r a z y M i l l m a n

Link to comment
Share on other sites

Well Noel with the Fadals there is 2 ways to do this where as with most machines there is only one way if you back and look about 2-3 weeks ago I covered the Sub program and sub routine and that should cover all you need. If not I will try to come back on tonight and explain it better if you are using an outside indexer control I understand the M23 if not I would like a better explaniton on why you don't have the move look like this:

 

M60(AXIS UNLOCK)

G00G90A90.

M61(AXIS LOCK)

 

 

C R A Z Y M I L L M A N

Link to comment
Share on other sites

quote:

I got other new machien showing up tommorrow already got 4 jobs waiting on it to show up

Glad to see someone else with the same problem biggrin.gif

 

let me see...Quote work, get work,...oops! order machine to do work, Damm forgot PC with MC, be here next week. call customer tell em there parts will be a little late

Link to comment
Share on other sites

Millman

 

It is a third party indexer(separate control).Up to now I have been sending the sub programs separatly just because that was how I got it to work.I guese my only question now is do I have to include my control program in the same program as the subs.I'll give it a try and see if it works.

 

 

cheers.gif Noel

Link to comment
Share on other sites

Yeah May^Day that is about the size of it in a nutshell.

 

Noel what was said early in this post would work perfect for the fadal except you would not put the % sign between each program I also can not think of to many machine that will take mulitple programs that way. I would do the subs and seperate operations in my Ops Manger I would then change the NCI desingation use a little of what he said up there only problem is that you need to use a definition for the % sign that will allow you to use it as needed verses everytime it posted kinda like this I think:

code:

dncsend : % #start and end for dnc

Then in the POST you would just change this

code:

      "%", e  

part of the post to soemthing like this:

code:

       pbld, n, dncsend, e 

Of course the trick is to see will it only do it once or all the time. If it does it all the time then you will need to create a condition statemnt for doing mulitposting that will only do it at the beginning of the end of a posted program. Now you can get real fancy and define 2 varaibles one for start and one for end so if it does it only once for each then your problem is fixed here.

 

If you use the * in front of it I know it will make it post all the time but I am thinking it may only do this one time even for begining and end becuase the MP language kinda works that way from what I can understand of it.

 

I hope that gives you and other people ideas I have not done this just soemthing I thought of as I was typing this response so if I am off base here someone with more knowlegde please correct me.

 

Thanks C R A Z Y M I L L M A N

 

[ 11-18-2003, 11:31 AM: Message edited by: Millman^Crazy ]

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