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 > General CNC (Mill and Lathe) Control Software (NC)


General CNC (Mill and Lathe) Control Software (NC) General Discussion of CNC (Mill and Lathe) control software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-28-2006, 03:59 PM
 
Join Date: May 2006
Location: USA
Posts: 26
curtisturner is on a distinguished road
NC Controller difference

This might be a dumb question but here it goes.

What is the real difference between the following 2 (other than price)
PC and a couple of Gecko Drives some Servo's and Mach 3

And

A NC Controller like Fanuc or Allen Bradley

Thanks
Curtis
Reply With Quote

  #2  
Old 07-28-2006, 04:59 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,538
Al_The_Man is on a distinguished road
Buy me a Beer?

The main difference is the former is a PC based Software controller and the servo's are not closed back to the control.
Fanuc, Mitsubishi etc and PC based systems that use a controller card like Galil, the motion control is closed back to the CNC controller, in these PC based systems the PC really just acts as a HMI and the card takes care of closing the loop.
In an open loop system (to the controller) the CNC controller has no idea where the servo's are positioned.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3   Ban this user!
Old 07-29-2006, 07:54 AM
 
Join Date: May 2006
Location: USA
Posts: 26
curtisturner is on a distinguished road

I understand the Open / Closed loop

I was more intrested in
Interpolation (speed / Smoothness)
Look ahead (speed / ability)
Constant Velocity ??

my reason for asking is that my current setup is using mach 3 and i do not seem to get the above ablities the way i would think.

Example:
Interpolation.. My axis move at a higher speed than i would need, but add in intrpolation and speed goes south quick (slow )

Constant Velocity.. My axis seem to almost step through smaller movements with a split second pause between them (g-code lines)

Is this the downfall of using a Mach3 / Gecko style system

FYI i am running 1200oz/In Steppers and a 68V PS (10A)
And yes I have asked ArtofCNC no real fixes.

Thanks
Curtis
Reply With Quote

  #4   Ban this user!
Old 07-29-2006, 01:01 PM
 
Join Date: Dec 2005
Location: USA
Posts: 3,319
NC Cams is on a distinguished road

Mach is a step/direction system and it doesn't close the loop between what the steppers ultiametely do and what they're told to do.

Sort of like driving a car down the street via radio control - do you feel the acceleration in the seat of your pants if you pull the throttel trigger harde??? The radion (computer) tells the motor to speed up and slow down but can't never feel if it did it or not. That's the easiest way to look at it. Even if you use a servo card with Mach, you don't get closed loop feedback to the PC.

Yes the PC sent out a directive via the LPT port but until/unless the error gets too bad, it continues sending out pulses fat dumb and happy until the servo card sees a sufficient error. ONLY then, will the card notify the PC, again that will be recognzed when the next LPT port call occurs. Although the encoder feeds back to the servo card,the card doesn't feed an error back to the PC until/unless it gets too far behind.

In my servo system, the moment the drive faults (over current, no feedback signal, lag singal, whatever) IT STOPS. It doesn't do so many steps, gets so far behind then says, "we have problem, better stop because the problem finally got TOO bad".

Look ahead functions and interpolation (which any computer time so as to look ahead and calculations to happen for it to work), will bring thruput to a crawl. This is especially true depending on how your processor does background calculations and the priority it gives to them.

Instead of interpolation, try doing point to point milling in very, VERY small steps. WE do it on cam profiles and you can't tell that we've got teeny tiny flats on what should be a full radiused surface.If you make 2880 flat cuts to create a circle,you can't tell it after you buff it with 320 then 600 then scotchbrite.

At 360 cuts, the thing looks like a diamond disco ball with all the facets. Sounds like a machine gun when a roller runs along the surface.

