Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 03:24:12 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
Wiring of 2 wire proximity switch
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: Wiring of 2 wire proximity switch (Read 2031 times)
0 Members and 1 Guest are viewing this topic.
Sweep
Active Member
Offline
Posts: 84
Wiring of 2 wire proximity switch
«
on:
May 29, 2010, 03:47:09 AM »
I wonder if anyone could offer some suggestions as to the correct wiring of my existing 2 wire proximity switches into Mach3.
My old Denford Triac has three of these switches fitted for the X, Y, and Z homes, and the spindle speed. They are made by Balluff and the model is BES 516-324-E2-N-03. Please see below for data sheet which includes a very simple wiring diagram.
I want to keep the existing proximity switches as they work and to replace them would be quite difficult due to how the X and Y are buried inside the machine, and also because of the needless expense if I replace them.
Speaking to Balluff, however, they say I need to buy there very expensive amplifiers which, at £100+ each, is not going to happen.
Also, the original Denford wiring diagram didn't use seperate amplifiers but just had a section on the motherboard which dealt with this operation.
As far as circuit wiring is concerned I am quite happy to attempt any circuit, however complex, as I am using a PCB printing program and Press 'n' Peel paper.
I have also attached the original Denford wiring diagram which shows these sensors where 'Plug M' connects to them on the machine.
Thanks ...Sweep
BES516_324_E2_N_03_en.pdf
(93.2 KB - downloaded 72 times.)
Datums and auxiliaries1.jpg
(143.98 KB, 626x861 - viewed 223 times.)
Logged
stirling
Global Moderator
Offline
Posts: 1,189
UK
Re: Wiring of 2 wire proximity switch
«
Reply #1 on:
May 29, 2010, 10:10:55 AM »
Hi Sweep
Did a bit of a look around and it appears your sensors are NAMUR sensors. These are apparantly designed for hazardous environments but if used elsewhere don't require the "strict" interface I'm guessing you've been quoted for.
Here's a link to a general description
http://www.tektron.ie/namur1.htm
and here's their datasheet
http://www.balluff.com/Balluff/gb/ProductsChannel/Product+Detail/en-gb/ProductDetail.htm?ProductID=BES+516-324-E2-N-03&ProductGroupGuid={80FEAFAC-1F1E-4045-92E1-D28D94DC547B}&DocumentPage=5
Basically I'm thinking maybe a simple op amp circuit that senses the changing voltage drop accross them as they change resistance.
Cheers
Ian
Logged
BluePinnacle
Active Member
Online
Posts: 229
Re: Wiring of 2 wire proximity switch
«
Reply #2 on:
May 29, 2010, 01:13:13 PM »
These look a great deal like the magnetic proximity switches on my Excel mill. They change resistance based on the proximity of a steel vane. I used a transistor/optoisolator circuit which I'll share when I get home. the optoisolator has a darlington pair output which provides an extremely rapid rise in output current when triggered. this is the setup currently used on my mill, it costs a few punds to make and the PCB is about 1.5" square
it's a very accurate setup by the way - Well worth keeeping those switches.
Logged
NosmoKing
Active Member
Offline
Posts: 205
Re: Wiring of 2 wire proximity switch
«
Reply #3 on:
May 29, 2010, 01:34:50 PM »
You should be able to duplicate the transistor circuit very easily from the print using almost any small signal NPN a couple of resistors and the cap.
Your circuit shows a 9v zener supply for the prox.
Using you print as an example, the prox plus would go to the 9v+ and the - to the circuit input.
You should also be able to use the 2n7000 which is a handy FET interface transistor.
If you use the PC 12v supply, you could go straight into the port with no opto needed, the 2n7000 would be ideal for that.
Nosmo.
Logged
BluePinnacle
Active Member
Online
Posts: 229
Re: Wiring of 2 wire proximity switch
«
Reply #4 on:
May 29, 2010, 02:01:40 PM »
^^ true. I used the optos mainly because i had dozens of them around due to the MOQ i had to put up with ( I used 5 on the rest of the machine). My setup uses a seperate power supply for the 9v circuit. Plus I have a really good system for making PCBs of my own.
my philosophy throughout was to use optos wherever possible, and keep the computer's ports attached to nothing but opto outputs. Maybe over-cautious, but actually no more expensive than the alternatives
Logged
softselect
Active Member
Offline
Posts: 56
Re: Wiring of 2 wire proximity switch
«
Reply #5 on:
May 29, 2010, 04:04:13 PM »
I recently done a Danford-Mach upgrade, attaced is the circuit i used to supply an input signal to a 24V BOB input
good luck
Friedrich
Protel Schematic.pdf
(169.8 KB - downloaded 70 times.)
Logged
Sweep
Active Member
Offline
Posts: 84
Re: Wiring of 2 wire proximity switch
«
Reply #6 on:
May 30, 2010, 07:29:16 AM »
Hi All, and thanks for your support on this matter.
Whilst I could take a safe 12v from the PC I am trying to have as few leads as possible running from the PC to my enclosure, basically to make the whole set up look prettier! So far I only have the two 25pin parallel port cables. This approach has caused me problems, however, before as my high parallel pin voltage is around 3.8V which isn't enough to run my MPG which needs the full 5V (tried it but didn't work). I was going to run a USB but I thought it wouldn't look as nice so have decided to use a small DC/DC power converter inside my panel.
As such I would prefer to work with the transformer 12V from the old Denford machine and pick up off that. This, however, I think would require some optoisolation like Mr Bluepinacle suggests.
I would appreciate eveyones comments on the attached circuit which is based around the original Denford circuit posted earlier but with an opto front end. It seems to work fine on my circuit simulator but I have had to replace the proximity switch with a simple toggle switch (SW1) as no standard proxies were available in the program.
A couple of other points:
1) I would like to use the 4N25 6pin opto as i have quite a few of these on stock, and also because I like building all my stuff with seperate 6 pin DIL sockets so in case I mess up they are easier to change or upspec etc. As such if anyone suggests an alternative please try for 6pin.
2) When I run the simulation with the switch already closed I immediately blow the 82R resistor on the 12v side unless I increase the rating to >2W, but when I start the simulation with the switch open then close the switch I can get away with 1/2W with no problem. Why is this???
I've mentioned this before on some of my earlier posts, but I don't have great deal of electronics experience so please be gentle with me and explain things in very simple terms.
Thanks again ...Sweep
Datums.pdf
(310.36 KB - downloaded 54 times.)
Logged
NosmoKing
Active Member
Offline
Posts: 205
Re: Wiring of 2 wire proximity switch
«
Reply #7 on:
May 30, 2010, 09:43:57 AM »
That does not really make any sense as the max drop across the 82 ohm should be 36ma or .1 watt.
The 82R will dissipate 2 watts if the 9v side of the 82 ohm was grounded unintentionally.
Turning on with the switch closed you should still see 9v at the 560ohm side of the switch, check to see if this is so.
Also now you are using an opto, you can probably change the R2 resistor to ~700ohm and eliminate the 180, both these were previously base bias for the NPN transistor.
The 180 is shunting the opto.
Logged
Sweep
Active Member
Offline
Posts: 84
Re: Wiring of 2 wire proximity switch
«
Reply #8 on:
May 30, 2010, 01:01:38 PM »
It's just when the program first runs, and only when the switch is closed prior to running. I tried slowing the timing down so 1sec real time = 1us circuit time but it still blows R1(82R) quicker than I can see it. All I see is that the flow of current peaks instantly, as signified by the wires of the circuit lowing brighter, and then pop!
Running with the switch open then closing the switch, it all works fine. I have done the circuit mods as suggested and I get the following readings.
When the switch is open I see 9.1volts after R1(82R) with 27.34mA flowing to the Zenner.
When I close the switch I can see 9.06volts after R1(82R) with 12.62mA flowing to the Zenner and 15.16mA flowing to the switch, 717.44mV and 11.14mA after R2(750R).
Tomorrow I will build it as a prototype and see how it goes.
...Sweep
Datums2.pdf
(309.87 KB - downloaded 44 times.)
Logged
NosmoKing
Active Member
Offline
Posts: 205
Re: Wiring of 2 wire proximity switch
«
Reply #9 on:
May 30, 2010, 03:19:46 PM »
Maybe check the wiring as the only way to get 2 watts dissipation across the 82ohm is if the 9v end is taken to common.
What supply are you using for the 12vdc?
Logged
Pages:
1
2
»
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...