Hello Guest it is December 10, 2019, 06:05:49 AM

Author Topic: Block Processing Speed for Mach3 with DSPMC  (Read 9958 times)

0 Members and 1 Guest are viewing this topic.

Offline piv

*
  •  91 91
    • View Profile
Block Processing Speed for Mach3 with DSPMC
« on: January 13, 2010, 06:02:02 PM »
Does anyone know or has anyone done tests to determine the effective maximum block processing speed when using CV, Mach3 and DSPMC for contouring 3D 5 axis toolpaths?  Does Mach just output points to DSPMC at 1kHZ regardless of the G code point spacing?
Re: Block Processing Speed for Mach3 with DSPMC
« Reply #1 on: January 14, 2010, 09:52:08 AM »
I don't know but if you had some code you were worried about I would be willing to try it out/ simulate it. I currently only have 3 axis running but I am working on getting 4 5 and 6 working in the future.

Is there a specific worry that you had in mind?

Mie
We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.

Offline piv

*
  •  91 91
    • View Profile
Re: Block Processing Speed for Mach3 with DSPMC
« Reply #2 on: January 14, 2010, 10:09:31 AM »
Ive got a DSPMC on order to upgrade some 5 axis machines that do mould making work but it wont be here for another week and then Ive got to install and test. If it works then it saves having to go to an expensive controller plus the Mach3 interface is one of the best around. The problem is that CAM programs put out lots of points closely spaced so actual run speed often depends on block processing rate rather than the programmed speed. It is possible to get some CAM systems to output decent code and I have built machines with higher end (expensive!) controls that can take spline input and trust me sorting that out is a pain. The easiest way is the sledgehammer approach and blame it on the machine control and just make it faster.  1000 blocks /sec should be good, 10 000 would be fantastic (not many can do that and i doubt mach3 will), 250 blocks/sec just acceptable.

I will get some code snippets together tomorrow, run them on my Mach3 (no hardware connected, no DSPMC yet) and then post for you to test.  Thanks for the offer.  I will post results of my testing in a few weeks.
Re: Block Processing Speed for Mach3 with DSPMC
« Reply #3 on: January 14, 2010, 12:17:00 PM »
Let me know how it works out.

While Art was testing the new Tempest trajectory planner, I ran some very segmented code and it ran fine even  ~100 ipm.
I think that you will be thrilled at how well Mach3 and the DSPMC work together.
With the DSPMC handling all of the heavy lifting, all Mach3 has to do is send the trajectory information to the DSPMC.
Did you ask Rufi or Art or Brian this question directly? They should have some sort of answer.

Mike
We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.

Offline piv

*
  •  91 91
    • View Profile
Re: Block Processing Speed for Mach3 with DSPMC
« Reply #4 on: January 14, 2010, 07:10:43 PM »
Thanks,  I asked Rufi and he was going to ask Brian, but Ive not heard back yet (only a day or two).  Im new to Mach3 so I dont know who Brian is.  Can you put me in touch please.

Re: Block Processing Speed for Mach3 with DSPMC
« Reply #5 on: January 14, 2010, 10:02:04 PM »
Brian Barker is the man who now owns Mach3. He took over from Art who created Mach3.IIRC
If you ask the question in the general mach section you might get a better response. Otherwise you can ask on the Mach3 yahoo group. If you haven't joined it yet I could ask for you. Mike
We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.

Offline piv

*
  •  91 91
    • View Profile
Re: Block Processing Speed for Mach3 with DSPMC
« Reply #6 on: January 15, 2010, 05:18:24 AM »
Here is some code out of ProE to test.  One file at 0.01mm tolerance and another at 0.001mm tolerance, but only first part of the file to stay in 600k limit.
Ive not made a Mach3 post yet, im using a hacked up Fanuc post but it seems to be OK.
See if you increase the feedrate to 60m/min what happens?

Thanks
Piv
Re: Block Processing Speed for Mach3 with DSPMC
« Reply #7 on: January 15, 2010, 03:36:13 PM »
Hi piv,
Are you sure you need 60meters per minute??????? I think that is in excess of 2000ipm.
My machine in its current state of tune will run at a max of 6.3 meters per minute if my math was correct. ~250ipm.
I tried your code as is but had to add a g21 because your code is metric and mine machine is english.

The code ran OK but I normally don't run the mill that fast. I had the feed set sky high but as I said my machine tops out at about 7 meters per minute. The dspmc had no problem running the code, but since my machine is not properly leveled it rocks when running something like the code you sent me.
I will try to run it using the tempest planner that Art has been trying out. It should run much smoother.
We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.

Offline piv

*
  •  91 91
    • View Profile
Re: Block Processing Speed for Mach3 with DSPMC
« Reply #8 on: January 15, 2010, 09:40:25 PM »
Hi Totally RC,
Thanks so much for doing that test.  It looks like it will all work. Yes we do plan on cutting at up to 60m/min.  Its a big machine (2.8m x 1.4m with 0.8m of Z travel) and it often cuts foam. Its been cutting wood patterns for castings up to 16 hours a day for the last 5 or six years at about 15m/min feedrate. Ive made other flat bed routers that can cut MDF at 40m/min, but that is usually cabinet work with straight lines so the motion and code is not so demanding.

Your machine did well to go over that program at 6m/min, well done, thats part of a program that I run on a mill at about 1m/min normally!

Ive attached some simple code that is lots of segments on a straight line that you could try at 6m/min, at 0.1mm segment length that gives 1000 blocks per second and at 0.01mm segment length it gives 10 000 blocks per sec.  Its not how I would recommend programming it but its typical of the rubbish that a lot of cam programs make, especially when the operator is in a rush. Its go no header or end code, hope you dont mind.
Re: Block Processing Speed for Mach3 with DSPMC
« Reply #9 on: January 16, 2010, 02:27:58 AM »
I will try them out today or tomorrow. My machine was designed to go 7.5 m/min but the new servo motors(SEM) that I got real cheap($25) are higher voltage than the old ones.

 ??? A new power supply is on the list of things to do but the list is quite long. ???

If I can find a way to simulate running without the motors connected I will, just to see how fast Mach3 can run the code.

Mike
We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.