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:

Pulse indexer programming


Recommended Posts

Hello all, 

Thank you in advance for taking time to read and answer to my question.  I am new to Mastercam and learning all day, everyday!

So, I have a PROTRAK SMX controller, Mill from southwestern industries and a pulse indexer from HAAS! And they are all attached together and working. 

Question is: How can I program from Mastercam to pulse the indexer. We have few programms that works like: 1) The program is run 2) pulses the indexer 3) indexer rotates & parallelly program waits for pulse back. 4) when pulse is back, program runs again. 

Now, I do not know how to make the program so that it can give pulse to indexer. Untill now, I figured to use M21. I can just edit the program manually and edit in mastercam code expert, just a simple line M21 ( I have not yet checked if that is the code that will work in southwestern) but I was thinking if there is a way to do it in mastercam automatically. 

 

Thank you, Again!!!

Link to comment
Share on other sites
  • 1 month later...

Okay, so I am trying to add M21 lines. Question is where? I have a cylinder with 4 holes at an angle of 90 degree. Top hole is in the top plane. As my 3axis mill does not have in built rotary, I am not able to rotate the part. I am trying to unroll, drill, add M21 to roll. but the drill toolpath is not working at all. This is kind of confusing, but if anyone have used pulse indexing programming on cylinder or something like that with 3Axis mill (I have protrak but any 3 axis is fine), if you can share a file, I can take a look and will make everything a lot easier and lot helpful. 

Link to comment
Share on other sites
On 9/1/2023 at 8:26 PM, crazy^millman said:

You are over thinking this. Create the operation in Top. Then use Transform Rotate to rotate it 3 times 90 degrees with Right being the Control Plane for rotation and done.

image.png.4e08b8ca701d21c7ea0edee6778a8da0.png

image.png.55516ab3b8086654bc29c35ec7d24036.png

He doesn't have a rotary axis, he only has a rotary indexer where the rotational movement is stored in a separate program inside the control box attached to the indexer.

He needs gcode in machine control to ping the box via the M21 output signal, whereupon the box will advance the indexing program one step and return ping the machine control to allow the program to continue.

 

Cave man simple solution is most probably just building a manual entry with the requisite safe moves.

  • Like 1
Link to comment
Share on other sites

@jpatry Your machine has an indexer but to program it in Mastercam you need to add a 'virtual' rotary axis to your machine definition. Then make your post spit M21 code and whatever you need. You even can make your post create another file with all values you will need to input in your indexer NC.

Here is an example with machine/post included (just for example purpose, don't use that for production)

Indexer example.MCAM-CONTENT

  • Thanks 1
  • Like 1
Link to comment
Share on other sites
10 hours ago, jpatry said:

He doesn't have a rotary axis, he only has a rotary indexer where the rotational movement is stored in a separate program inside the control box attached to the indexer.

He needs gcode in machine control to ping the box via the M21 output signal, whereupon the box will advance the indexing program one step and return ping the machine control to allow the program to continue.

 

Cave man simple solution is most probably just building a manual entry with the requisite safe moves.

Good point and thanks for giving thought to this issue they are having. To get the Mastercam file to verify the part a programmer will need a method to do it. I gave a method to accomplish that task. M21 with the angle output can be like mentioned with manual entry, but what good is a programmed file if everything is only represented in the top plane and not at each indexed position?

David has given some insight lets see how it used and if more questions are asked. Then from there we can see how to help them learn more about to use Mastercam in this setup.

Link to comment
Share on other sites

Good morning and happy Labor Day! I was out yesterday. 

But, this is very good insights. 

@David Colin I have 2023 version of mastercam. FIle is of newer version. So, i am not able to open it. 

@crazy^millman To prerform transfer toolpath I must have atleast one toolpath. But, 

I think I stumbled upon another problem while trying the method above. Made Top plane, created curve all edges. Hit the drill toolpath, time to select hole --->but I cannot. I am guessing the cylinder is round. so the holes are not flat but curved and that is why mastercam is not picking up those holes. 

here is the screenshot of what is happening. 

I found this post online------  

 

 

I understood verisurf is the way to do this so downloading the tools and hopefully, it will be resolved. 

Also, I am very new to mastercam, so I apologize for this all-small issues. But I am quick learner. Hopefully, in the future, I will help others as well. 

 

 

Screenshot (3).png

Link to comment
Share on other sites
2 hours ago, Metals and materials said:

Good morning and happy Labor Day! I was out yesterday. 

But, this is very good insights. 

@David Colin I have 2023 version of mastercam. FIle is of newer version. So, i am not able to open it. 

@crazy^millman To prerform transfer toolpath I must have atleast one toolpath. But, 

I think I stumbled upon another problem while trying the method above. Made Top plane, created curve all edges. Hit the drill toolpath, time to select hole --->but I cannot. I am guessing the cylinder is round. so the holes are not flat but curved and that is why mastercam is not picking up those holes. 

here is the screenshot of what is happening. 

I found this post online------  

 

 

I understood verisurf is the way to do this so downloading the tools and hopefully, it will be resolved. 

Also, I am very new to mastercam, so I apologize for this all-small issues. But I am quick learner. Hopefully, in the future, I will help others as well. 

 

 

Screenshot (3).png

About hole selection, if you have issues to select autocursor locations you can use 'hole axis’ command in model prep tab which allow you draw center points or lines. There is also another process using 'find hole' to create hole solid feature.

Link to comment
Share on other sites
39 minutes ago, Metals and materials said:

Like I said originally that was shot down. What good does it the programmer is everything is from top. There are some planes made correctly just not picked correctly for the operations. I would name them different than Front-1 to Front-1-1-1-1-1.  You need to make planes for each hole Then work from there. You have everything in TOP and then try doing a transform of that. Not best practice.

The large hole is small conic like I said not a true solid hole so you have to make a decision what do you want to make it?

If it were a true hole we wouldn't see the overlapping entities when looking down from the top view. Garbage in gives us garbgee out. Whatever CAD created this has not got the tolerance set correctly for file conversions. Probably .005 tolerance verse .0001 it should have.

image.thumb.png.7384e22226bd19f27a13be94db7472a5.png

What do I know????

Link to comment
Share on other sites
15 minutes ago, Metals and materials said:

@crazy^millman This is so helpful! Used dynamic milling and the big hole is done as well!! 

Finally, this is what I am doing right now. At Rotation, I am just writing M21. And that will do it, correct?

 

My first rotary indexer programming!!!!

Pulse_indexer.PNG

That should work, but again make sure your planes are correct for each operation. You could get a post dialed in to do al of this without the need of manual entry.

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