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 06-15-2008, 06:01 PM
uberdude's Avatar  
Join Date: Jun 2008
Location: USA
Posts: 5
uberdude is on a distinguished road
Cool Labvolt 5300 Lathe conversion

F1rst Post!

Ok, I currently own a Labvolt 5300 lathe and want to get it to work with EMC2. The problem is that it uses rs232 and proprietary commands that I don't want to deal with. SO, I am willing to create my own controller for it that is compatible with emc, but I need help knowing where to start.

It has 2 stepper motors and individual controller boards for each (pictured) and I am currently trying to figure out how the spindle drive works (PWM?). Any ideas on where to start with building an interface for parallel?
Attached Thumbnails
Click image for larger version

Name:	stepper-controller.jpg‎
Views:	142
Size:	126.5 KB
ID:	61578   Click image for larger version

Name:	insides.jpg‎
Views:	137
Size:	105.0 KB
ID:	61579  
Reply With Quote

  #2   Ban this user!
Old 06-15-2008, 07:13 PM
 
Join Date: Sep 2004
Location: USA
Posts: 147
Dan Falck is on a distinguished road

It looks like the chip on the left (on the chopper drive) is an SGS Thompson L297 stepper controller. You could look for info on the web about this chip and then trace down the step and direction control pins for it. With that info, you could run lines from your parallel port and bypass all the RS232 stuff. I've done this before on a Parker motion control box.
There should be loads of info on the L297 online. If you don't find what you need, let me know.

Dan
Reply With Quote

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

You might also check with this guy. He's trying to buy a couple of the drives you have, if you are interested in retrofitting new drives, but he might also have some info on them.

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

  #4   Ban this user!
Old 06-15-2008, 08:00 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

It looks like SW2-2 is for full step or half step mode.
It appears that SW2 4-7??8 could be for setting the power out level?
I would check to see if J2 is logic power input.
It looks likely that J3 has two pins for motor power in and two pins for a fuse connection. It looks like J4 is the output to the stepper coils.
And that would leave J1 as a probable connector for step, dir, gnd and ???

I can't guarantee these but from the names and positions they seem likely.

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

  #5   Ban this user!
Old 06-15-2008, 08:22 PM
uberdude's Avatar  
Join Date: Jun 2008
Location: USA
Posts: 5
uberdude is on a distinguished road

J1 was hooked up to the original controller, J2 was unused, j3 was power and fuse, and J4 went to the motor.

How would the actual interface for the computer hook up? How would I build the circuit for that part?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-15-2008, 09:46 PM
uberdude's Avatar  
Join Date: Jun 2008
Location: USA
Posts: 5
uberdude is on a distinguished road

After a closer look at J1, there are letters going down the side.

(from the top)
D
C
-
+
Reply With Quote

  #7   Ban this user!
Old 06-15-2008, 10:38 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Originally Posted by uberdude View Post
After a closer look at J1, there are letters going down the side.

(from the top)
D
C
-
+
Plus and minus are likely the logic supply power input pins. Get a data sheet for the L297 and check the pinouts. Then use a VOM to check for where they are connected (if you can't just see the traces). Pin 2 (L297) is gnd and pin 12 is logic power (5v).

Actually I am attaching a L297 datasheet. Pin17 is labeled CW/CCW (that is direction). Pin 18 is labeled clock (that is step). So find which pins on J1 are connected to 17 and 18 then you will have identified your step and dir signals. I would guess that D=direction and C=clock.

Next you should get an optically isolated breakout board that you can use to interface the parallel port to the step and dir signals (along with your limits and other controls).

Alan
Attached Files
File Type: pdf L297datasheet.pdf‎ (104.2 KB, 68 views)
__________________
http://www.alansmachineworks.com

Last edited by acondit; 06-15-2008 at 10:39 PM. Reason: Forgot pdf
Reply With Quote

  #8   Ban this user!
Old 06-16-2008, 09:41 AM
uberdude's Avatar  
Join Date: Jun 2008
Location: USA
Posts: 5
uberdude is on a distinguished road

I traced it and pin 17 is direction (D) and I wasn't able to visually trace (C) but it does appear to go to clock as expected.

Would you recommend any specific opto-isolated board for this? or should I just build my own...
Reply With Quote

  #9   Ban this user!
Old 06-16-2008, 03:48 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Originally Posted by uberdude View Post
I traced it and pin 17 is direction (D) and I wasn't able to visually trace (C) but it does appear to go to clock as expected.

Would you recommend any specific opto-isolated board for this? or should I just build my own...
I personally have used the CandCNC mini-IO BOB but there are a number of boards and preferences around. I have read of several people using Arturo Duncan's C11G, Robert Cambell sells a board from Sound Logic by Jim Cullin, one of the partners in CandCNC.

Do you have a volt/ohm meter? If so, you could check for 0 ohms between pin 17 and the pin labeled 'C'.

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

  #10   Ban this user!
Old 12-04-2011, 07:27 PM
 
Join Date: Dec 2009
Location: USA
Posts: 74
Marty_Escarcega is on a distinguished road

I was wondering if this Labvolt 5300 conversion was ever completed. I find myself with a very clean one. I think I can trace out the step/dir signals and use a standard break out board to convert it. It is running, but do not have the software. Would like to find schematics for the machine IF they are available.

Look forward to hear whether or not this conversion was completed.
Marty
Mesa, AZ
Reply With Quote

Sponsored Links
Reply

Tags
5300, emc2, labvolt, parallel, stepper




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
Anilam 3300/5300 DNC errors and more (ethernet) rschader Machine Problems, Solutions , Wireless DNC, serial port 7 11-18-2010 12:58 PM
PC 200 CNC Lathe Conversion ERL31 Australia, New Zealand Club house 0 06-15-2008 02:56 AM
Lathe VFD conversion GMill7 General Electronics Discussion 3 03-28-2008 04:36 AM
Wiring help for CNC Lathe conversion pbreed Vertical Mill, Lathe Project Log 1 12-04-2005 08:42 PM
CNC lathe conversion (again, sorry!) kong General Metal Working Machines 8 03-27-2004 01:06 PM




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