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 > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-01-2006, 08:56 PM
 
Join Date: Apr 2006
Location: USA
Posts: 11
cstmwrks is on a distinguished road
excitron motors and g code

Im looking for some input, I have a production tool that uses two stepper motors made by excitron. The tool is a custom built machine with only one weak spot, both of the motors have to run there profiles one right after the other, some short time delays between movements.. anyhow the "off the shelf" control system has each motor conected to a PC via a serial port and each port is connected to windows Hypertermanel. This works but I have to start each program for each motor manualy and if timing gets out of synch then product gets damaged.
I have spoke with the folks at excitron, and as helpful as they are I have not gotten a good answer as to how best to solve what I think should be a very simple issue. I want ONE program to control both motors. The basic task is simple, one motor moves a gantry, the other motor moves a lift. I run about 35 profiles to make one part. With only a few exceptions the steps and velocities remain the same.
Any one else use these motors? Does G-code in of itself allow one to select only one motor to run at a time? allow time delays of several minutes between running one motor then selecting the next?

Bill
Reply With Quote

  #2  
Old 04-02-2006, 10:03 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

It sounds from this and your other post that you have a dedicated system using two controllers? And you download a program to each axis controller?
It also sounds like you have a system that does not really need G code programming in a way because of the repetitive motions, which are the same apart from the motion rate.
But it look like you would benefit from having either a dedicated controller that combines both axis, if this is the case, or going to a parallel port G code program like Mach3 etc.
If you are looking to change the hardware, The way I would use is pick up a stand alone galil motion card from ebay and use a simple interface like a Maple systems unit for speed change etc, this requires a bit more programming/engineering skills.
To sum up the options:
1/Stand-alone control like you have now but two axis.
2/ Mach3 or similar, requires stepper amps as well (G code).
3/ Galil motion card, using Galil native language.
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 04-02-2006, 01:17 PM
 
Join Date: Apr 2006
Location: USA
Posts: 11
cstmwrks is on a distinguished road

Al,
Any details extra details you can spill on the Mach3 software? Most CNC programs that I have looked at are for 3D router work and the like. Having no CNC experiance or having used any type of CAM program. I guess what I'm wondering is if Mach3 can speak to two motors that have there own controller. I'll check the web and see what I can find on my own.
Thanks.
Bill
Reply With Quote

  #4   Ban this user!
Old 04-02-2006, 01:33 PM
 
Join Date: Apr 2006
Location: USA
Posts: 11
cstmwrks is on a distinguished road

Al,
Thanks for the hints..I looked at the Galil web pages. Am going to contact Excitron about this gem and get some input from them.
Reply With Quote

  #5  
Old 04-02-2006, 02:11 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by cstmwrks
Al,
Any details extra details you can spill on the Mach3 software? Most CNC programs that I have looked at are for 3D router work and the like. I guess what I'm wondering is if Mach3 can speak to two motors that have there own controller.l
This is the problem with intelligent stand-alone controllers, although the Mach3 software does talk to individual drives, they usually input a step and dir. signal directly, I assume your controllers accept a down-loaded program and then set to run. This would have worked for you probabally with out any need for Mach3 etc, if you had had one 2 axis controller.
It also sounds like you don't need interpolated moves, which G code programming offers, this is the synchronized positioning control of two or more axis.
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

Sponsored Links
  #6   Ban this user!
Old 04-02-2006, 03:58 PM
 
Join Date: Apr 2006
Location: USA
Posts: 11
cstmwrks is on a distinguished road

Al,
The basic stand alone controls allow for 24 motion profiles to be saved to memory. Once saved I use hyperterminel to either call up a single profile like P05 then G to run it. Or I select a number of profiles and run them with Q02 09.. this will start the motor running the selected profiles in a none stop loop starting the instant the 9 key is touched and will run 02 03 04 05 06 07 08 09 02 03 untill you give the @ command to stop the motor. It is slick in of its own, but for two motors its a bit of a pain.
This is why I am trying to understand G-code more. These motors can be assigned an address and hooked in simple serial bus mode. It would be great If I could just paste a G-code file in hypertermanil and hit the "go" command but I suspect there is more needed. I imagine G-code is the instuction file, another software has to "put" the file info tothe motor as needed to run. This would be somewhat like the servo command mode that I use now, the motor always " listens" to the connection to hyperteminel and reponds only to commands it recognises.

bill
Reply With Quote

  #7  
Old 04-02-2006, 04:44 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

If you indeed have two separate controllers, it seems the stumbling block is to syncronize the two?
As it looks like you don't need interpolated motion, if indeed one move after the other, then if these units have semi inteligence, including some simple I/O, it may be possible to operate one off of the other in the form of input/output handshake in order to synchronize the operation. Unless the serial communication also allows for communication to each control as well as to the host PC.
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

  #8   Ban this user!
Old 04-02-2006, 04:56 PM
 
Join Date: Apr 2006
Location: USA
Posts: 11
cstmwrks is on a distinguished road

It is an issue, each motor has an internal clock, even two motors running the same profile sets will fall out of sync over time. The current on board software does not allow for my needs.
Reply With Quote

  #9  
Old 04-02-2006, 05:31 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

Which ever way you cut it the answer seems to be you need a 2 axis control of some kind.
If you want to go the G code way, which is a bit of overkill but will certainly give you what you want, you could go with Mach3, you would probabally need step and direction drives however, but you operate right out of the PC.
If as you mention in your first post that there is a considerable time delay involved between moves, Then this could be taken care of with an external timer if it exceeded the limit of any software timer limitation. Or it could wait for a signal input indicating the completion of the first task.
I would have done this originally with a Galil 1500 standalone 2 axis controller, with simple LCD/keyboard interface.
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

  #10   Ban this user!
Old 04-02-2006, 07:41 PM
 
Join Date: Apr 2006
Location: USA
Posts: 11
cstmwrks is on a distinguished road

Al,
I'll look into the details of the Galil 1500. As for time delays most of them are in the 60 to three minute range. One has a 30 minute delay however future changes will reduce that to under 10 minutes.

Bill
Reply With Quote

Sponsored Links
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 08:09 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