We have the ability to do constant surface speed tool path cutting via S speed changes for every single cut point. The RAMDRIVE program in DOS does the look ahead, the controller sends out the code, the servo amp responds and if it does so properly, the cutter keeps mozying right allong. We run real slow (inches per minute and real high spindle speeds cause we're looking for mirror like finish).

Why an it move so slow and smooth at CSS?

Because a 12 bit ANALOG voltage is being sent to the servo amp (in increments of 0.004vdc, +/-10vdc full scale). Between the possibiltity of the stepper hittiing a resonance frequency and or the step function not being sufficient to provide adequate control at small incremental changes, it is possible for the system to hang up or default to a safe mode or the motor starts to "shiver" and that isn't what you want/need.

In your case, you're still dealing with a step funtion. You may have reached the limitation of your stepper motors and/or the limit for a particular step/direction system. Steppers do amazing things. But, they can't be turned into servos no matter how hard you may wish or try.
Reply With Quote

  #5   Ban this user!
Old 07-29-2006, 01:08 PM
 
Join Date: Apr 2006
Location: Somewhere
Posts: 402
fkaCarel is on a distinguished road

For starters: it's not a dumb question, but you must have the opportunity to look on both sides of the fence. Fanuc etc. are dedicated and embedded controllers. This means that you cannot do much more with it than controlling coordinates on a machine. A PC is an office machine which gives you, in the end, on screen, the sum of 1 + 1.

The advantage of a PC, fast execution of a part of a program or a whole program, disappears if it has to execute the result of a small program. This means: sending pulses to the parallel port in timeslices is crippling. The design is made to send all the data in a stream to the port. A printed page!

A real time processor derives the time from a timer. When the timer is zero or overflows, depending on the type of processor, a new task can be started. For example the generation of one step. When the task is done, the program waits for the next timer interrupt.

I cannot look in the Mach3 software, but it looks like it's pulse delays are generated by a loop. Load a number, decrement by one and exit if the number is zero.

Where the embedded controller can do initialising of new instructions, calculate interpolation and maintain constant velocity in its free time, for the PC everything is overhead. The to decrement number should be, but cannot be adjusted for the specific software action of the moment.

So the easy solution is: buy the fastest PC you can get. The number in the delay loop grows, the overhead is executed faster. This is noise reduction by numbers.

The costly solution is: buy a Fanuc and have a specialised controller.

The crazy solution is: do it yourself and invent new G-codes and new approaches.
Reply With Quote

Sponsored Links
  #6  
Old 07-29-2006, 01:59 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,448
ger21 is on a distinguished road
Buy me a Beer?

Originally Posted by curtisturner
Example:
Interpolation.. My axis move at a higher speed than i would need, but add in intrpolation and speed goes south quick (slow )
What is the current set on the Geckos? Perhaps your power supply is the culprit when multiple motors are moving together.

Originally Posted by curtisturner

Constant Velocity.. My axis seem to almost step through smaller movements with a split second pause between them (g-code lines)

Is this the downfall of using a Mach3 / Gecko style system
Are you sure your in CV mode? Is there a G64 at the top of your screen? Or, are the segments very very small? There are literaly thousands of Mach users, and this is not a common problem that I've heard of. ( I read every post on the Mach Yahoo support group, about 100 a day)

Also, how fast is the PC your using?

Here's a link to a Mill controlled by mach3, but using a Gecko G100 to send the step and direction. Very smooth and quick.
http://machsupport.com/forum/index.php?topic=502.0
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #7   Ban this user!
Old 07-29-2006, 02:44 PM
 
Join Date: Dec 2005
Location: USA
Posts: 3,319
NC Cams is on a distinguished road

fkaCarel = I now know why it is so hard to do the simple task of retrofitting a PC that does CNC controls in place of a Fanuc controller.

I'm going to add that to my cheat sheet. Good info that comes up over and over.
Reply With Quote

  #8   Ban this user!
Old 07-29-2006, 02:49 PM
 
Join Date: May 2006
Location: USA
Posts: 26
curtisturner is on a distinguished road

As far as the power supply i tried 2 seperate PS's and is still a problem
I am using Gecko 201's
I also have 2 no name brand drivers that I had originally had the problem with and bought the Gecko's thinking it was the problem.

Yes i have G64 up there and in my G-code (just in case)
-- first thing i checked, Art worked on it with me going down the check list of the easy things and still nothing

I have a 1.6 Ghz with 768 Ram Computer

I also did not think this was normal, but cant get a straight answer.
Did not want to go the route of a Fanuc unless absolutely required.

Thanks
Curtis
Reply With Quote

  #9   Ban this user!
Old 07-29-2006, 03:15 PM
 
Join Date: Dec 2005
Location: USA
Posts: 3,319
NC Cams is on a distinguished road

curtisturner: you just may have to - go Fanuc

See post #5 above.

If you do, the Fanuc's will have servos instead of steppers and true closed loop feedback...
Reply With Quote

  #10   Ban this user!
Old 07-29-2006, 03:23 PM
 
Join Date: May 2006
Location: USA
Posts: 26
curtisturner is on a distinguished road

What is a decent price for a fanuc system 10 or 11
everything including the servo's APROX ?

CT-
Reply With Quote

Sponsored Links
  #11  
Old 07-29-2006, 04:12 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,538
Al_The_Man is on a distinguished road
Buy me a Beer?

Before you consider Fanuc, there are are many equal to the task. (Fanuc 10&11 are way outdated, I don't think you can buy them new).
I have found Fanuc not very receptive to the one-off Retro-fitter etc, they are interested in the OEM's, they are Expensive and support is lousy unless you are one of the above mentioned OEM's.
Anyone looking at an equivalent, I would suggest Fagor or Mitsubishi.
If you are a one off user, the things to consider is whether the company offers free instruction and/or development software, Fanuc charge for everything.
With these kind of systems, you have to be able to write the machine logic, i.e. the M,S,T codes, as these are machine unique.
This is usually written in ladder logic or some kind of boolean arithmetic (not really that hard).
Even if you buy a used system, the ladder etc would have to be modified to suit your machine.
Personally, I have found Mitsubishi support outstanding.(they are used by Mazak BTW).
You are looking at a minimum of $10~$14k.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #12   Ban this user!
Old 07-31-2006, 10:40 PM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

I would try a different PC, even if you gotta grab it outa your office temporarily. Don't change the control yet. The combo you are using is known to work and work well.

Eric
__________________
I wish it wouldn't crash.
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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