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! > OpenSource CNC Design Center > OpenSource Software


OpenSource Software For the Discussion of Opensource CAD/CAM and NC shareware software etc)


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #13   Ban this user!
Old 11-09-2005, 12:21 PM
 
Join Date: Nov 2005
Location: United States
Posts: 2
John_PE is on a distinguished road

Originally Posted by anoel
...Also there was a really cool demo at the PDC show where there was a company that was doing "Realtime" OS with windows by running WindowsCE underneath Windows XP and the software was marshalling commands from XP to CE which in turn commanded a really cool milling robotic arm in realtime.
The robot controller was actually running Windows XP along with the VxWorks RTOS. There was a computer sitting next to the robot controller running MasterCAM piping the path data over a NULL modem connection. The robot was a 250KG model manipulating a router spindle type end-effector. You can read more about the control software at www.kuka-controls.com

/ Disclaimer - I do work for KUKA Robotics and was the engineer supporting the PDC display.
Reply With Quote

  #14   Ban this user!
Old 11-09-2005, 12:33 PM
 
Join Date: Nov 2005
Location: United States
Posts: 2
John_PE is on a distinguished road

Originally Posted by GregMM
Hey switcher, I do have a site, however there isnt anything there right now, the first couple betas will probly just be posted here, but it will probly be a little bit before its ready for a beta, im actually taking a robotics course in college right now, and I am experimenting with a more universal approach to the program, rather then making it 3 axis/4 axis/etc, im going to try and make it support unlimited axes using a machine configuration file which will be able to hold wither the Denavit-Hartenburg Notation paramaters for generating the coordinate frame transformation matrix, or the transformation matrix itself, but using these matricies, I should be able to generate a jacobian matrix to do inverse kinimatics (figuring out how much to move along the axis in the axis's coordinate plane, in order to get tot the point in the base frame, or real world coordinates) should make things pretty interesting and should only need three types of joints, prismatic (linear actuator type joints, like normal X, Y, Z axes), revolute (rotational axes, like a fourth/fifth/etc axis), and a special case of the revolute joint that will rotate based on time like the rotating part of a lathe, although the last is actually only used in simulation), I also want the machine description to include 3d parts for the simulation, as it would look cool to have a good looking solid simulation with the machine and all, instead of just the toolpath
Good luck with your project. Don't spend too much time deriving a completely general kinematics model - just cover the basic machine configurations. Also don't forget about joint singularities where applicable.

Windows is notoriously inconsistent for motion control applications. I would not recommend attempting to update motor positions/velocities with a period less then 50 milliseconds.
Reply With Quote

  #15   Ban this user!
Old 01-02-2006, 09:21 PM
 
Join Date: Jun 2004
Location: United States
Posts: 7
GregMM is on a distinguished road

ok still working on it, got a little side tracked with all the .net 2.0 stuff, but its looking pretty good, converted all collections to generics which sped up the code a lot, worked a little bit on solid generation (although its still pretty crappy right now, its really just a surface the moves to lowest z on the tool path, im going to be taking a simulation course this semester so hopefully ill be able to get some sort of actual solids going, if anyone knows of a good tutoiral on solids from a programming perspective, it would be cool if you could post the links here) worked on the interface a little bit, .net 2.0's toolbars are soo much better then the originals, changed to only supporting 6 axes instead of a variable number for speed reasons and also GCode only supports 6 axes XYZABC, plus im sure most of the machines here arent running more then 6 axes heh, well heres a screenshot of what it looks like so far
Attached Images
File Type: jpg CNCSharpJan2.jpg‎ (160.3 KB, 302 views)
Reply With Quote

Sponsored Links
  #16   Ban this user!
Old 01-06-2006, 12:40 PM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road

Greg,

I need a little clarification. Is this a cam program or a motion control i.e., mach2/3/4? I first though you were doing a cam program but it seems now it is a motion controller. ?? Edited to add Duhhhhhh! I just went back and re-read your original post! Sorry.

John_PE,
Do I understand correctly that the program will control a robot like we see doing welding and things? Does it use gcodes, output signals for the motors?
More info please,such as, is the program available, now and how expensive or affordable?

Mike
__________________
No greater love can a man have than this, that he give his life for a friend.
Reply With Quote

  #17   Ban this user!
Old 03-10-2006, 06:47 PM
 
Join Date: Jun 2004
Location: United States
Posts: 7
GregMM is on a distinguished road

Just wanted to say that this project is not dead, its been put on hold for a while, Im taking a game programming class in college so most of my time lately has been working on that, probly going to order some motor controllers soon, so ill be able to actually test movement (atleast as rotation is concerned, dont know when im going to get around to building the actual machine, hopefully not too long after the semesters over though)
Reply With Quote

  #18   Ban this user!
Old 07-31-2006, 06:22 PM
 
Join Date: Apr 2005
Location: USA
Posts: 39
GisMo is on a distinguished road

GregMM,
I am VERY interesting in your project. What's the status? If your interested, I've got tons of suggestions.

GisMo
Reply With Quote

  #19   Ban this user!
Old 03-18-2009, 03:08 PM
 
Join Date: Mar 2009
Location: Slovenia
Posts: 1
rozanc is on a distinguished road

very nice I can't wait to see the code
Reply With Quote

  #20   Ban this user!
Old 09-05-2011, 10:15 AM
 
Join Date: Sep 2011
Location: Canada
Posts: 1
PatrickKeenan is on a distinguished road

Hi GregMM,

I am working on a similar project, are you still working on this one? (last post is from 2009) I have come to the realization that what a lot of people say about the CLR and .Net is true: .Net is not ideally suited to real-time. After buying a dual parallel port card and spending a week nailing down parallel port control on my system (Windows 7 OS, 64bit) by altering the code from Levent Saltuklaroglu (see I/O Ports Uncensored - 1 - Controlling LEDs (Light Emiting Diodes) with Parallel Port - CodeProject) to talk to my motor driver (SOC Robotics MK5 5-axis) and finding the drivers and .dll that will work on 64 bit (if anyone wants this send me a message), I have run into the following problem: I cannot change messages to the port in less than a millisecond. If I want to pulse a step pin high I either need to Thread.Sleep(1 ms minimum) or spin for a machine dependent amount of time and completely tie up a processor before I make it low again and after that I need to wait at least another millisecond before I step again. This is resulting in slow rpms. The manual for the MK5 says I only need to hold the step pulse high for at least 10 micro seconds.

this is not a downer post however, I plan to use a work-around. Page 12 of "Threading in C#" by Joseph Albahari has some very interesting things to say about real time but even he says "Even with an elevated process priority, there’s a limit to the suitability of the managed environment in handling hard
real-time requirements. In addition to the issues of latency introduced by automatic garbage collection, the operating
system may present additional challenges—even for unmanaged applications—that are best solved with dedicated
hardware or a specialized real-time platform." Taking this advice I plan to go the dedicated hardware route. I have an Arduino Mega sitting around that seems perfectly suited to this. The mega has time granularity down to micro seconds (Arduino - Micros) and since I wont be driving anything besides logic it should be really stable. Besides, it will make a nice open-source statement and look cool stacked on top of the green MK5. My rough strategy is this: I will create a vector (x1(t), x2(t), x3(t), x4(t), x5(t)) on the pc with t = startTicks - Now.Ticks (System clock and Now.Ticks has granularity down to one hundred nanosecond intervals), I will send messages to the microcontroller telling it these goal positions, If the actual position is farther away from the goal than it was in the previous cycle then it will speed up, if its closer it will slow down, when a limit switch is closed for a given axis its position will be reset to 0 or max to account for miss-steps...

I plan to use Math.Net to handle the symbolics, derivatives, and interpolations.

I have not looked at the graphics part yet but what you have looks really good. I would be very interested to see the code that produced those renders. Any advise out there from people dealing with similar obstacles would be very appreciated.

_PK

Last edited by PatrickKeenan; 09-05-2011 at 11:14 AM.
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 01:00 AM.





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