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 > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-12-2008, 02:07 PM
 
Join Date: May 2006
Location: South Africa
Posts: 22
Whacko is on a distinguished road
Reverse

I did some searching on the wiki, and in the documentation, but I don't seem to find a function to reverse the machine position along the program path. This is usefull and essential for applications like flame cutting and plasma cutting if you lost the cut, hit the pause, and need to backup to the point where the cut was lost, so you can restart the cut. I've set up a machine and ran it sucessfully with EMC2 on UBUNTU 804 dist, and it is impressive. It has the edge over Windows as far as realtime is concerned. Is there an option for running in reverse?

Whacko
Reply With Quote

  #2   Ban this user!
Old 11-12-2008, 11:12 PM
SpeedsCustom's Avatar  
Join Date: Sep 2006
Location: US
Posts: 1,462
SpeedsCustom is on a distinguished road

I have been trying to figure it out too....Or fast forward to. I can't seem to do it, and I have been using it for about 9 months.


-Jason
Reply With Quote

  #3   Ban this user!
Old 11-12-2008, 11:28 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

There has been a lot of discussion on the irc and in the emc user mail about restart from a point. I don't recall exactly how it is done (and I believe that people are still trying to figure out how to improve it) but there is some ability to back up to some point in the code and restart (this is not the same as running the code in reverse).

Some of the issues are turning on spindle, coolant (or in your case the plasma torch), inserting the proper tool and setting the state of various variables that would have been calculated had the program ran to that point.

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

  #4   Ban this user!
Old 11-13-2008, 09:47 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

There is no "reverse" in EMC. There is "start from line" and many improvements have been made to that lately. In 99% of machines you would not want to "back up" without manually raising the tool from the work piece, shutting off coolant etc. The exception being devices like plasma that are not in direct contact with the work piece. In any case you position your tool to the sensible position and select the line you wish to start with and do a Set Next Line from the menu. Then run.

http://www.linuxcnc.org/docview/html...is.html#r1_3_1

As always practice this without a tool in place so you understand the results.

John
Reply With Quote

  #5   Ban this user!
Old 11-13-2008, 11:12 AM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

If you want that feature (I agree that would be handy) you should add it as a feature request at http://sourceforge.net/projects/emc/ or inquire at the maillist for emc:
emc-users@lists.sourceforge.net
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-14-2008, 06:38 PM
 
Join Date: Feb 2007
Location: USA
Posts: 531
skullworks is on a distinguished road
Thumbs up Reversing path

IIRC this was requested long ago. It was one of the needed functions for EMC2 to be adaptable for Wire EDM use. It has been a back burner issue since because there is not a lot of users attempting wire EDM conversions and other features have a more broad appeal and usefullness for the average user.

To put this in prospective this issue was looked at before rigid tapping and many of the other new great features that have been added to EMC2. Several M functions and other utility were added at that time. It will come in due time.

Another point to consider is that most of the people who write the code for EMC are doing so without a real machine testbed (of the exact type) for what they are writing. While I say this in jest - It does have a point. We have "the blind leading the blind" and without users suppling good trouble shooting feed back it often takes awhile to fine tune some issues or features.

Reply With Quote

  #7   Ban this user!
Old 11-26-2008, 03:53 PM
 
Join Date: May 2006
Location: South Africa
Posts: 22
Whacko is on a distinguished road

I can implement this via an embedded aproach, recording the toolpath in a memory buffer, and do reversing out of the EMC control, but obviously this would be a great feature if it would be included in the EMC environment. It should be possible to add some threads that would do the backtrace buffer but it would add some overhead to the realtime kernel. I know about the "run from here" feature, but it's cumbersome in especialy a plasma or flame cutting application, since the reverse is mostly needed in a block. If the cut is lost into a line, it is difficult to restart at the start of the line due to the plasma arc stable input which will not be true on the section which has been cut, and a lot of plasma machines will timeout if the arc transfer is not sensed. A work around is to put a piece of scrap over the section that has been cut, but sometimes this causes the scrap to be welded onto the work. Any ideas?

Whacko
Reply With Quote

  #8   Ban this user!
Old 12-01-2008, 09:21 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

If you loose your arc often enough that this is a big problem perhaps you should look at your plasma hardware. Not only would you need to start at the point of failure but you also would have a lead in move to figure so for a plasma application you would really have to start from scratch up to the next segment.

John
Reply With Quote

  #9   Ban this user!
Old 12-01-2008, 11:06 AM
 
Join Date: May 2006
Location: South Africa
Posts: 22
Whacko is on a distinguished road

