MechMate CNC Router Forum

Go Back   MechMate CNC Router Forum > Personal Build Histories > MechMates already cutting
Register Options Profile Last 1 | 3 | 7 Days Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #211  
Old Fri 18 June 2010, 05:26
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
Ross, while you have a bench test going, would you mind seeing what they do with aluminium as the target?
Reply With Quote
  #212  
Old Fri 18 June 2010, 05:42
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
Sensing Steel Vs Aluminum

Hi Gerard

Always keen for an experiment, haha

Sensing distance for steel (20 x 20 square stock) was 4.5 mm.
Sensing distance for Alu (6mm plate) was 2.0mm max.
Voltage to the sensor was 12V DC.

The result suggests that one would need to roughly double the spec of the sensing distance for an Alu target.

Regards
Ross
Reply With Quote
  #213  
Old Fri 18 June 2010, 06:10
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
So, if one rides the switches at 1mm above a set of alu rails, it will work. Thanks for testing. (ride at about 2mm for steel)
Reply With Quote
  #214  
Old Fri 18 June 2010, 08:44
smreish
Just call me: Sean - #5, 28, 58 and others
 
Orlando, Florida
United States of America
Ross,
That is exactly what Nils found out while building his machine. He had to use the extended sensing for the aluminum rails. The standard sense worked, but from memory was a little trigger happy!
Reply With Quote
  #215  
Old Sat 19 June 2010, 00:20
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
Proximity Sensor Wring Question

I am happy now that the proximity sensors are working well when wired in series.
The fine detail is still somewhat cloudy for me though.

The proximity sensors have a power source of 12V DC. After checking the third wire to ground I see it returns 12V DC to the jumper 5, pin 11, on the PMDX-122 board.

I have seen various circuit diagrams some with a relay(s) and a resistor.
I was wanting to ask firstly if a relay is necessary and secondly if a resistor should be used to limit the voltage back to the PMDX-122 to 5 Volts.

If any one can help out with a diagram of their solution or an explanation of what is required , it would be appreciated.

Regards
Ross
Reply With Quote
  #216  
Old Sat 19 June 2010, 01:50
Sergio-k
Just call me: Sergio #61
 
Athens
Greece
Ross

This is how i wired my proximity sensors and is all working fine for me.


And these are my relays


In the Mach3 Ports & Pins -----> Input Signals you have to set the X++,X--,X Home.....etc your port and pin and leave the Active Low option UNCHECKED in order your proxys to work with this wiring.
That is because your sensors will be ON while travelling along the rail and OFF when above a hole or a distance over 4mm from the rail.

In the Homing Limits section in Mach3 set up your Soft Min values to zero, your Slow Zone values to 3, check the Auto Zero and set up your Speed % to what suits you (mine is at 50%).
Checking the Home Neg option will move the axis on the negative position for homing, so according to your setup you must check this (or not) for your A axis.

Sergio
Reply With Quote
  #217  
Old Sat 19 June 2010, 02:06
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
Hi Sergio

Thanks, nice and clear, so that's 4 relays and no resistors.

One more question though, I assume you have not run 12 separate wires out from the control box to the proxies, rather series connected three wires in the machine.

Appreciate the quick response - I'm still hunting for those flat DIN mount relays both yourself and Gerald are using. For the moment all I can find is a DIN base and plug in type relays here in Australia.

cheers
Ross
Reply With Quote
  #218  
Old Sat 19 June 2010, 02:08
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
Looking at the wiring again - you probably have run 12 wires.

Ross
Reply With Quote
  #219  
Old Sat 19 June 2010, 02:14
Sergio-k
Just call me: Sergio #61
 
Athens
Greece
Ross

What's coming out of my Control Box is the 2 wires (+ , -) from my 12VDC power supply and the 2 wires from the BOB (pin11 & GND) for the proxies to work.

The whole wiring, instalation of the Relays takes place in the junction box on the Y-Car.

Reply With Quote
  #220  
Old Sat 19 June 2010, 02:22
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
Sergio

Ahh, the Jbox is where all the action is happening not the control box !
Thanks again for the information and photos.

Ross
Reply With Quote
  #221  
Old Sat 19 June 2010, 04:11
David Bryant
Just call me: David #99
 
Western Australia
Australia
Hi
Ross Farnell or radio spares for the flat relays in Aust.

