Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2167

How to connect opto sensor and limit switch to DI module?

$
0
0

Hi, 

 

I have a opto sensor (OMRON EE-672) and a limit switch (OMRON V-156-1A5).
I'd like to use them to detect the limit triggering of my stepper motor.

However I have no idea how to connect them to my DI module.

The sensor of OMRON EE-672 is powered by 5V, and outputs high signal when it detects the light blocked.

I wonder if I can connect it as this way: 

20170920001.png

 

For limit switch of OMRON V-156-1A5, it is just a mechanical switch.

When it is pressed, two of the terminals are short, should I use a resistor to measure the voltage across it?

I wonder if I can connect it as this way:

20170921001.png

 

Do they works?


Viewing all articles
Browse latest Browse all 2167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>