sistem_robotik/SOURCE/lembar_kerja/plc_13.tex

125 lines
4.3 KiB
TeX
Executable File

\section{Embossing Device}
\textbf{Tujuan}
\begin{itemize}
%<*tujuan>
\item Menerapkan switch-on delay menggunakan PLC
%</tujuan>
\end{itemize}
\ifdef{\showhiden}
{
\textbf{Kesimpulan}
\begin{enumerate}
%<*kesimpulan>
\item switch-on delay pada PLC menggunakan block TON.
\item TON akan memulai timer dengan memberikan signal pada input IN.
\item Output Q akan memeberikan logika 1 apabila ET sama dengan PT.
\item Apabila durasi waktu ketika signal IN kurang dari PT maka Q akan tetap dengan logika 0.
\item ET adalah output dengan waktu yang sedang berjalan.
%</kesimpulan>
\end{enumerate}
}{}
\textbf{Deskripsi Perangkat}
\begin{itemize}
\item Workpiece akan diberikan embos dengan menekan pushbutton S1.
\item Untuk memastikan workpice berada pada posisi yang benar, siklus memberikan embos diberikan tunda waktu selama 3 detik.
\item Selama waktu tersebut diharuskan menekan terus tombol S1.
\end{itemize}
\begin{center}
\begin{tabular}{p{.4\textwidth} p{.6\textwidth}}
\includegraphics[width=.6\textwidth]{Pictures/2023-01-24_13-45.png}
\end{tabular}
\end{center}
\subsubsection{Tugas Praktik}
\input{tugas_praktek.tex}
\subsubsection{Evaluasi}
\begin{enumerate}
\item Ceritakan cara kerja rangkaian yang telah dipraktikkan apabila terpasang pada perangkat sebenarnya!
%<*pemantik>
\item Bagaimana switch-on delay dibuat dalam bentuk Ladder diagram?
%</pemantik>
\end{enumerate}
\newpage
\subsection{Lembar Kerja}
\begin{tabular}{p{.35\textwidth} p{.65\textwidth}}
\begin{center}
\begin{tabular}{| p{.35\textwidth} | c |} \hline
\textbf{Daftar Komponen Pneumatic} & \textbf{n} \\ \hline
Service unit with on-off valve & 1 \\ \hline
Manifold & 1 \\ \hline
5/2-way selenoid valve & 2 \\ \hline
Double acting cylinder & 1 \\ \hline
\textbf{Daftar Komponen Electronic}& \textbf{n} \\ \hline
PLC dengan Input 8 Output 8 & 1 \\ \hline
Pushbutton (make) & 1 \\ \hline
Proximity switch & 2 \\ \hline
Powersupplay 24V & 1 \\ \hline
\end{tabular}
\end{center}
&
\begin{center}
\includegraphics[width=.5\textwidth]{2023-01-24_13-59.png}
\end{center}
\\
\end{tabular}
\subsection*{Diagram Pergerakan}
\begin{drawDuaGrafikPergerakan}
\end{drawDuaGrafikPergerakan}
\newpage
\subsection*{Wiring Diagram PLC}
\begin{center}
\ifdef{\drawCircuit}
{
\includegraphics[width=\textwidth]{2023-01-24_14-00.png}
}{
\includegraphics[width=\textwidth]{plc_template.png}
}
\end{center}
\subsection*{Daftar Variable PLC}
\begin{center}
\begin{tabular}{| p{.2\textwidth} | p{.2\textwidth} | p{.2\textwidth} | p{.2\textwidth} |} \hline
\textbf{Nama Variabel} & \textbf{Tipe Data} & \textbf{Alamat} &\textbf{Komentar} \\ \hline
\ifdef{\drawCircuit}
{
S1 & BOOL & \%IX0.0 & Start Embossing \\ \hline
\_1B1 & BOOL & \%IX0.1 & Silinder maju \\ \hline
\_1B2 & BOOL & \%IX0.2 & Silinder mundur \\ \hline
\_1Y1 & BOOL & \%QX0.0 & Trigger maju \\ \hline
TON\_1Y1 & TON & & Variable switch-on delay \\ \hline
}{
& & & \\ \hline
& & & \\ \hline
& & & \\ \hline
& & & \\ \hline
& & & \\ \hline
}
\end{tabular}
\end{center}
\subsection*{Program PLC}
\begin{center}
\begin{tikzpicture}[circuit plc ladder,thick]
\draw(0,0)
to [contact NO={info={$S1$}}] ++(1,0)
to [contact NO={info={$1B1$}}] ++(1,0)
to [block={info=$TON\_1y1$, symbol=TON, inputs={IN,PT}, outputs={Q,ET},
name=TM1, minimum width=1.6cm, input sep=1cm, output sep=1cm}] ++(4,0) coordinate(N1)
to [contact NC={info={$1B2$}}] ++(1,0) -- ++(2,0)
to [coil={info={$1Y1$}}] ++(1,0) coordinate(laddertopright);
\draw(0,-2)
to [contact NO={info={$1Y1$}}] ++(6,0)
(TM1.input 2) -- +(-.3,0)node[left]{T\verb|#|3s} (0,1) --+(0,-3.5)
(N1) -- ++(0,-2);
\ifdef{\drawCircuit}
{
}{
\fill[white!100, opacity=1]
(.3,1) -- ++(9.5,0) -- ++(0,-5)
-- ++(-9.5,0);
}
\ladderrungend{3}
\ladderpowerrails
\end{tikzpicture}
\end{center}