What is the part number for the prox switch or a spec sheet link?
I expect we can eliminate the four relays altogether with a bit of logic.
I am not up to mine yet but if you give me a link to the specs of what proxy is being used I will test with a modified "wired or" to eliminate the relays.
Regards
David
Reply With Quote
  #222  
Old Sat 19 June 2010, 05:58
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
Hi David

The ebay link is http://cgi.ebay.com.au/ws/eBayISAPI....ht_3499wt_1137 for the NPN NO LM12-33004NA proximity sensors.

Specs copied from the page...
Proxy Spec 1.JPG
Proxy Spec 2.JPG

Cheers for the tip on the Australian source for the relays (nearly figured out what they do now but still baby steps).
I will wait and see what you make of the specs and then see what transpires.
Thanks for the offer to design the circuit or at least have a look at it.

Regards
Ross
Reply With Quote
  #223  
Old Sat 19 June 2010, 06:19
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
Tapped the Z 250mm Z Tube Tonight

Progress is steady, so here are some pics.
I feel drawing up the hole centers in CAD and applying them to the tube was a mistake, I should have just used the Z slide as a drilling guide.

Mostly what it did was allow me to check the machining of the Z slide plate as I did not do that part myself.
I scratched though the holes with a scribe and then compared that with the drawn overlays - my conclusion - better than I probably could have achieved myself and certainly faster.

Regards
Ross
Attached Images
File Type: jpg IMG_0897.jpg (30.5 KB, 2003 views)
File Type: jpg IMG_0898.jpg (34.6 KB, 2000 views)
File Type: jpg IMG_0899.jpg (38.8 KB, 2006 views)
Reply With Quote
  #224  
Old Sat 19 June 2010, 06:41
Sergio-k
Just call me: Sergio #61
 
Athens
Greece
Ross

If you're keen on a relay board solution then you might check out Dmitriy's
DIY relay board which is fantastic and easy to build.

Check it here : http://www.mechmate.com/forums/showt...3&postcount=41

And here are the instructions : http://www.mechmate.com/forums/showt...4&postcount=61

Since you're using the same proxies as me (NPN NO) and if you're going for the relay solution then i think there's no other way of wiring them and you cannot omit the relays.

Last edited by Sergio-k; Sat 19 June 2010 at 06:52..
Reply With Quote
  #225  
Old Sat 19 June 2010, 23:40
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
Sergio

Your solution seems less complex for me as a learner in electronics and easier to maintain when something goes wrong.
Those 6mm relay bases are over 20 euro each here now I have found them and that is not counting the cost of the relays.
For some products we really do live on the other side of the planet it seems.

Regards
Ross
Reply With Quote
  #226  
Old Sun 20 June 2010, 19:09
David Bryant
Just call me: David #99
 
Western Australia
Australia
Hi Ross
I took the couple of hours to search this site and sure enough:
http://mechmate.com/forums/showthrea...highlight=Prox

This has been suggested before.
In the above thread Mike Richards shows a better digital way to install the prox sensors without relays using optoisolators. ( An excellent elegant solution, I think) As he pointed out earlier ther is also a a way to do this with a single logic gate, which is what I was thinking of.
Using NPN NO sensors is a good choice for an emergency stop as all the sensors (and relays if used) need to have a current flowing through them in their normal operation.
I think this might be nasty when one wire is intermittant after five years of cutting every day as the cause of a "random" stop is not tracable.
I think the relay solution goes from digital to mechanical (relay) back to digital in the BOB. The small "wetting current" through the relay contacts is not ideal and the mechanical relays moving IMHO is not ideal.


I like Mike richards solution with the optoisolators.

For a simpler STOP system rather than treating the limits as emergency stop is to select NPN NC sensors and parrallel them so if a hole is under a single sensor the limit input to BOB is then triggered. As this only has current flowing at the limit it is not "failsafe" and would require periodic testing. It would not stop the machine when a wire breaks.
This would require no relays and proxies would not be isolated from the board.

Anyway it is now late enough to go outside and weld my table together without waking the neighbours.
I will order my proxies next week and am happy to model/test a few sytems if their is enough interest on this site.
(I just dont like seeing the digital to mechanical to digital thing happening even though I know it is "easier to understand" when it is first made.)
Cheers
David
Reply With Quote
  #227  
Old Tue 22 June 2010, 01:51
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
Hi David

I have read all of Mike's stuff and frankly I just do not understand it as it is well outside of my abilities.
If the proximity thread was printed in ink it would be nearly worn though by now as I have read it that many times.
There is a significant assumption of knowledge wound throughout the proximity thread that has made it no so useful for someone of my limited electronics skills.

