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 > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-04-2009, 04:26 AM
 
Join Date: Feb 2005
Location: UK
Posts: 109
George is on a distinguished road
Using inductive sensors with Mach3 & C11

have obtained a quantity of nice NPN inductive sensors which I am using with the C11 board. Each sensor has a small indicator LED which lights up whenever a metallic object is within range. Lets call this the indicator.

If I connect the sensor to the +12v supply the indicator lights up whenever a metallic object is within range (approx 2mm) so far so good, they seem to work.

I'm usind two sensors wired in parallell as in the diagram attached. One will be at each end of my screws and act as linmit switches. One end will double up as the home switch.

The sensors are using an independant 12dc supply. the ground of the supply is connected to the ground of the C11 board. When I connect the output of the sensor to the input of the C11 the indicator LED lights up. It cahnges brightness when a metallic object is in range and the C11 board detects the change also. When the change is detected Mach3 does exactly as it should.
The Led on the C11 board switches on and off as it should.

OK this seems fine EXCEPT that
If I disconnect the sensors at the point marked X on the sketch then there is no difference at all in the way things are working as described above. The 12v from my external supply goes to the C11 input via a 4.7k resistor as shown. The negative of my supply for the sensors is connected to the C11 board.

This is most puzling, and lends me to believe the sensors are wrong.

Can anone help me wire these correctly ?

Many thanks

George
Attached Thumbnails
Click image for larger version

Name:	opto.jpg‎
Views:	114
Size:	53.3 KB
ID:	80780   Click image for larger version

Name:	SensorMach3.jpg‎
Views:	82
Size:	42.0 KB
ID:	80782  
Attached Files
File Type: pdf SensorMach3.pdf‎ (321.5 KB, 116 views)

Last edited by George; 05-04-2009 at 05:04 AM.
Reply With Quote

  #2   Ban this user!
Old 05-04-2009, 07:10 AM
 
Join Date: Jan 2008
Location: USA
Posts: 1
zsogal is on a distinguished road
Using inductive sensors with Mach3 & C11

George,

Not sure what you mean by "If I disconnect the sensors at the point marked X on the sketch then there is no difference at all in the way things are working as described above." You describe both a "so far so good" condition and also a changing of the brightness condition. And I assume that when you disconnect the switches at the point marked X the C11 board does not detect any changes. Anyway try putting a diode in series with the output of each prox switch. Also you may want to check the value of that pull-up resistor. The C11 board must have a go / no go threshold as well as the prox switches as to the max amount of current they can draw.

Zo
Reply With Quote

  #3   Ban this user!
Old 05-04-2009, 11:30 AM
 
Join Date: Feb 2005
Location: UK
Posts: 109
George is on a distinguished road
Inductive sensors wiring issues

Hi Zo,

Thanks for your reply.


If I make a break in the wiring at the point marked x in my drawing then the sensors continue to work. i.e the C11 board detects the change and mach3 senses this. So wheteher or not the circuit is connected at that point there is no change in the way things are working. Surely this cannot be correct.

George
Reply With Quote

  #4  
Old 05-04-2009, 12:04 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

The PDF mentions 'internal 4.7k resistor' if this is a pull up from the collector then a typical 'Source Input' should work without external resistor, especially if the BOB has a pull up.
As long as a pull up exists, whether internal or external, the 4.7k in you drawing are not required.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #5   Ban this user!
Old 05-04-2009, 01:29 PM
 
Join Date: Feb 2005
Location: UK
Posts: 109
George is on a distinguished road
Still confused

Thanks Al,

I'm sorry to be a pain but I'm still confused. I realy dont want to blow my C11 board.

Here's a sketch from the C11 book. It shows two sensors connected in parallel but it is using two of my ports on the input to the board.
I need to save ports so can I connect the output of both the sensors to one port only ?

Or can anyone let me have a schematic of how my sensors should be wired?

Many thanks

George
Attached Thumbnails
Click image for larger version

Name:	Sensor-2.jpg‎
Views:	117
Size:	73.2 KB
ID:	80813  
Reply With Quote

