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! > Electronics > Rutex Products > Servo Drives


Servo Drives Discuss all Rutex servo drives and get direct support!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #37   Ban this user!
Old 05-31-2006, 07:30 PM
 
Join Date: Dec 2005
Location: USA
Posts: 3,319
NC Cams is on a distinguished road

I learned my lesson about optoisolation on my Fanuc's.

The lesson: Use OPTOISOLATION.

Can be a PITA to do as you have to be careful NOT to connnect grounds 'tween the PC and the device being connected to. It may also be difficult to get 5vdc "out" to power the opto on either side.

You can use diode array to pull power from the signals on LPT side and dump to a capacitor - plenty enough power to run the opto.

With a bit of creativity, you can also get power on "outside" via wall transformer to power the isolation circuit. Worst case, a 9V battery will last years.

I learned subsequently that it costs roughly $60 to have 3 a opto isolated boards etched and drilled from ExpressPCB. The design and layout software is FREE. Add another $5 for parts - figure $20 worst case.

In comparison, my Fanucs' have several THOUSAND in repairs due to NOT using proper isolation of LPT port and the Fanuc M/B's.

Don't even TRY to persuade me that you can't afford to do it right.

Having done it myself and learned in the process, if you fry a computer, the LPT port or an expensive CNC controller, you can find SYMPATHY in the dictionary somewhere between CRAP and VENERIAL DISEASE......
Reply With Quote

  #38   Ban this user!
Old 09-12-2006, 06:05 AM
 
Join Date: Dec 2003
Location: UK
Posts: 218
UKRobotics is on a distinguished road

Is it possible to purchase a parrallel port opto-isolator circuit with a db25 connector on each end, a power supply and all the relevant opto electronic gubbins in the middle to make it all work in a simple plug and play turnkey solution ?
__________________
Dom
http://www.ukrobotics.com/projects
Reply With Quote

  #39   Ban this user!
Old 09-18-2006, 09:38 PM
 
Join Date: Mar 2006
Location: USA
Age: 37
Posts: 36
DanC is on a distinguished road

I just read through this entire post with a little fear and some hope. I am slowly putting together the hardware for my first CNC machine and have been trying to absorb and learn as much as I can. I think I will pick up the book that NC Cams recommended.

Right now all I have is a computer with controller software. I decided to buy the parallel interface board from CNC4PC. http://www.cnc4pc.com/Parallel_Port_Interface_Card.htm I just ordered it a few days ago, so I have not recieved it yet. I haven't decided what servo drives to use, that's why I've been reading in the Rutex forum. I am going to use MCG ID33003 brush motors.

Anyway, there has been alot of food for thought here.
Reply With Quote

  #40   Ban this user!
Old 09-20-2006, 07:43 PM
 
Join Date: Aug 2006
Location: USA
Posts: 2,624
kreutz is on a distinguished road

Some of the stepper and servo controllers come with input signal opto-isolation (e.g. Gecko's). In that case you don't need to isolate again those pins on the port. Make sure you isolate all the inputs (limit and home switches) as well as the rest of the outputs from the parallel port (spindle on-off, cooling control, etc.)

For those of you who can manufacture your own printed circuit boards there are schematics on the Internet. Just make sure you keep separate PC port ground and pins from CNC equipment ground. Also you can provide +5volt from the USB port to supply the PC part of the interface, keep it separated physically on the board from +5 and/or +12 volt necessary to supply the CNC part of the interface.

Use high speed opto-isolators for the Step and Dir signals. Spindle on-off, coolant control, etc can use low speed opto-isolators , solid state or electro-mechanical relays.

Hugo.
Reply With Quote

Sponsored Links
  #41   Ban this user!
Old 09-21-2006, 12:06 AM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Originally Posted by kreutz View Post
Make sure you isolate all the inputs (limit and home switches)
Hugo.
If the inputs are just mechanical switches it is not necessary to add the extra silicon, you just use the PC side 5V and the pc side ground, and don't mix the switch input wiring grounds with the machine side.

However, if it is an expensive machine and the input switch wiring is exposed where it could be damaged, then yes the input optos would make sense. But you shouldn't have exposed wiring anyway.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #42   Ban this user!
Old 09-21-2006, 12:16 PM
 
Join Date: Aug 2006
Location: USA
Posts: 2,624
kreutz is on a distinguished road

Phil, you are right.

Due to the nature of CNC work the environment is not ideal for electrical wiring integrity, eventually wires will get wet, damaged, broken or micro switches contacts will short against the machine body. The safest and, in the long time, less expensive way is using isolation.

There are alternatives to opto-isolators they are called "i-couplers" from Analog Devices. I guess opto-isolators are easily available to more people around the world.

Hugo.
Reply With Quote

  #43   Ban this user!
Old 09-21-2006, 12:53 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

[QUOTE=kreutz;199307]

Due to the nature of CNC work the environment is not ideal for electrical wiring integrity, eventually wires will get wet, damaged, broken or micro switches contacts will short against the machine body. QUOTE]