Sergio

I have modeled your circuit based upon the SM Reish circuit and it will not work for me.
Connecting a prox directly to 12V I get 10V (not sensing) and .8V (sensing) off the black wire.
Given this the relay coil is energised by two positive 12V sources and buzzing of the coil ensues in either state and voltage.

Connecting the coil to side of the relay to a battery charger + and - terminals gives a far less concerting click and all is well.
Also rechecked I am using NPN NO proximities.

Any ideas - last two days has been filled with wires and relays but outside of passing one prox signal though one relay on the secondary circuit I got nutin as they say.

Thanks in Advance

Ross
Reply With Quote
  #228  
Old Tue 22 June 2010, 04:07
David Bryant
Just call me: David #99
 
Western Australia
Australia
Hi Ross
I understand it can be confusing.
In the earlier post you showed the sensor working with mach3. What was your wiring?
Can you show a photo of the wiring and any relays you have please.

Do you have spare inputs available or must you use only pin 11?
Cheers
Reply With Quote
  #229  
Old Tue 22 June 2010, 04:45
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
Hi David

Power to prox only test.
+12V on Brown Wire
-12V on Blue Wire
Black Wire is the signal wire

Not Sensing Metal - 9.96V
IMG_0900.jpg

Sensing Metal - .83V
IMG_0901.jpg

Finder 12V Relay Test
+12V to A1 Brown Wire
Black Prox Wire (Signal Wire) Changing to White Wire to A2
Blue Wire to -12V
Coil buzzes due to both Inputs being Positive
IMG_0904.jpg

Proxy Checked to be the NPN NO type
IMG_0907.jpg

I have also used some 30Amp 5 pin ISO type automotive relays with a similar result.
Putting the coil side to +12V and -12V terminal of a battery charger or a 12 volt automotive battery gives a nice clear click.

Hope this is now a bit clearer.

Ross

Last edited by Surfcnc; Tue 22 June 2010 at 04:53..
Reply With Quote
  #230  
Old Tue 22 June 2010, 04:52
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
David - a bit extra for you.

Input 11 is the typical input and all proximity sensors use this one input on the PMDX-122 board. Each proximity switch does not have a discrete input otherwise this would be much simpler but use lots more wires.

The test where you saw Mach3 working was simply the proxy powered up with + and - 12 volt and the black wire going to pin 11 on the PMDX-122. Mach then triggered on the low voltage when sensing. A very simple setup indeed but it worked fine.

Ross
Reply With Quote
  #231  
Old Tue 22 June 2010, 04:53
David Bryant
Just call me: David #99
 
Western Australia
Australia
Hi Ross
I suggest that you think of the proxy as a switch (rather than a voltage device. )
The proxy usually gets connected to positive power (yours 12V and ground 0V)
The Black wire in Sergio's post #216 is the ouput of the proxy. as yours is a NO when no metal is near the black lead just floats (That is the Normally Open NO bit.) When metal is detected the "switch is on" and that black wire in #216 is "joined to ground".
If the relay coil is joined to +12V the otherside (-ve) of the coil goes to the black wire of the proxy. The relay should then click when metal is approached.
The proxy is "switching the earth to the relay coil.

(You cant use a large car spotlight relay if it draws too much current.)
Then four of these should be working first.

Switches and relays have a Common a normally closed NC and a Normally Open NO.

It is the common that gets joined to the NC when no power is applied.

When the relay has power (12v connected and the proxy "near metal") then the common is joined to the NO contact.

It is this connection between the COM and NO of each relay in turn (called a series circuit) that means that all the relays have to be "energised" or on for the pin 11 of BOB to be joined to GND of BOB to signal that it is ok to run (ie not at the limit).

When any prox "sees the hole" or moves from the metal it turns is output off shutting off the relay making the COM no longer joined to the NO so a inout is detected at Pin 11 of BOB showing a limit fault.

Hope this helps, you are right the thread on Proxies has a lot of assumed knowledge.
pm me for my phone number in WA if you want to talk through it.
A photo of your wiring, no matter how messy, and the relay will make it easier to talk about.
Cheers
David
Reply With Quote
  #232  
Old Tue 22 June 2010, 05:54
Sergio-k
Just call me: Sergio #61
 
Athens
Greece
Hi Ross

