CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software)


Mach Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-23-2009, 11:54 AM
 
Join Date: Oct 2009
Location: Portugal
Posts: 5
Cocacolalover is on a distinguished road
Am i limited to 100kHz (pps) when using Mach3?

This text is from Mach3 manual
What maximum rapid speed will we get? With 35,000 step pulses per second we get 5.83 revolutions [35000/(1200 * 5)] of the leadscrew per second. This is OK at about 9 seconds for 5" travel of the slide. Notice, however, that the speed is limited by the pulse rate from Mach3, not by the motor speed.
This is only about 1750 rpm in the example. The limitation would be even worse if the encoder gave more pulses per revolution. It will often be necessary to use servo electronics with electronic gearing to overcome this limitation if you have high count encoders.
Is there any alternative to obtain a faster processing of pulses?
Using a dedicated controller board would solve this?
By my calculations, in my case, even at 100kHz, it would be far from max velocity the motor and rack allow.
Like it says in the text, using an encoder with fewer ppr makes it move faster, but increases basic lenght unit (CNC theoric minimal movement).

Am i going to run away from a pc based CNC....?

Thanks in advance
Reply With Quote

  #2   Ban this user!
Old 12-23-2009, 12:53 PM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Mach3 supports up to 100kHz thru the LPT-port. You need a seriously fast computer to run it reliably at that speed though.

If you get a Smoothstepper you can get up to 4Mhz steprate, it connects to the PC thru USB and is pretty easy to setup. Some things it does better than the LPT-port, some things it does not so good - backlash compensation is still non existant but said to be "in the works".

There's also the KFlop motion controler from Dynomtion but I have very little info on how much is implemented in their plugin.

What kind of speed and resolution are you aiming for?

For example, with 10000 steps/inch resolution and 65kHz kernel speed you should be able to get 65000*60/10000=390IPM, if you have a computer that can run Mach3 reliably at 100kHz you'd get 100000*60/10000=600IPM. Same thing for metric, 1000 steps/mm, kernel speed 65kHz: 65000*60/1000=3900mm/min.

/Henrik.
Reply With Quote

  #3   Ban this user!
Old 12-23-2009, 04:37 PM
 
Join Date: Oct 2009
Location: Portugal
Posts: 5
Cocacolalover is on a distinguished road

Hello Henrik, thank you for answering me

I didn't gave too much detail because i was afraid to scare people away

Our project is a router table
This study concerns X axe only
I'm using:
Servomotors (2 in X axe)
5:1 gearbox (in study)
etc.

Motor revs per unit = 0,03125 revs/mm
Out pinion revs per unit = 0,00625 revs/mm

Motor nominal speed = 2000 rpm
Out RPM = 400 rpm

So max linear velocity is 1,07 m/s (this is velocity capacity due to motor conditions only)

Assuming that encoder is 2500 CPR (Cycles per revolution)
Motor ppr = 10000 ppr (4 times encoder CPR due to quadrature pulses)
Out ppr = 50000 ppr

So i need 312,5 pulses to move 1 mm (312,5 pulses/mm)
Then
BLU = 0,0032mm/pulse = 3,2 microns/pulse