The machine body better be safety grounded. And in that case, unless there is some AC ground fault on the circuit the PC is plugged into, it will make no difference.

I'm not discounting isolation, but bottom line, it takes a fault or miswire situation for isolation to be of benefit. That situation should be detected and fixed before anything is hooked up! I'd much rather have a circuit fail than an injured (or worse) operator.

(p.s. I've seen the I-couplers, but my fear is they are single source)
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #44   Ban this user!
Old 11-04-2006, 10:43 PM
 
Join Date: Mar 2004
Location: Canada
Posts: 74
BCwanderer is on a distinguished road
Speeding up Garden Variety Optocouplers

http://www.cel.com/prod/prod_optoapp.pdf
Here is an interesting article that shows how to speed up a slow optocoupler with a resistor to the base pin of the opto-transistor.

I tried it with a SFH601 and a Siemens IL5 optocoupler and it works.
The unit was choking on the turnoff time.
When the 200,000 ohm resistor was added between the base and ground, the speed increased about 5 times.
I tried a lower value resistor and the output voltage dropped to half the previous value.
I was able to get a good signal up to 12 msec wide. At 8 msec It was getting pretty sloppy but it made it to the top and down again to the bottom.
This would be fast enough for most of the medium speed applications.
The screamers with 1/16 step and high speed would still have to upgrade to high speed optos.
The best signal was with an emitter follower load of 1100 ohms.
Input resistor was best at 270 ohms for the SFH601 and 320 ohms for the IL5
The sweet spot for the SFH601 base resistor with emitter follower was 320k.
The sweet spot for the SFH601 base resistor with the load on the collecter was 65K
The IL5 took much less resistor.
This was with a signal of about 3 volts output swing with about 10 ma input across the LED.
That would be good enough for a A3986.

More testing to come.

Cheers
Attached Thumbnails
Click image for larger version

Name:	Opto_with_resistor_10us.jpg‎
Views:	84
Size:	27.7 KB
ID:	25246   Click image for larger version

Name:	Opto_without_resistor_10us.jpg‎
Views:	66
Size:	33.8 KB
ID:	25247   Click image for larger version

Name:	Opto_with_resistor_100us.jpg‎
Views:	73
Size:	25.3 KB
ID:	25248   Click image for larger version

Name:	Opto_without_resistor_100us.jpg‎
Views:	71
Size:	41.9 KB
ID:	25249  

Click image for larger version

Name:	5_msec_signal_with_base_resistor.jpg‎
Views:	81
Size:	35.6 KB
ID:	25258  

Last edited by BCwanderer; 11-10-2006 at 08:53 AM. Reason: pictures
Reply With Quote

  #45   Ban this user!
Old 06-13-2008, 08:56 AM
 
Join Date: Nov 2006
Location: usa
Posts: 16
xtal is on a distinguished road
experimental parallel port isolator

Heres an untested parallel port isolator,,,I'm planning to use with a
HobbyCncPro board ....

note the added attempt for adding some filtering to the input lines
can also mount 2 7805 regs if wanted ...

DIY cost would not be to great...

I plan to use PS2501 [4 pin isolator from Jameco]
Many of the resistors are vertically mounted with a common voltage bus
connecting resistors then connect to pcb
The zip file is the expresspcb layout

Again this is untested,,but I see no reason why It wouldn't work...
Attached Thumbnails
Click image for larger version

Name:	opto-pcb.jpg‎
Views:	173
Size:	145.7 KB
ID:	61433   Click image for larger version

Name:	opto-sch.jpg‎
Views:	192
Size:	72.7 KB
ID:	61434  
Attached Files
File Type: zip opto-C.zip‎ (26.2 KB, 114 views)
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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