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 01-06-2007, 12:40 AM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road
How practical is it to build control software

In looking at the various titles of CNC control software I'm not really impressed with any of them. Mach X has the largest following, probably driven by price, but I'm sure it's also a good product. Camsoft looks quite a bit better but is more than 10x the price.

I've installed the demo of mach to play around with it a bit and there's no way I can say this kindly, the whole layout of the program looks like mess. I have one programmer working for me who is no longer allowed to make any interfaces because everything he built looked...well...similar to the mach interfaces. Random sized buttons placed all over the place and objects that don't really operate the way you would expect within a standard Windows environment. I've been having to build software that car dealers can operate so I'm used to making things that have real simple layouts so I guess this is a bit of a pet peeve of mine.

Well in all of my scouring it seems that everyone, even the turn key CNC systems (shopmaster, Tormach) use mach.

Am I way off base here because it seems that a controller should simply allow G-code conversion, loading of G-code programs or an MDI interface and finally a tool selection interface. This doesn't seem that complicated. With the new G-rex from Gecko I'm thinking about writing a custom app to do just that. I really like the G-rex because it offers so many inputs and outputs that you could also have a hardware controller for things like feed rate etc. Really my biggest concern is that I don't know what I don't know. Anyone consider taking something like this on? What are the most challenging things to overcome?
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 01-06-2007, 02:20 AM
RLC RLC is offline
 
Join Date: Aug 2005
Location: USA
Posts: 90
RLC is on a distinguished road

I agree that the screens in Mach are a little too busy (for me anyway). But the thing we have to consider is that Mach allows you to create your own screens, and gives you as many function as you need, lay them out the way you see fit.... Look at cel phones today, its more like a gameboy / i-pod / pda / mp3 player / web bowser / oh yeah and use it as a telephone
__________________
Robert
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 01-06-2007, 05:43 AM
 
Join Date: Jan 2007
Location: MI. USA
Posts: 201
CarbideBob is on a distinguished road
Talking

It all depends on how much of a CNC controller you want and how much of the work the controller card does for you. Biggest headache #1 is MS windows. Even stripped to the core it sucks for real time work. If you want cutter comp this also gets trickey. How about block lookahead and backlash compensation? I build my own CNC software and run on Galil motion control cards (something like Camsoft). Written almost entirley in VB6 the current build version is just shy of 29,000 lines of code. This includes lots of bells and whistles like in-process gauging, auto-size adjust, high-speed rigid tapping and SPC stuff too. If your just going to process G00,G01,G02, and G03 codes it pretty simple. Start adding cutter comp, mixed incremental and absolute programming, multiple corrdinate systems etc. and the thing just grows and grows. One good thing, after building one of these you can write G-code programs in your sleep as you'll get an in depth lesson in the math involved.
__________________
You can always spot the pioneers -- They're the ones with the arrows in their backs.
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 01-06-2007, 08:55 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,558
ger21 is on a distinguished road
Buy me a Beer?

The reason Mach has the largest following is because it's basically the ONLY program that can do what it does. Output a useable pulse train through the parallel port using Windows. Camsoft uses motion control hardware to do it.

If the only thing you don't like about Mach is the screens, as was mentioned, create your own. Far easier to create your own screens than to create your own software. Here's a screen used by an OEM running Mach on their machines.
Attached Thumbnails
Click image for larger version

Name:	image_FROGMILL_screenshot.jpg‎
Views:	186
Size:	316.4 KB
ID:	28730  
__________________
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)
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 01-06-2007, 08:59 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,558
ger21 is on a distinguished road
Buy me a Beer?

One other thing to consider is that Art has spent 12-16 hours a day (every day) for at least 3 years to get Mach to where it's at today.
__________________
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)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-06-2007, 09:54 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,057
samco is on a distinguished road

If you want something you can modify - take a look at emc2.

http://www.electronicsam.com/images/KandT/Dapper.png
http://www.linuxcnc.org/
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl

sam
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 01-06-2007, 10:29 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,712
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by CarbideBob View Post
I build my own CNC software and run on Galil motion control cards (something like Camsoft). Written almost entirley in VB6 the current build version is just shy of 29,000 lines of code. This includes lots of bells and whistles like in-process gauging, auto-size adjust, high-speed rigid tapping and SPC stuff too.
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.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 01-06-2007, 10:45 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

I think that the Camsoft idea is probably the best approach, short of writing a specific interface for a particular machine, which then turns you into a 'black box' manufacturer, where you have total control over how every detail works.

