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
  #13  
Old 01-06-2007, 11:21 AM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,660
Switcher is on a distinguished road

Something I've been looking into is "Microsoft Robotics Studio" ( http://msdn.microsoft.com/robotics/ ).

I know is says robotics, hey a servo is a servo.

You can watch an itroduction video here: http://channel9.msdn.com/ShowPost.aspx?PostID=206606 check out the bluetooth gamepad.

So far all I've seen are toys that they have worked on, I keep hearing about industrial robots, but havn't seen any examples yet.

This has only been out less than a year, & very hard to find any sites other than MSDN to see working examples, code, machines, etc...

I'm very, very interested in the industrial side of this, & hope things pick up a bit faster, we'll see.

Oh by the way everything you need to program is free...



.

Last edited by Switcher; 01-06-2007 at 11:38 AM.
Reply With Quote

  #14  
Old 01-06-2007, 11:23 AM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,660
Switcher is on a distinguished road

In Mach3 you can write your own plugins "Mach3SDK" http://www.machsupport.com/Mach3SDK/Mach3SDK.html


.
Reply With Quote

  #15   Ban this user!
Old 01-06-2007, 11:49 AM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road

Just to clear this up...I don't like the look of the default mach but that's not really my concern (although I'm impressed with the skin feature). I do think that I'm a little prejudice against a program where they don't take the time to make it well layed out by the third version...again, a pet peeve.

Really I'm interested in utilizing the Grex controller. I talked to the guys at Gecko and it doesn't sound like Mach supports the Grex yet. So my choices here are pretty limited...wait for mach or build it myself.
Reply With Quote

Sponsored Links
  #16   Ban this user!
Old 01-06-2007, 07:22 PM
 
Join Date: Jan 2007
Location: MI. USA
Posts: 203
CarbideBob is on a distinguished road
Talking

Originally Posted by Al_The_Man View Post
Out of interest, what or how much do you down-load to the Galil at one time?
I have played around with different interfaces to these cards, I wish I had the time to get more invloved, what Galil commands did you use to sync the spindle for the rigid tap, I am experimenting with the threading for a lathe, so it should be the same principle.
I understand if you want to keep this to your self.
Al.

Al
I have 1 task running in the galil card that is basically a watchdog program that is monitoring the motors for overloads, checking the safety switches, etc. This task shuts everything down when something goes wrong or of course when MS-windows decides to die while the motors are jogging at 900 ipm. The motion commands are sent to the card as the program executes line by line much as you would type them in from the terminal. Continuous contours are a little more complicated but basically you just sent a whole string of VP and CR commands and then tell it to go. I use the GR command for rigid tapping. I put an encoder on the spindle and gear the Z axis servo to it. Now when you turn the spindle the z axis moves up or down following your screw pitch. Note that this is a vertical machining center and I have a 1500 lb head pulling down on my leadscrew so there is no backlash to worry about. This would work for threading on a lathe in one direction but you couldn't do rigid tapping due to backlash/axis reversal errors when you try to pull the tap out. Glad to share this info, any questions don't hesitate to ask.
__________________
You can always spot the pioneers -- They're the ones with the arrows in their backs.
Reply With Quote

  #17   Ban this user!
Old 01-06-2007, 09:09 PM
Dennis Bohlke's Avatar  
Join Date: Jan 2006
Location: us
Age: 58
Posts: 77
Dennis Bohlke is on a distinguished road

I think it’s practical if you can spend a few thousand hours working on the software before you get a usable program. It would seem to be more practical to purchase a ready-made program.

I think focusing on a specific machine or type of machine would be beneficial to shortening the development time.

I have also been eyeing the Grex. I think there are some possibilities with it, but there are some issues of great concern as well with it. It has been close to completion for about four years. In my estimation the core objectives of the original project manifesto have actually been met. I see a lot of script on the failure to sync a spindle motor for threading but that is actually mission creep.

The thing about motion control software is that the motion is really a big deal. It is not a trivial problem unless you are only going to concern your self with a program that just generates g-code files.

I did take on the task of building a motion control software program. It’s been over a decade of programming bliss. I resolved to forgo the g-code part and made a direct CAD interface to the machine.

It’s hard to say if it was practical to do it, but it certainly has been beneficial to me and the users of my program.

I think there is an expanding market for machine control software. I think the Machx programs are actually doing a pretty good job of plowing the field for more sophisticated approaches to machine control.

Art has said he currently has a registered client base of 7000. So that should give you a feel for the size of the market. If you are only going to build a program for one machine it is totally not practical.

Dennis
www.super-tech.com
Reply With Quote

  #18   Ban this user!
Old 01-07-2007, 01:09 PM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road

Dennis, I'm not really sure what my plan is, but I like to try and look at things from a different angle. My thought was actually building something like you said where it is a straight CAD program to controller. It's market (if any) would be 3-4 axis CNC mills. Mostly conversions which is a huge market. Really I just wanted it for me (but if it's marketable...why not).

I was thinking of using a method of starting the drawing with the shape of the stock (maybe a DirectX ".X" object). Then draw or import tool paths so the program can design the cleanout and finishing paths. The idea is that it would create a 3d object with each stage so that the new "stock" object would be the finished object from the previous process. This may be common in some software but I haven't seen it. I think this method would really assist with 4th axis design too.

Ultimately I figure there's no getting around the simplicity of using 3d objects for the final shape. There's so many powerful 3d design programs. This is my major problem right now with my early 80's controller with 1k ram. Making a nice square pocket just doesn't blow anyones socks off...and you can forget about trying to put in a company logo.

Plus I'd like to build a controller that isn't as big as the mill itself.
Reply With Quote

  #19   Ban this user!
Old 01-07-2007, 06:19 PM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road

Originally Posted by CarbideBob View Post
How about block lookahead and backlash compensation?
Can you explain this a little to me? The lookahead part.

Backlash compensation isn't as a huge concern to me right now for a couple reasons. One is that it seems to me like it's just tool path logic, each time you change directions on any axis, move a little extra. The second is that my machine right now doesn't appear to have any slop...I'm sure there's some there (is it possible to have no slop?) but it's very minimal (move right and left .001 without slop) and I have no compensation values currently entered in.

I am concerned about what I don't know about...if that makes sense. I made a 3 axis stepper control a long time ago through the 12 digital outputs from the parallel port. I didn't have to put any thought into accounting motor direction with that set up. I could go forward or backward on a whim without any problem. I did have a problem with my controller generating a ton of heat...but that's another story.

With my servos I do notice that when I'm using rapid movement that the servos seem to speed up and slow down stages. I don't notice that on normal motions.
Reply With Quote

  #20   Ban this user!
Old 01-08-2007, 11:58 AM
Dennis Bohlke's Avatar  
Join Date: Jan 2006
Location: us
Age: 58
Posts: 77
Dennis Bohlke is on a distinguished road

Chris, I just thought I’d give you the benefit of my experience. When I started out I thought it would be a couple of thousand hours of programming, but I was way off. But that was before the fantastic visual programming tools were available.

I have seen a demo of VisualMill that does exactly what you describe with the 3D cut simulation.
http://www.mecsoft.com/Mec/Products/products.shtml

If you can build a program that will start with a raw block of stock material and simulate the tool cutting action with a rendered graphical 3D display, you got talent. By all means do it. It is a piece in the puzzle, and the puzzle is not complete with out all the pieces.

From my point of view if you open source your work, it has no value. If you maintain your intellectual property rights, I would be interested in implementing them. I have the framework of drawing to cutting in real time with on screen animation, 2D or 3D. As with most things it could be improved upon.

It would seem to be an awful lot of work to go through though, just because you are upset over a few sloppy screen displays in the Machx programs. As previously suggested it is much more practical to re-skin the Mach3 program. Few appreciate the miracle of the Machx motion control algorithms, the magic of that aspect gives Art a lot of latitude in display design.

If you can keep in mind that the screen and the keyboard are the sole user interface to the machine you can fit the machine motor controller into a shoebox.

I have a YouTube video at:
http://www.youtube.com/watch?v=L1-mF14GYhU
I am working on some tutorials at:
http://www.super-tech.com/root/itm.a...amxp-tutorials
They should give you some idea what kind of interface I am talking about. My human to machine interface is completely unique, as far as I can tell. I was thinking CAD, not control panel, so my approach to the problem was from a completely different angle.

Whether something is practical is always going to be subject to debate. One thing to consider is your return on investment, which can be measured in many ways.

Backlash is usually the mechanical slop between the lead screw and the nut. To compensate the axis motor has to reverse directions with out counting the steps as moved distance.

Look ahead is where the trajectory planner looks beyond the current segment of movement and adjusts motor motions accordingly. It is a waste of time to slow down for a minor deflection in angle when moving from one segment of movement to the next. Without look ahead the motion motors must slow down and start up for each segment of motion.

Dennis
www.super-tech.com
Reply With Quote

Sponsored Links
  #21   Ban this user!
Old 01-08-2007, 01:27 PM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road

Dennis, thanks for the info. I read through Grex docs most of the night...I'm going to try and order one today. It appears to have an option where you can specify true path or calculated path. As you said, in the event you're doing minor changes to the path you can use the calculated. If you're doing a right angle you would use true path. I'm very impressed with it. It appears to be (almost) as easy as telling it to go to XYZ coordinates. Some of the speed controls are explained a little weird but I think I get the basic idea of it. I'm curious about how I would interupt it's path mid stream but that's another story.

I'm looking into the 3d graphic part to see how practical it is. Re-writing dynamic vertices based on collision of two objects sounds like a headache.

And again...it's not the look of Mach that I don't like. I think I'd like to consider a different way of Cad->cam->Cut (you should appreciate that). Right now I'm graph paper to notepad to hyperterminal. I understand most the scope of what I'm considering...it's the unknowns that I'm worried about (hence this thread).
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:13 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