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 > TurboCNC


TurboCNC Discuss TurboCNC controller software here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-28-2008, 05:55 PM
GuntisK's Avatar  
Join Date: Mar 2007
Location: Latvia
Posts: 34
GuntisK is on a distinguished road
Tool changer (lathe)

Hi everyone! I have an old cnc lathe to rebuild. It has a turret that handle 6 tools. At the beginning I wanted to use EMC2, but then I change my mind because TCNC is more compatible with old system.
Could someone explain me how exactly automatic toolchanging can be done in TCNC? Did TOOL TURRET INDEX send a number of pulses of a tool? For example: when instruction M06 T4 is executed, there is a 4 pulses on TOOL TURRET INDEX pin or what? Need a help here.
Guntis
Reply With Quote

  #2   Ban this user!
Old 05-29-2008, 02:08 PM
The Blight's Avatar  
Join Date: Sep 2006
Location: Denmark
Age: 27
Posts: 563
The Blight is on a distinguished road

There is only one pulse from TCNC. You can set how long this pulse is going to be though.

So if you want to change tool, you will either have to place the next tool to use on the upcomming slot, or write several M6 commands. I'm trying to place the next tool I'm using in the next slot. If thats not possible, I will just have to repeat the M6 command a couple times..

I have been toying with the idea of making a separat tool changing computer (just a microcontroller with LCD display and a simple keypad) which keeps track of what tool is to be used next and so indexes to this tool. My tool changer is already controlled by a microcontroller, so adding a feature like this should not be too hard.
Reply With Quote

  #3   Ban this user!
Old 05-30-2008, 02:28 AM
GuntisK's Avatar  
Join Date: Mar 2007
Location: Latvia
Posts: 34
GuntisK is on a distinguished road

Mmm! Thanks The Blight! So that signal just means: change to the next tool. I thought about using of a PLC here. Logic for that toolchange is this: PC gives a signal to change to Tn (n is a tool number), from another pin there goes PLC handshake signal that tell PLC to switch on a motor, instrumental disc is moving. Position is controlled by six magnetic reed switches, when there is the right tool for example T6, switch with the same number gives a log.1. to PLC, PLC gives a signal to reverse motor to lock instrumental disc, then the shaft press a microswitch, again the logical.1. signal goes to PLC input, PLC send signal to pin "PLC handshake sense". Tool is changed, everything is ok, TCNC can execute next line of program. This would be ideal for this purpose.
Reply With Quote

  #4   Ban this user!
Old 05-31-2008, 05:58 PM
The Blight's Avatar  
Join Date: Sep 2006
Location: Denmark
Age: 27
Posts: 563
The Blight is on a distinguished road

Sounds good enough. I use stepper motors for my tool changer. The only problem with this system is that if one of the motors loose a couple steps, you can end up with a machine trying to take a cut that is not locked in place, or take a cut with the wrong tool.

I was thinking about another method on how to tell the controller what tool you want to use. Connect another axis output where you can write the tool number. On the controller for the ATC, you can check this line for which tool to use next. The bad side of this would be that you can't use the T word. In my eyes that would be too messy. I like a clean code, so I'm just setting it up to use the next tool in line.
Reply With Quote

  #5   Ban this user!
Old 06-01-2008, 05:10 AM
GuntisK's Avatar  
Join Date: Mar 2007
Location: Latvia
Posts: 34
GuntisK is on a distinguished road

I got an idea. You said that Your tool changer use a stepper motor. I know that in TCNC there can be set an axis which use angular positions so called A, B, C axis). For example we have 4 tools. 4 tools = 360 degree. So the stepper motor should rotate every 90 degrees to change to another tool. Just write a simple code in the line and You got it! At this moment it seems to be a simplest solution for this. Sad, that I cant use it in my system.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-01-2008, 11:52 AM
The Blight's Avatar  
Join Date: Sep 2006
Location: Denmark
Age: 27
Posts: 563
The Blight is on a distinguished road

I have set my changer up as a linear axis at the moment going from 1 to 4. I think I have set it as the Y axis (lathe), and if I type G00 Y1 it goes to tool pos. 1. First I have to release the locking pin, which is axis A. So G00 A1, G00 Y1, G00 A0 is a tool change. I just need to hook up the new microcontroller so that it takes care of the whole tool change with offsets for the locking pin and a home position sensor.

How does your tool changer work? Got any pictures?
Reply With Quote

  #7   Ban this user!
Old 06-05-2008, 05:33 PM
GuntisK's Avatar  
Join Date: Mar 2007
Location: Latvia
Posts: 34
GuntisK is on a distinguished road

