Debian Codegraph @

texmf-dist/doc/latex/schule/zusatzpaketRelaycircuit.tex

raw
1 \section{Schaltungen mit Relais}
2 \label{paket:relaycircuit}
3 Durch das Paket \texttt{relaycircuit} ist es möglich Schaltungen
4 mit Relais zu zeichnen. Dazu wird die neue Knotenform
5 \textit{relais} deklariert, die sich in \textit{arbeits relais}
6 (Bezeichnung: AK) und \textit{ruhe relais} (Bezeichnung: RK)
7 aufteilen. So kann der Schaltplan eines logischen NAND mittels Relais
8 wie folgt gesetzt werden:
9
10 \begin{example}[gobble=0]
11 \begin{tikzpicture}
12 \draw (0,6.8) node [left] {\(+\)} -- (9,6.8);
13 \draw (0,0) node [left] {\(-\)} -- (9,0);
14 \draw (4.5,0) to[short, *-] (4.5,0) node [ground] {};
15
16 \draw (7.4,2.5) to[short,*-] (7.5,2.5) to[lamp] (9,2.5)
17 node[ground] {};
18
19 \draw (2.5,5.8) node[arbeits relais] (a1) {};
20 \draw (2.5,4) node[arbeits relais] (a2) {};
21 \draw (2.4,6.8) to[short,*-] (a1.anschluss);
22 \draw (a1.ausgabe) -- (a2.anschluss);
23
24 \draw (2.5,1) node[ruhe relais] (r1) {};
25 \draw (a2.ausgabe) -- (r1.anschluss);
26 \draw (r1.ausgabe) to[short,-*] (2.4,0);
27 \draw (5,1) node[ruhe relais] (r2) {};
28 \draw (r2.ausgabe) to[short,-*] (4.9,0);
29
30 \draw (7.5,1) node[arbeits relais] (a3) {};
31 \draw (7.5,4) node[ruhe relais] (r3) {};
32 \draw (a3.anschluss) -- (r3.ausgabe);
33 \draw (a3.ausgabe) to[short,-*] (7.4,0);
34 \draw (r3.anschluss) to[short,-*] (7.4,6.8);
35
36 \draw (2.4,2.5) to[short,*-*] (4.9,2.5) -| (a3.eingabe);
37 \draw (r2.anschluss) |- (r3.eingabe);
38
39 \draw (0,4.7) node [left] {A} to[short,-*] (0.2,4.7) --
40 (a2.eingabe);
41 \draw (0.2,4.7) |- (r1.eingabe);
42
43 \draw (0,2.1) node [left] {B} to[short,-*] (0.4,2.1) -|
44 (r2.eingabe);
45 \draw (0.4,2.1) |- (a1.eingabe);
46 \end{tikzpicture}
47 \end{example}