The way I understand Camsoft, is that it would be using high level windows language piggyback on a lower level Galil command set. I suppose anyone knowledgeable in programming can learn to first use the Galil command set intelligently, and interface that with windows programming.

Camsoft may be a bit pricey up front, but it gives a wide margin of freedom. I suppose the interface could be spruced up and modified in thousands of ways, all of which would boil down to the same basic control.

Camsoft gives you a graphic proveout of your gcode program. This in itself is a bit of an accomplishment, and I do not think this has anything to do with Galil commands, so you would need to mimic that, or else your potential customers will be asking for it later on. I make use of this feature quite regularly on my Camsoft lathe retrofit, as it shows very plainly if I have 'fat-fingered' my edits, as I can visually trace out any errant segment of the toolpath.

I would like to see Camsoft advance the GUI a bit more, perhaps allowing the program to use dual monitors (if it doesn't already). I find my operator screen is extremely crowded as there is simply not enough room to lay out everything with ease, and have a graphic backplot viewport that is large enough to be remotely useful in size.
__________________
First you get good, then you get fast. Then grouchiness sets in.

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

  #9   Ban this user!
Old 01-06-2007, 11:02 AM
rcrabb's Avatar  
Join Date: Apr 2003
Location: WI
Posts: 98
rcrabb is on a distinguished road

Chris64,
If you don't go with Mach software your making a big mistake. I understand the concern about the busy screens but there are many other screensets availible for Mach that are simple and more user friendly. I often wonder how Artsoft can aford to sell this software so cheap. I chalenge anyone to show me a better software for the same price with all the "bells and whistels" Mach has. Other things to think about is the detailed manuals Artsoft provides, demonstration videos, multiple message boards for support, wizard addons from Newfangled, ect. Also take some time to read about the new Mach Quantum artsoft is working on.
Tweet this Post!Share on Facebook
Reply With Quote

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

Well first off I will say that the screen shot Ger21 showed is very impressive. I didn't know that you could design new "skins" for mach. They should consider having someone build a professional looking default skin.

Part of the problem to me with most of this software is that it's designed to do everything for everyone on every machine. Maybe this goes right back to the "skin" argument but I don't feel like I need that many features.

Another thing was some of the features on different system I really like but I can't afford the systems that have them. Centroid has a lot of neat sensor features like finding the center of a hole or resetting the entire geometry system to the angle of the item mounted down. So if a block of aluminum is 1 degree off of square it could scan the edge and twist the entire architecture so that it is on that same angle. My thought was that if you had a jig with two holes for reference points you could swap jigs very easily and recalibrate locations.

As far as communicating with a parallel port, I have no interest in pursuing that route. Even if you can get Windows to maintain a good clock rate it's such a slow method of communicating. My only reason in considering something like this is specifically for the Gecko G-rex. It's specs look pretty impressive and it could allow for many features. Apparently there isn't any software support for it yet though. And of course it's price is very affordable.

Another feature that I don't even know if it's possible would be putting an encoder on the spindle so that you could potentially handle tasks like rigid tapping (if I'm using the correct word). This would require the Z axis to adjust to keep up with where it should be. I don't even know if this is possible. If nothing else this could give you an accurate true RPM feedback to your display.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11  
Old 01-06-2007, 12:11 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,558
ger21 is on a distinguished road
Buy me a Beer?

You can download the Mach screen designer (Sceen4.exe) as well as some additional screens, and current Mach versions from http://www.machsupport.com/artsoft/d.../downloads.htm
Mach is free for up to 1000 lines of code, so you can play around with customizing it without purchasing it.

There's a screen designing tutorial video at http://www.machsupport.com/videos.htm
The Mach G100 plugin is open source, so you can modify it to add features or suit your needs better. You can get the SDK from the first link I posted. Art is waiting for a firmware update for the G100 before he can finish the plugin, as the updated firmware is needed for some features.

If you have good enough skills to contemplate writing your own control software, you shouldn't have any trouble customizing Mach to do what you need.
__________________
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)
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 01-06-2007, 12:16 PM
rcrabb's Avatar  
Join Date: Apr 2003
Location: WI
Posts: 98
rcrabb is on a distinguished road

In Mach you can customize macros. I'm sure there is a way build a macro or wizard to give you those functions you are looking for.

From what a read the G-rex is the way to go. I'm sure you'll get all the support you'll need from Gecko and Artsoft.

Have you posted over at the Mach forum on the Artsoft website? If not there is a load of info over there also.

If your interested in building your own screens, check out the Flash screens some of the guys are working on over there.
Tweet this Post!Share on Facebook
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:53 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