Hi! Sorry for my late answer.
This one works exactly I explained in my previous post where I mentioned PLC- except is that there is used special electroautomatic control board instead of modern PLC. I found very interesting homepage where is explained how to build simple PIC based PLC : http://getok.net/plc2pic/index.php?next=index . Maybe it is worth to build one? Another idea is to change TCNC code in a way that TCNC gives in output a number of pulses equal to number of tool. T4 for example gives 4 pulses on some LPT pin. This would be more and more easier than it is now...
Aaa-and here are some photos:
Attached Thumbnails
Click image for larger version

Name:	toolchanger.JPG‎
Views:	231
Size:	119.2 KB
ID:	60945   Click image for larger version

Name:	toolholder.JPG‎
Views:	207
Size:	118.2 KB
ID:	60946   Click image for larger version

Name:	korpuss.JPG‎
Views:	193
Size:	118.7 KB
ID:	60947   Click image for larger version

Name:	tmotor.JPG‎
Views:	195
Size:	121.8 KB
ID:	60948  

Click image for larger version

Name:	turret2.JPG‎
Views:	200
Size:	118.8 KB
ID:	60949   Click image for larger version

Name:	magnsens.JPG‎
Views:	228
Size:	185.2 KB
ID:	60950   Click image for larger version

Name:	controlswitch.JPG‎
Views:	176
Size:	173.5 KB
ID:	60951   Click image for larger version

Name:	painting.JPG‎
Views:	196
Size:	163.3 KB
ID:	60952  

Reply With Quote

  #8   Ban this user!
Old 06-06-2008, 05:00 PM
The Blight's Avatar  
Join Date: Sep 2006
Location: Denmark
Age: 27
Posts: 563
The Blight is on a distinguished road

Looks like a nice project, and a beautiful cleanup so far.

That PLC circuit looks simple enough, and it should work just fine if you can hook it up. Do you know how to program in turbo pascal? If you get around to do some changes in TCNC, please share. I tried to get into programming pascal, but I gave up shortly after.
Reply With Quote

  #9   Ban this user!
Old 06-07-2008, 07:27 AM
GuntisK's Avatar  
Join Date: Mar 2007
Location: Latvia
Posts: 34
GuntisK is on a distinguished road
Smile

A good friend help me a lot in programming. Now we are trying to make TCNC multilingual (english, latvian and russian languages in one program, later maybe some other). If everything goes in a good way, then TCNC will became as a special OS for cnc machines. Of course I will share with the results. I must say many thanks to Dave Kowalczyk for this great program and his efforts to write it. It is really great and easy to use program.
The Blight- can You show a pictures of Your toolchanger?
Reply With Quote

  #10   Ban this user!
Old 06-08-2008, 03:56 AM
The Blight's Avatar  
Join Date: Sep 2006
Location: Denmark
Age: 27
Posts: 563
The Blight is on a distinguished road

TCNC is really easy to use, and it has lots of functions. I think it's a great piece of software, and I don't think I will change. Dave has started working on it again it seems. I hope he fixes some of the bugs and adds a couple new features.

The ATC is for my mini lathe (which I also have built myself), and it's for taking light cuts. I have taken 2mm cuts in brass, and it doesn't complain. I get some vibrations when using a 2mm parting tool, but it does work.




Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-19-2008, 10:03 PM
PEU's Avatar
PEU PEU is offline
 
Join Date: May 2005
Location: Buenos Aires - Argentina (I like Ribs)
Age: 44
Posts: 921
PEU is on a distinguished road

wow, very nice ATC, I would like to have something like it for my Syil C6, do you know where can I find ready made ATC like the one you built?
Reply With Quote

  #12   Ban this user!
Old 06-20-2008, 02:39 PM
The Blight's Avatar  
Join Date: Sep 2006
Location: Denmark
Age: 27
Posts: 563
The Blight is on a distinguished road

I think Enco have one, but I don't know how much it costs. There is lots of plans out there on how to make one. The problem is doing just that. I have heard some talk about using a rotary table to hold the tools. Might work if there is no slop in the system, or if you find a good locking system.
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hoss 16 Tool Automatic Tool Changer hoss2006 Benchtop Machines 316 03-03-2011 03:29 PM
Lathe & Tool Changer Design (WIP) Noodles87 Vertical Mill, Lathe Project Log 8 03-12-2008 11:49 PM
Intelitek 0400 Lathe and Tool Changer Too_Many_Tools Mini Lathe 4 08-24-2007 02:04 PM
Source for an affordable bench lathe tool changer. Green0 Mini Lathe 1 07-17-2006 06:51 PM
Any lathe tool changer plans around? kong General Metal Working Machines 17 05-04-2005 01:31 AM




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