Hi John,
No problems, it happens. Not often, but it does. And when the cut is in the middle of a huge nest, on an expensive 316 SSteel plate, the neccesity of a reverse function becomes apparant. The lead in is really only neccesary for the pierce, as piercing creates a bad cut area, so to restart at the lost cut point is same as edge start, no need for piercing. The hardware is Hypertherm machines, the best quality machines, we are channel partners with Hypertherm and have sold many machines for the CNC mechanized market. We manufacture CNC flatbed machines and used to fit Burny controls, got disappointed with them(price and service), moved to Wescan (Linatrol) and ended up using PC based systems. Mach3 works very well except for the realtime issue.

Regards,
Whacko
Reply With Quote

  #10   Ban this user!
Old 12-01-2008, 11:51 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

So if you did a start from line and had a button to interrupt the torch start until you got to the point where you needed the torch to start would that work? BTW, start from line has been improved in EMC as far as showing the last line to run and some other things I forget at the moment.

When the arc stops are you stopping the torch movement? I know on my Hypertherm 1250 I have a arc good contact... I use it to wait for the arc before starting movement. I assume without looking that it could be used to stop the movement as well and perhaps set off an alarm.

I can understand your desire for this now as you are selling machines and need the best solutions so you can sell more machines.

John
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-01-2008, 02:03 PM
 
Join Date: May 2006
Location: South Africa
Posts: 22
Whacko is on a distinguished road

Yes, the arc good signal does stop the motion but the torch ends up futher down the line due to the ramp down of the motors or else an exact stop will cause some steps to be lost on the stepper gantry. On the servo systems it is less of a problem, as the loop is closed and the servos will back up the overshoot. One can effect a restart by a few methods, as the one you mentioned or with a piece of scrap over the plate so the arc good signal will become effective.

I haven't sold a machine with the EMC on yet, I'm still getting to know the system and getting into the development side as I've only recently taken the plunge to Linux. I have built and sold many machines with the Wescan and Burny controllers, and three with the Mach3 interface. I suppose I'm a bit late on my move to Linux, but rather late than never as they say.
The 1250 is a great machine. We build machines including the Powermax range up to the mechanized plasma's like the HPR260 and the Max200's . I have a RND machine set up as a gantry with steppers and EMC and the new Powermax 45 mech system. This is going to be my experimental system until I'm comfy with Linux and EMC. It is running and I'm getting some great results.
I use my own height control and it does the initial height, pierce height etc. Then goes over to arc height control. I'm looking at the development side as I need a comparator to check the actual feedrate agains the commanded feedrate so I can have a signal to inhibit the arc height control when the feedrate slows down for corners and small lines and arcs. Someone might have implemented this in EMC already but I havent seen any docs or threads here about this. Do you know if someone has done this already? One don't want to reinvent the wheel.

Best regards
Whacko
Reply With Quote

  #12   Ban this user!
Old 12-01-2008, 02:33 PM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

Originally Posted by Whacko View Post
I use my own height control and it does the initial height, pierce height etc. Then goes over to arc height control. I'm looking at the development side as I need a comparator to check the actual feedrate agains the commanded feedrate so I can have a signal to inhibit the arc height control when the feedrate slows down for corners and small lines and arcs. Someone might have implemented this in EMC already but I havent seen any docs or threads here about this. Do you know if someone has done this already? One don't want to reinvent the wheel.

Best regards
Whacko
I use a floating head with a micro switch to "find" the material top. Seems to work well for me. I think Carl and Jarl did that with a comparator in EMC.

http://www.dallur.com/index.php?id=130

and

http://wiki.linuxcnc.org/cgi-bin/emc...Height_Control

I started to do that but the results with my floating head were fine for me. Anyhow it is easy enough with HAL once you get the hang of it to do pretty much what you want.
Speaking of small lines and arcs are you using G64 Pn.nnn for your path control? For high speeds like plasma with artsy fartsy stuff with a zillion lines/arcs it really makes a big difference on keeping the speed up.

John
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with reverse engineering randycasey Solidworks 5 10-06-2008 05:56 PM
reverse x + and - jybute Haas Mills 8 06-03-2008 12:13 PM
Reverse frankg521 Mach Mill 3 08-05-2007 09:08 PM
Reverse? UKRobotics General Metal Working Machines 3 09-11-2006 06:20 PM
Reverse CNC adwsystems General CAM Discussion 4 05-16-2006 07:05 AM




All times are GMT -5. The time now is 05:28 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