Zwei Endschalter auf der Achse Konfigurieren

More
08 Jun 2023 15:58 - 08 Jun 2023 15:59 #273186 by spicer

Dann würde ich sagen das meine Schaltung gegen Ground Schaltet.

Ja da sehe ich 24V


Dann schaltet er gegen 24V!
Last edit: 08 Jun 2023 15:59 by spicer.
The following user(s) said Thank You: Muecke

Please Log in or Create an account to join the conversation.

More
08 Jun 2023 16:10 - 08 Jun 2023 16:10 #273188 by spicer
Ok. Wollte Dir nur erklären, was das mit dem Low und High schalten auf sich hat :dry:
Last edit: 08 Jun 2023 16:10 by spicer.

Please Log in or Create an account to join the conversation.

More
08 Jun 2023 16:18 #273189 by Muecke
Bitte sei mir nicht böse doch so recht verstanden habe ich es aktuell immer noch nicht.


An meinem Schalter (NC) liegen 24VDC an, ich bekomme also einen "Strom Schlag wenn ich den Schalter an einer Blanken stelle anfassen würde.

Mein Mikrocontroller (Mesakarte) hat im Ruhezustand (nicht geschaltet) 24VDC am Pin anliegen.

demnach schalte ich gegen 24VDC.

Da isst dann ein High Schaltung?

Please Log in or Create an account to join the conversation.

More
08 Jun 2023 16:50 - 08 Jun 2023 16:51 #273195 by spicer
Meinst Du den Eingang am Mesa Board (nicht Ausgang)?

PS:
Bei 24V bekommst Du keinen Stromschlag ;)
Last edit: 08 Jun 2023 16:51 by spicer.
The following user(s) said Thank You: Muecke

Please Log in or Create an account to join the conversation.

More
08 Jun 2023 17:13 #273198 by Muecke

Meinst Du den Eingang am Mesa Board (nicht Ausgang)?

ja der Schalter geht ja zum Eingang der Mesakarte.

PS:
Bei 24V bekommst Du keinen Stromschlag ;)

 Das war mehr symbolisch gemeint.

Please Log in or Create an account to join the conversation.

More
08 Jun 2023 17:18 - 08 Jun 2023 17:18 #273199 by spicer
"Mein Mikrocontroller (Mesakarte) hat im Ruhezustand (nicht geschaltet) 24VDC am Pin anliegen."

Dann hat die Mesa einen Pull-Up Widerstand drin, welcher die Spannung auf 24V rauf zieht, wenn der Eingang unbeschaltet bzw Schalter offen ist.
Der Schalter ist dann also eingangsseitig an Ground angeschlossen. Richtig?
Last edit: 08 Jun 2023 17:18 by spicer.

Please Log in or Create an account to join the conversation.

More
08 Jun 2023 17:26 #273200 by Muecke

"Mein Mikrocontroller (Mesakarte) hat im Ruhezustand (nicht geschaltet) 24VDC am Pin anliegen."

Dann hat die Mesa einen Pull-Up Widerstand drin, welcher die Spannung auf 24V rauf zieht, wenn der Eingang unbeschaltet bzw Schalter offen ist.
Der Schalter ist dann also eingangsseitig an Ground angeschlossen. Richtig?
 

Ja genau, das Gegenstück auf der Mesakarte ist an GND angeschlossen.

Zitat aus dem Handbuch, Version 1.5

ISOLATED INPUT CHARACTERISTICS
The isolated inputs use opto-isolators with a 4.7K input series resistance. This
results in an approximate current draw of 5 mA at 24V. The inputs will operate with +-4V
to +-36V signals relative to input common. Isolated inputs are relatively slow and not suited
for signals faster than about 5 KHz. Each input pair has a separate common connection
to allow mixing of sinking/sourcing and mixed supply voltages.
For PNP type sensors or switches with a common positive, the input common pin
for a given input pair is grounded.
For NPN type sensors or switches with a common ground, the input common for a
given input pair is connected to +5 to +36V and the input pins are grounded to activate an
input.


 

Please Log in or Create an account to join the conversation.

More
08 Jun 2023 17:32 - 08 Jun 2023 17:39 #273201 by spicer
Genau. "sinking/sourcing" ist da das Zauberwort ^^
Du hast in dem Fall einen sourcing Input.
Der Schalter ist da also ein sinking output.
Last edit: 08 Jun 2023 17:39 by spicer.

Please Log in or Create an account to join the conversation.

More
08 Jun 2023 17:36 #273202 by Muecke
ich finde das sehr verwindend und abstrakt. Immer wenn ich das Lese oder das wieder erneut benötige muss ich viel lesen und mich erkundigen das ich halbwegs weis ob das was ich mache funktionieren wird.
Ich habe immer große angst einfach mal was anzuschließen da ich immer denke ich mache gleich was kaut wenn es Falsch ist.

Please Log in or Create an account to join the conversation.

More
08 Jun 2023 17:42 #273204 by spicer
Hier Beispiele, wobei der Transistor den Schalter darstellt!
 
Attachments:
The following user(s) said Thank You: Muecke

Please Log in or Create an account to join the conversation.

Time to create page: 0.182 seconds
Powered by Kunena Forum