Zwei Endschalter auf der Achse Konfigurieren

More
3 years 4 months ago #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
3 years 4 months ago - 3 years 4 months ago #273195 by spicer
Meinst Du den Eingang am Mesa Board (nicht Ausgang)?

PS:
Bei 24V bekommst Du keinen Stromschlag ;)
Last edit: 3 years 4 months ago by spicer.
The following user(s) said Thank You: Muecke

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

More
3 years 4 months ago #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 ;)
image missing /media/kunena/emoticons/w00t.png Das war mehr symbolisch gemeint.

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

More
3 years 4 months ago - 3 years 4 months ago #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: 3 years 4 months ago by spicer.

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

More
3 years 4 months ago #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
3 years 4 months ago - 3 years 4 months ago #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: 3 years 4 months ago by spicer.

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

Moderators: Muecke
Time to create page: 0.377 seconds
Powered by Kunena Forum