(i'm actually accepting a resolution up to 25 microns as worst case)

So, assuming i can work MACH3 at 100kHz, axe X would be able to move at 320mm/s max, wich is pretty low for our pre-defined specifications (around 1000mm/s).

We are projecting a high accuracy router table (total error should be less than 100 micron), and high resolution (aluminium mold machining).

Everything else is already calculated (motors torque and rpm, rack, pinion, etc) but without being able to actually produce pulses at the required rate (around 300kHz ), speed won't be achievable.

*Only possible solution is taking an encoder with lower resolution, but it will affect the X axe resolution too (well, ok, maybe i'm being very demanding about resolution...)*

And, yes i am aware of Kmotion controller board for servo motors, as many other, but pulses are originated from Mach3 right?


Well, Merry Christmas
Reply With Quote

  #4   Ban this user!
Old 12-23-2009, 04:49 PM
 
Join Date: Feb 2007
Location: canada
Posts: 619
Larken is on a distinguished road

Cocacola
Is your router table built so accurate to need a 25 micron resolution ? Maybe on a super precision milling machine you need that resolution.

Can you use a step multiplier in the drive to reduce pulses/turn ?

With smooth-stepper, machs usb trajectory correction rate is only 1000 times a second, so at 4mhz, the machine axis can theoretically move 4000 pulses with out being corrected.
Really with a 4mhz step rate you should have a trajectory correction rate of at least 100khz. other wise your toolpath would be all over the place.

100khz step rate is really fast with a reasonable resolution.

Larry K
__________________
Manufacturer of CNC routers and Viper Servo Drives
www.LarkenCNC.com and www.Viperservo.com
Reply With Quote

  #5   Ban this user!
Old 12-23-2009, 05:09 PM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

OK, you have 312,5 steps/mm and the top speed is 64000mm/min which means you'd need 333.3kHz step frequency. So, in short, with retained resolution you won't be able to reach your desired speed with the LPT-port driver - you need an external pulse engine/motion controler like the Smoothstepper or KFlop.

With that said, 60m/min is really fast! How big is that router?

The KFlop can drive analog drives if equiped with the KAnalog add-on card but if used by itself it can produce step- and direction signals, just as the LPT-port but at much higher frequencies. This is a quote from Dynomotions website:
KFLOP has 8 axes of Step and Direction. Output pulses up to 2.5 MHz can be generated.
See specifically the example section on Step and direction output

/Henrik.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-24-2009, 05:22 AM
 
Join Date: Dec 2004
Location: usa
Posts: 1,665
TOTALLYRC is on a distinguished road

Originally Posted by Cocacolalover View Post

And, yes i am aware of Kmotion controller board for servo motors, as many other, but pulses are originated from Mach3 right?


Well, Merry Christmas
Hi Cocoa lover,
When using an external motion controller such as the Smoothstepper, Kflop or DSPMC/ip, all Mach3 does is provide the trajectory information and the step pulses are generated externally on the motion control software. "Step" rate far in excess of what Mach3 is capable of through the p-port are now possible.
The smooth stepper will go 4mhz, I don't know what the kflop will do and the DSPMC is guaranteed to 2Mhz but in actuality the chips are capable of much more, I would talk to Rufi as to your specific needs.

I am with the other guys here in questioning your need for low Micron resolution on a router.

The resolution means nothing if the machine flex is orders of magnitude worse than the resolution.



Mike
__________________
Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.
Reply With Quote

  #7   Ban this user!
Old 12-24-2009, 08:26 AM
 
Join Date: Oct 2009
Location: Portugal
Posts: 5
Cocacolalover is on a distinguished road

Larken
Cocacola
Is your router table built so accurate to need a 25 micron resolution ? Maybe on a super precision milling machine you need that resolution.
Yes, aluminium mold machining requires that kind of resolution

Can you use a step multiplier in the drive to reduce pulses/turn ?
I was forgetting one important point, 1000m/s is jog speed (no machining), machining speed will be much slower than 320mm/s, so probably, i won't even need the 300kHz pulse rating. (by my calculations, with 35kHz i could do 112mm/s wich is a good feed rate for aluminium)
During free movimentation, i don't need the machine to have an high resolution, so do you think electronic gearing (reduce pulses per turn) could apply during jog speed only? Will mach3 be able to do this?


H.O
With that said, 60m/min is really fast! How big is that router?
4x2- modular strucutre, able to increase in 2m increments along X axe (6x2, 8x2, etc)


TOTALLYRC
all Mach3 does is provide the trajectory information and the step pulses are generated externally on the motion control software. "Step" rate far in excess of what Mach3 is capable of through the p-port are now possible.
COOL, that's what i need.

The resolution means nothing if the machine flex is orders of magnitude worse than the resolution.
It's an high rigidity structure weighing an estimate of 700kg, and still being optimized, for lower deformations on critical zones. We are obtaining deformations around few microns (depending on the force direction) for forces that we will never experience during real machining (this using abaqus and solidworks of course)
Shure, the real thing will have an higher degree of innacuracy due to the process of assembly. But, we will try our best to attain client requisites.
Reply With Quote

  #8   Ban this user!
Old 12-25-2009, 04:38 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

During free movimentation, i don't need the machine to have an high resolution, so do you think electronic gearing (reduce pulses per turn) could apply during jog speed only? Will mach3 be able to do this?
Sorry, but there's no support for this built into Mach3.

Sounds like a cool machine, any chance we can see it?

Mike,
Has support for step and direction been added to the DSPMC now? I know there's been talk about it being added but I didn't know it was done. The web page doesn't say anything about it, as far as I can see.

/Henrik.
Reply With Quote

  #9   Ban this user!
Old 12-25-2009, 05:38 AM
 
Join Date: Dec 2004
Location: usa
Posts: 1,665
TOTALLYRC is on a distinguished road

Hi H.O.

If the step and direction has been added I haven't been told.
While Rufi and I talk often, he doesn't tell me everything.
I see that some of the ground work has been laid in the xml file but as far as actual implementation I don't know.

Even though you can't use step and direction yet the pps still applies to the ability to count the encoder pulses fast enough.

Mike
__________________
Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.
Reply With Quote

  #10   Ban this user!
Old 12-25-2009, 05:58 AM
 
Join Date: Oct 2009
Location: Portugal
Posts: 5
Cocacolalover is on a distinguished road

Originally Posted by H.O View Post
Sorry, but there's no support for this built into Mach3.

Sounds like a cool machine, any chance we can see it?

Mike,
Has support for step and direction been added to the DSPMC now? I know there's been talk about it being added but I didn't know it was done. The web page doesn't say anything about it, as far as I can see.

/Henrik.
Ok, electronic gearing is implemented in servo drives, not the software, sorry.

The machine is still in draft phase. There's nothing real to see, only virtual models and numbers (and if i show you pictures i might be fired , but we can discuss numbers freely)

I wasn't aware of that DSPMC/IP controller, seems pretty good
I am pointing to galil solutions though...


Regards
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-25-2009, 08:14 AM
 
Join Date: Jan 2005
Location: USA
Posts: 2,348
mactec54 is on a distinguished road
Buy me a Beer?

Hi Cocacolalover

If cost is not a problem for your control, you then should look at Softservo Systems, your rapids can then go to Max 300m/m positioning speed, & high-speed/high-precision machining 60m/m, no problem with Encoder count from 12 bit to 17bit it may be more, I run at 16bit 16384 p/rev X4 Plus 3 dimensional dynamic look-ahead contour control (3DALCC) there is many more things your machine could get out of a control like this.

http://www.softservo.com/S100M.php?catID=3&subID=3
__________________
Mactec54
Reply With Quote

  #12   Ban this user!
Old 12-25-2009, 08:53 AM
 
Join Date: Aug 2006
Location: USA
Posts: 289
yantra3d is on a distinguished road
Happy kflop user

I can vouch for the kflop as I've been running a slant bed lathe w/ steppers and 2hp VFD for over 2 years now and more recently a closed-loop servo mill using an AC servo for spindle motor drive with the added snapamp board from dynomotion and they have been really outstanding in terms of reliability and performance. The onboard CPU does not require the pc or Mach to generate pulses and so there is no bottleneck to worry about in terms of speed - even though it does use a USB interconnect to pc.

For what it's worth I am very happy with Dynomotion's hardware and the software is pretty powerful allowing virtually any configuration you want via programmable interface. It also has sw to tune the motors, etc...

The boards are very high quality made as well and the support has been absolutely fantastic. I would definitely recommend their products for your application. If you have any questions I'd be happy to offer my experience on the kflop/snapamp and kmotion software. Best of luck!
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- 3D toolpth is limited keen BobCad-Cam 7 03-08-2009 01:46 AM
Z axis.. Why so limited?? klaymonster General Metal Working Machines 24 02-17-2009 11:06 AM
Denford Limited UK Bradders Product Announcements & Manufacturer News 0 04-10-2008 06:14 AM
Mach3 can now do 100Khz pulse rates. ger21 Mach Mill 0 07-07-2007 11:51 AM
Gecko's limited to only 20A ? samualt Gecko Drives 26 09-23-2003 07:24 PM




All times are GMT -5. The time now is 03:05 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361