Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 07:10:48 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Proximity Sensors on x, y and z axes, how do I set them up as inputs?
Pages: 1   Go Down
Print
Author Topic: Proximity Sensors on x, y and z axes, how do I set them up as inputs?  (Read 361 times)
0 Members and 2 Guests are viewing this topic.
IrishMike22
Active Member

Offline Offline

Posts: 2


View Profile
« on: March 29, 2011, 09:07:07 AM »

Hi Guys, I am a relatively new user to Mach 3 CNC software but at the moment I am using it to move a 3 degree of freedom traversing mechanism which will be used to orientate a probe in a wind tunnel! It is powering the stepper motors but I also have proximity sensors which I have wired as inputs into the system to stop the motors from going too far. On Mach 3 there are 5 input ports but I need 6! A home and a -- for all three of the axes! I have configured the proximity sensors to go from a high signal >2.4v to a low signal <2.4v. I thought this would trigger the active low configuration in the inputs tab under config.  I was wondering would anyone have any information on how I might get these proximity sensors to work and to send an input to the Mach 3 software to stop it. Any help would be greatly appreciated, this project is part of a PHD I am undertaking at the moment in Ireland.

Best Regards

Micheal
Logged
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,263


Super Kitty.


View Profile WWW
« Reply #1 on: March 29, 2011, 09:30:41 AM »

Hi Micheal,

To be sure of detecting the logic level change at the parallel port you need to improve the output of your proximity sensors so you get a switch between <1Volt and >3.5Volt. A simple transistor switch for each sensor should be all that is necessary to achieve this.
If you really do need 6 inputs you could add another parallel port card to your PC.

Tweakie.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
IrishMike22
Active Member

Offline Offline

Posts: 2


View Profile
« Reply #2 on: March 29, 2011, 09:36:00 AM »

I will try that Tweakie thanks for your reply!! I was also told not to wire an external voltatge source to the input pin but to take the voltage thats coming out of the input and have a switch between that and ground! Does that make any sense?

Micheal
Logged
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,263


Super Kitty.


View Profile WWW
« Reply #3 on: March 29, 2011, 10:03:39 AM »

Correct, but the inputs may still need a weak pullup to positive (10K or so) something like this.

Tweakie.


* switch1.jpg (17.25 KB, 960x720 - viewed 71 times.)
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
djc
Active Member

Offline Offline

Posts: 47


View Profile
« Reply #4 on: March 29, 2011, 03:03:40 PM »

...On Mach 3 there are 5 input ports but I need 6!

Easiest and cheapest way is to install a second parallel port on your machine. Above this, there are other options including Pokeys and various ModBus devices.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!