Sponsored Links
  #6  
Old 05-04-2009, 02:55 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

Looking over the specs on the C11 board, it seems that the input is at 5vTTL or similar, and the fact that the sensors are not true open collector, there appears to be an internal pull up, which means when the sensor is off, the sensor operating power, 12/24vdc, could be present on the BOB input.
You could put something like either a 2N25 opto or a 2N7000 transistor to condition it for the BOB, any of these you could use in parallel to one input.
The 2N35 will give you isolation also.
If your sensors were the true open collector with no pull up, you might get away without any of the conditioning.
2N35 and 2N7000 cost a few cents.
It is too bad that many of these BOB's are not flexible to allow for up to 24vdc inputs.
Post if you need a circuit for the above.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.

Last edited by Al_The_Man; 05-04-2009 at 03:19 PM. Reason: correction
Reply With Quote

  #7   Ban this user!
Old 05-04-2009, 04:57 PM
 
Join Date: Feb 2005
Location: UK
Posts: 109
George is on a distinguished road
Smile Schematic help appreciated

Thanks for your patience Al,

Yes! a schematic would be very much appreciated.

Just to clarify,

I'm using two inductive sensors. Hopefully in parallel. One at each end of my main axis screw. One end will doulble up as the home switch.

Because I'm using twin screws to drive my main axis I will repeat the setup for the other screw. That's 2 of my 5 inputs to the C11 board used.

Two more inductive sensors will be used for the Y axis and two for Z axis.

Once again, many thanks.

George

Rainy Manchester UK
Reply With Quote

  #8  
Old 05-04-2009, 08:54 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

This should work, all pins on the 2N35 Opto are in parallel with the second one, with the exception of pin 2 which is the second sensor input, however only use one 270ohm resistor per pair of Opto's.
If the BOB does not have a pull up, you may need a 5k resistor from Input to 5vdc
The bottom 12vdc label should read 12dc common.
Al.
Attached Files
File Type: dxf interface.dxf‎ (38.9 KB, 62 views)
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.

Last edited by Al_The_Man; 05-04-2009 at 09:13 PM.
Reply With Quote

  #9  
Old 05-05-2009, 08:44 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

This should work and is a simpler version.
Use only one zener and one 5k resistor per parallel pair
Al.
Attached Files
File Type: dxf interface2.dxf‎ (32.3 KB, 49 views)
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #10   Ban this user!
Old 05-05-2009, 09:06 AM
 
Join Date: Feb 2005
Location: UK
Posts: 109
George is on a distinguished road
Two sensors in parallel

Hi Al,

Many thanks, how does this look?

I take it you are taking the 5V from the C11 board ?

George
Attached Files
File Type: dxf sensor wiring.dxf‎ (30.0 KB, 59 views)
Reply With Quote

Sponsored Links
  #11  
Old 05-05-2009, 09:18 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

Although you only need one 5v zener and one 5k pull up per sensor pair.
The 5v refers to whatever supply the BOB Input uses, be it from the PC or a separate supply.
The zener just protects the input from exceeding 5v.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #12   Ban this user!
Old 05-05-2009, 10:36 AM
 
Join Date: Feb 2005
Location: UK
Posts: 109
George is on a distinguished road
Talking Wer'e there

Thanks Al,

I think It's sunk in now, I'll try it when I get home tonight.

Cheers

George
Attached Files
File Type: dxf sensor wiring.dxf‎ (28.1 KB, 45 views)
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
New Machine Build- probotix to inductive prox sensor xkadet General Electronics Discussion 4 04-13-2009 10:00 PM
proximity sensors for homing or thc? Wolfesmetalfab General Electronics Discussion 0 12-03-2008 12:30 AM
Inductive Proximity Sensors nickfox General Electronics Discussion 3 09-06-2006 09:15 PM
proximity sensors wired General Electronics Discussion 7 09-30-2005 11:29 AM
Inductive Proximity Sensors-what are they? Splint General Electronics Discussion 3 08-01-2004 05:24 PM




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