Omron proximity switches producing unexpected voltage step down
29 Sep 2022 16:31 - 29 Sep 2022 16:39 #253034
by JJ48_24
Hello. While switching the controller on my Chinese router over to linux cnc I ran into an issue with the limit switch. The limit switches are given 24v at the controller but only output 12.6v. Unfortunately the threshold for activating an input on the 7i76 is 60% voltage. The limit switches I am using omron tl-q5mc1 switches. I looked through the data sheet but found no mention of any kind of voltage step down. I have thought of using a buck boost converter or using analog inputs on the 7i76 however these both feel both feel like inelegant solutions. I feel like I have to be missing something. Am I missing something in the switches datasheet, and is there anything else I should check?
Last edit: 29 Sep 2022 16:39 by JJ48_24.
Please Log in or Create an account to join the conversation.
29 Sep 2022 18:45 #253042
by PCW
Replied by PCW on topic Omron proximity switches producing unexpected voltage step down
Those are NPN type proximity switches
You can connect PNP type proximity switches directly to 7I76 inputs,
but NPN type switches require an external pullup resistor.
(suggest 2K 1/2W for 24V)
You can connect PNP type proximity switches directly to 7I76 inputs,
but NPN type switches require an external pullup resistor.
(suggest 2K 1/2W for 24V)
The following user(s) said Thank You: JJ48_24
Please Log in or Create an account to join the conversation.
29 Sep 2022 21:44 - 29 Sep 2022 22:19 #253056
by andypugh
Replied by andypugh on topic Omron proximity switches producing unexpected voltage step down
To elaborate on what PCW has said, if you are treating them as a voltage output then you are using them wrong, you should see them as a switch. PNP is a switch-to-live and NPN is a switch-to-gnd.
In some ways NPN are more flexible as you can power them with 24V but use them to switch a 5V input
In some ways NPN are more flexible as you can power them with 24V but use them to switch a 5V input
Last edit: 29 Sep 2022 22:19 by andypugh.
The following user(s) said Thank You: tommylight, JJ48_24
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19106
- Thank you received: 6398
29 Sep 2022 22:10 #253058
by tommylight
Also, "5V input"?
Replied by tommylight on topic Omron proximity switches producing unexpected voltage step down
You should see how people look at me all funny when i tell them that!
In some ways NPN are more flexible as you can power them with 24V but use them to switch a 5V output.
Also, "5V input"?
Please Log in or Create an account to join the conversation.
29 Sep 2022 22:19 #253060
by andypugh
Corrected
Replied by andypugh on topic Omron proximity switches producing unexpected voltage step down
Also, "5V input"?
Corrected
Please Log in or Create an account to join the conversation.
29 Sep 2022 23:04 #253064
by JJ48_24
Replied by JJ48_24 on topic Omron proximity switches producing unexpected voltage step down
I see. The one thing I am confused about is why am I getting 12v on the logic pin. If they are switches to ground shouldn't I be getting 0 as the 7i76 is a sinking board? Got the resisters ordered on amazon and they are coming tomorrow.
Please Log in or Create an account to join the conversation.
29 Sep 2022 23:26 - 29 Sep 2022 23:27 #253066
by PCW
Replied by PCW on topic Omron proximity switches producing unexpected voltage step down
Some NPN sensor outputsĀ have weak pullups to their power input
Last edit: 29 Sep 2022 23:27 by PCW.
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.074 seconds