Can you post your relay info and your connections to it ?

Last edited by Sergio-k; Tue 22 June 2010 at 05:58..
Reply With Quote
  #233  
Old Tue 22 June 2010, 05:56
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
David Solves my Problems

David has very kindly waded into my electronics woes and has solved my issues very quickly.

In order to leave a remnant in this thread for others to follow, the issue was that I was using a battery charger (out of picture) to power my test mock ups.
David pointed out to me the power the charger puts out is not smooth DC power and it cycles many (50) times per second.
The chatter I was hearing in the relays was a artifact of this poor quality power source. On David's advice I swapped to a car battery and all the problems immediately were resolved.

Sergio - your circuit diagram at post 216 should now work fine with my dirty power source out of the picture.
I will mock up the complete circuit as soon as I can get a full set of the industrial relays and let everyone know how it went.

Currently building two pedestals, one for David and one for Demitriy to stand upon as I'm never going to touch these two blokes in the electronics stakes.
Of course I will hook them both up to a relay with a nice clean power source.

Regards
Ross

Last edited by Surfcnc; Tue 22 June 2010 at 05:59..
Reply With Quote
  #234  
Old Tue 22 June 2010, 06:15
Sergio-k
Just call me: Sergio #61
 
Athens
Greece
Ross

You made the same mistake as i did

I had also wired my relays to 12VAC power and thus they were buzzing
when i switched to DC everything was fine.
You should have read my adventures first

Keep cranking you're close to dust

Sergio
Reply With Quote
  #235  
Old Tue 22 June 2010, 06:18
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
Ross, that relay is also quite big, and its coil may need more current than what the proxy can supply.
Reply With Quote
  #236  
Old Tue 22 June 2010, 06:33
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
Sergio

Yep, should have made the "connection" but honesty I did not have a clue how a 12 volt charger worked, haha. Thanks for your on going monitoring at least now we both know exactly how it feels to look at a pile of relays buzzing when they shouldn't be !!!

Gerald

Thanks as well for the caution on the relay current draw. David mentioned how to check a relay when they had the power across the coil. The sensor I am using has a 200ma current draw so he suggested I limit the coil current draw to 150ma max to provide a bit of overhead for temp and vibration. So much to learn.

Regards
Ross
Reply With Quote
  #237  
Old Tue 22 June 2010, 06:37
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
From post #222, the proxy can drive 200mA.

The Finder 55 series needs 1 Watt to drive its DC coil, and a 62 series could need 3 Watt. Those Wattages at 12V are equivalent to 83mA for 1 Watt and 250mA for 3 Watt.

You can find the Finder specs here: http://www.findernet.com/en/products...rofile.php#ind

Ross, that was a cross-post with your last.

Last edited by Gerald D; Tue 22 June 2010 at 06:39.. Reason: Cross post
Reply With Quote
  #238  
Old Tue 22 June 2010, 06:44
Surfcnc
Just call me: Ross #74
 
Queensland
Australia
Checked the value for the 56 series relay and it was 90ma so it's a keeper.
Thanks for the link as I was still searching for the specs.
regards
Ross
Reply With Quote
  #239  
Old Tue 22 June 2010, 07:10
PEU
Just call me: Pablo
 
Buenos Aires
Argentina
Did the seller provided an internals schematic of the sensor? I don't quite understand why double power supply rails are needed, as David pointed out it should work with a level that moves near GND and Vdc working like a switch. Thanks!
Reply With Quote
  #240  
Old Tue 22 June 2010, 07:44
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
Pablo, some people say -12V when they mean the negative side of the 12V supply.
Reply With Quote
Reply

Register Options Profile Last 1 | 3 | 7 Days Search Today's Posts Mark Forums Read

Thread Tools

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wiifm's plans for building in Brisbane wiifm Introduce yourself and start planning 31 Thu 14 October 2021 17:48
Making Bar Signs! #71 - Brisbane, Australia AuS MaDDoG MechMates already cutting 440 Mon 12 February 2018 00:40
Touch Probes Have Arrived #72 - Brisbane, Australia skippy MechMates already cutting 130 Mon 04 March 2013 04:31
Do my legs look fat? - Brisbane Australia tangocharlie123 Construction started, but not cutting yet 60 Wed 22 June 2011 06:32
New member - Brisbane Australia stan stuart Introduce yourself and start planning 3 Tue 11 May 2010 20:48


All times are GMT -6. The time now is 14:26.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.