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 03-12-2008, 06:19 PM
GuntisK's Avatar  
Join Date: Mar 2007
Location: Latvia
Posts: 34
GuntisK is on a distinguished road
EMC2 and lathe retrofitting.

Hi everyone!
Im trying to retrofit old Soviet lathe 16K20T1, and so I have a couple of questions about it.
1) Spindle. There is a 11kw DC servo (Bulgar motors 47MBH) on it. Driver will be somewhat like modified UHU (but not the original one) controller. So-there will be STEP/DIR inputs for spindle. The first question- how threads cutting is controlled in EMC? As I understand to cut a very good threads, the detail need to be set on a zero point (from where cutting is started). Can I set a spindle like A axis? This thing will work or not? Or there is no need in servo? Im very confused with this one...
2) Turret. Can EMC control the lathe turret or there is just a manual tool change possible? I have 6-position, AC motor controlled turret (there is possibilities to change it to servo). Position is controlled with magnetic reed switches.
3) Limit/End switches. What is the situation with those?
Thanks for any help!
Guntis
Reply With Quote

  #2   Ban this user!
Old 03-14-2008, 11:57 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

To thread you need an incremental encoder with an index pulse. The index pulse is what coordinates the spindle so each pass starts at the same spot.

Yes EMC can control your turret. Perhaps someone can chime in with some more info...

Limit/Home switches can be configured any way you like.

John

Last edited by Big John T; 03-14-2008 at 12:03 PM. Reason: correct a mistake
Reply With Quote

  #3   Ban this user!
Old 03-15-2008, 09:12 AM
GuntisK's Avatar  
Join Date: Mar 2007
Location: Latvia
Posts: 34
GuntisK is on a distinguished road

Thanks! Yes-there is an encoder with index pulse mounted on spindle. But what about spindle motor? This means that I can replace an existing DC motor with ordinary 3-phase AC motor?
Reply With Quote

  #4   Ban this user!
Old 03-18-2008, 10:04 AM
 
Join Date: Apr 2005
Location: finland
Posts: 262
andy55 is on a distinguished road

If the DC spindle motor works and you have some way of controlling it that works well enough for you then you can keep it.
There's no need for the spindle to be under closed-loop. When doing threading EMC looks at how the spindle rotates and compensates with Z/X.
Reply With Quote

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

Ok-here is the overview of lathe. As all of You can see- there will be hard work to fully renew it- paint, do some mechanical works, etc.etc, but I will do my best.
In the next picture there is a spindle motor. In this case I will develop speed controller around MCU instead of STEP/DIR type controller as there is no need in this. This must work.
Third is encoder near the spindle shaft. I think there is no need to change it to anoter type as it give all necessary signals.Those encoders still produce in Lithuania, and they are very stable and good protected from electrical noise.
I would be very happy if someone could share with their experience about EMC controlled lathe.
Guntis
Attached Thumbnails
Click image for larger version

Name:	16k20t1.JPG‎
Views:	154
Size:	208.9 KB
ID:	55760   Click image for larger version

Name:	DC11KW.JPG‎
Views:	133
Size:	222.9 KB
ID:	55761   Click image for larger version

Name:	encoder.JPG‎
Views:	116
Size:	154.8 KB
ID:	55762  

Last edited by GuntisK; 03-18-2008 at 06:06 PM. Reason: correcting a mistake
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-19-2008, 08:08 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

Looks like fun

Good luck and keep us updated.

sam
Reply With Quote

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

Hi! New day, new questions. After thinking I conclude, that one LPT port is not enough to fully control lathe (beside step/dir, home/limit switches, spindle encoder there must be spindle on, turret control, coolant on signals (I think that it is not logical to operate these manually, coz there is computer to do this...)). As I know, for example TurboCNC can support 3 parallel ports. What is the situation with EMC?
Sorry about the noob questions- EMC is something new for me...
Reply With Quote

  #8   Ban this user!
Old 03-20-2008, 02:16 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

emc2 will support up to 8 printer ports without modifying the source (strait from one of the developers - says it is a trivial change) There have been for sure people using 3 the I can remember.

If your going to use the printer port to count the spindle encoder - you will want to read this thread

http://www.cnczone.com/forums/showthread.php?t=53960

it has been said that if the encoder is of good quality you should be able to count at close to the freqency of 1/(base period+jitter)

sam
Reply With Quote

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

Thanks Sam for the fast reply!
Hmm- there is spindle encoder with 1000 pulses already installed on it. Maybe too much for this? From the link You given I understood that the ideal would be encoder with 100 pulses per revolution. (luckily I have other the same type with exactly 100 pulses ).
Reply With Quote

  #10   Ban this user!
Old 03-24-2008, 12:13 AM
 
Join Date: Feb 2007
Location: USA
Posts: 531
skullworks is on a distinguished road
1000 ct encoder

Nothing wrong in keeping the higher count encoder, it will provide better feedback at low rpm. The only downside is it will limit the rpm you can thread with. BUT this is not a major limitation for most retrofits.

Only machines built as CNC from the factory can hope to have perfectly matched servos (to the moving mass) to say thread a 7/8-14 @ 2000rpm.

If your lathe ends up being limited to say 800rpm for threading its no big loss.

EMC can handle the turrit and spindle control. You can retain the DC motor or switch to an AC option. EMC is wide open to configure any way you need - provided EMC is getting the required feedback to control the hardware in realtime.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-27-2008, 05:07 AM
GuntisK's Avatar  
Join Date: Mar 2007
Location: Latvia
Posts: 34
GuntisK is on a distinguished road

For me everything now looks like in schematic drawing below.Full circuit will be later. But... still dont know how to control that turret. Ok-there is possibility to use something like "semi-automatical tool change" by using microcontroller based device, but hey-thats not cool!
Attached Thumbnails
Click image for larger version

Name:	latheschematic.jpg‎
Views:	140
Size:	61.8 KB
ID:	56454  
Reply With Quote

  #12   Ban this user!
Old 03-27-2008, 08:02 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

couple things.. How are you going to change the spindle direction?

Also - your going to need the A/B lines from the encoder hooked up also. (this isn't mach you know )

sam
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
Retrofitting an Older Light Machines CNC Lathe brainstatic General Metal Working Machines 4 02-01-2009 07:35 PM
retrofitting CNC lathe prash General Metal Working Machines 4 09-20-2007 02:55 AM
Retrofitting a control carbidecraters Fadal 20 07-23-2007 09:44 AM
Lathe Gui for Emc2 R.thayer LinuxCNC (formerly EMC2) 2 11-28-2006 01:33 PM
Retrofitting a Bridgeport kuchean Servo Motors and Drives 14 07-24-2006 01:46 PM




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