Programmable Logic Contrl
Programmable Logic Contrl
11/20/2018
TOPIK KULIAH
2
PENDAHULUAN
ARSITEKTUR & KOMPONEN-KOMPONEN PLC
INPUT/OUTPUT PLC
DASAR-DASAR PEMROGRAMAN PLC
KOMPONEN-KOMPONEN PEMROGRAMAN PLC
BAHASA PEMROGRAMAN PLC
LADDER DIAGRAM
REALISASI RANGKAIAN LOGIKA KE LADDER
DIAGRAM
INSTRUKSI PLC ,TIMER,COUNTER & INSTRUKSI
LAINNYA
APLIKASI PLC 11/20/2018
SISTEM PENILAIAN
3
UTS 30%
UAS 40%
TUGAS 20%
ABSEN 10%
------------------------
100%
11/20/2018
DAFTAR PUSTAKA
4
11/20/2018
PENDAHULUAN
5
KOMPUTER
JARINGAN
INTERNET
11/20/2018
KOMPUTER
6
PERSONAL COMPUTER
PROGRAMMABLE LOGIC CONTROLLER
MICROCONTROLLER
11/20/2018
KOMPUTER
7
HARDWARE
SOFTWARE
FIRMWARE
11/20/2018
8
11/20/2018
9
11/20/2018
SOFTWARE
1
0
11/20/2018
HUBUNGAN ANTARA HARDWARE
1
1
DENGAN SOFTWARE
11/20/2018
1
2
11/20/2018
MICROCONTROLLER
1
3
11/20/2018
1
4
11/20/2018
1
5
11/20/2018
PLC
1
6
11/20/2018
pendahuluan
1
7
DEFINISI PLC
SEJARAH PLC
KEUNTUNGAN & KERUGIAN PLC
JENIS-JENIS PLC
MEREK PLC
APLIKASI PLC
11/20/2018
DEFINISI PLC
1
8
11/20/2018
DEFINISI PLC
1
9
11/20/2018
MENGAPA MENGGUNAKAN PLC ?
2
0
23
SEJARAH PLC
1980 Intelligent I/O modules developed
Enhanced communications facilities
Enhanced software features
(e.g. documentation)
Use of personal microcomputers as
programming aids
1983 Low - cost small PLC’s introduced
1985 on Networking of all levels of PLC, computer
and machine using SCADA
software.
24
Blok diagram plc
2
5
11/20/2018
PLC VS KONVESIONAL
11/20/2018
2
8
11/20/2018
Karakteristik PLC:
Ukuran kecil
Pemrograman yang ampuh
Duplikasi mudah dan murah
Diagnosis terintegrasi &
terpusat
Dokumentasi text dan grafik
Harga murah
Karakteristik
Aplikasi universal PLC:
KEUNTUNGAN PLC
3
0
11/20/2018
3
2
11/20/2018
ADVANTAGES OF USING PLC:
Easier modification
Design easily changed using software ( changes and addition to specifications can be processed by
software.
Easy maintenance.
High Reliability
Food / Beverage
Metals
Power
Mining
Petrochemical / Chemical
39
Aplikasi…
EUROPEAN 1. Siemens
2. Klockner & Mouller
3. Festo
4. Telemechanique
45
MEREK-MEREK PLC
JAPANESE 1. Toshiba
2. Omron
3. Fanuc
4. Mitsubishi
KOREA 1. LG
2. SAMSUNG
46
PLC Size
1. SMALL - it covers units with up to 128 I/O’s and
memories up to 2 Kbytes.
- these PLC’s are capable of providing
simple to advance levels or
machine controls.
2. MEDIUM - have up to 2048 I/O’s and memories up
to 32 Kbytes.
3. LARGE - the most sophisticated units of the PLC
family. They have up to 8192 I/O’s
and memories up to 750
Kbytes.
- can control individual production
processes or entire plant.
47
Jenis kontruksi PLC:
i. Compact PLC
ii. Modular PLC
iii. PLC Plug-in Card
11/20/2018
Jenis kontruksi plc:
i. Compact PLC:
11/20/2018
KOMPONEN-KOMPONEN PLC
5
7
11/20/2018
Hardware
5
8
11/20/2018
HARDWARE
5
9
11/20/2018
SOFTWARE
6
0
11/20/2018
ARSITEKTUR PLC & BAGIAN-
6
1
BAGIAN PLC
ARSITEKTUR PLC POWER
SUPPLY
I M O M
N O U O
P D T D
PROCESSOR
U U P U
From T L U L
SENSORS E T E To
Pushbuttons, OUTPUT
contacts, Solenoids,
limit switches, contactors,
etc. alarms
etc.
PROGRAMMING
DEVICE
11/20/2018
Arsitektur plc
6
2
11/20/2018
Blok diagram plc
6
3
11/20/2018
3.1 Processor Architecture for PLC:
Data BUS
Address Bus
Control Bus
I/O MODULES
65
Catu daya PLC
Catu daya listrik digunakan untuk memberikan
pasokan catu daya ke seluruh bagian PLC
(termasuk CPU, memori dan lain-lain). Kebanyakan
PLC bekerja pada catu daya 24 VDC atau 220
VAC. Beberapa PLC catu dayanya terpisah
(sebagai modul tersendiri)
Major Components of a Common PLC
PROCESSOR
MEMORY
Used to store data and program
PROGRAMMING DEVICE
Programmer ( Square D )
72
MEMORY
7
3
11/20/2018
3.1.1 FUNCTION OF EACH BLOCK:
b. Memory Unit
• For storage of programs.
• The user’s ladder logic program, the state of I/O in the memory of
PLC.
• The main program and the other programs necessary for the
operation of PLC.
2 types of Memory
ROM RA
M
Memori
Memori sistem (saat ini banyak yang mengimplementasikan
penggunaan teknologi flash) digunakan oleh PLC untuk sistem
kontrol proses. Selain berfungsi untuk menyimpan "sistem
operasi", juga digunakan untuk menyimpan program yang harus
dijalankan, dalam bentuk biner, hasil terjemahan diagram
tangga yang dibuat oleh pengguna atau pemrogram.
Memori pengguna dibagi menjadi beberapa blok yang memiliki
fungsi khusus.Beberapa bagian memori digunakan untuk
menyimpan status masukan dan keluaran.
3.1.1 FUNCTION OF EACH BLOCK:
TYPES OF MEMORY:
RAM ROM
Random Access Memory Read Only Memory (read)
This memory can be read from This memory can be read only
and written to.
Entire contents will be lost if power Memory content remain when the
is switched off. power is switched off.
3.1.1 FUNCTION OF EACH BLOCK:
Input Unit:
Function as a medium that connects the external input
devices
(Switch, sensor & timer)
Output Unit:
Function as a medium that connects the external output
devices to the CPU within PLC.
( Lamp, motor & solenoid )
I/O Module
• The I/O interface section of a PLC connects it to
external field devices.
11/20/2018
Keluaran-keluaran PLC
sistem otomatis tidaklah lengkap jika tidak ada fasilitas
keluaran atau fasilitas untuk menghubungkan dengan
alat-alat eksternal (yang dikendalikan). Beberapa
alat atau piranti yang banyak digunakan adalah
motor, selenoida, relai, lampu indikator, speaker dan
lain sebagainya. Keluaran ini dapat berupa analog
maupun digital. Keluaran digital bertingkah seperti
sebuah saklar, menghubungkan dan memutuskan jalur.
Keluaran analog digunakan untuk menghasilkan sinyal
analog (misalnya, perubahan tegangan untuk
pengendalian motor secara regulasi linear sehingga
diperoleh kecepatan putar tertentu).
OUTPUT
8
1
11/20/2018
8
2
11/20/2018
Memory Map Organization
•System memory includes an area called the EXECUTIVE,
composed of permanently-stored programs that direct all
system activities, such as execution of the users control
program, communication with peripheral devices, and other
SYSTEM system activities.
•The system memory also contains the routines that
implement the PLC’s instruction set, which is composed of
specific control functions such as logic, sequencing, timing,
counting, and arithmetic.
•System memory is generally built from read-only memory
devices.
APPLICATION
•The application memory is divided into the data table area
•Data Table and user program area.
•The data table stores any data associated with the user’s
•User Program control program, such as system input and output status data,
and any stored constants, variables, or preset values. The
data table is where data is monitored, manipulated, and
changed for control purposes.
•The user program area is where the programmed
instructions entered by the user are stored as an application
control program.
83
Memory Designs
VOLATILE.
A volatile memory is one that loses its stored
information when power is removed.
86
Memory Designs
NON-VOLATILE
Has the ability to retain stored information when power is
removed, accidentally or intentionally. These memories
do not require battery back-up.
87
Memory Designs
Other Types of Non-Volatile Memory
90
9 11/20/2018
1
PLC Operation
Basic Function of a Typical PLC
92
Examples of PLC Programming Software:
Common Standards
RS 232
9600 baud.
95
PLC Communications
Local Area Network (LAN)
97
9 11/20/2018
8
Selecting a PLC
Criteria
SCAN TIME
100
Specifications
MEMORY CAPACITY
101
Karakteristik PLC:
INPUT/OUTPUT
1
0
4
SECARA FISIK INPUT/OUPUT MODUL TERPISAH DARI MODUL CPU . HAL INI
TERJADI UNTUK MENJAGA AGAR KERUSAKAN PADA INPUT/OUTPUT TIDAK
MENYEBABKAN TERJADINYA HUBUNG SINGKAT PADA UNIT CPU ISOLASI .
RANGKAIAN MODUL DARI CPU INI UMUMNYA MENGGUNAKAN RANGKAIAN
OPTOCOUPLER
MODUL I/O DISKRIT DAN MODUL I/O ANALOG
11/20/2018
1
0
5
INPUT KE DAN OUPUT DARI SUATU PLC ADALAH PENTING UNTUK MEMANTAU
DAN MENGONTROL SUATU PROSES. BAIK INPUT MAUPUN OUTPUT DAPAT
DIKELOMPOKKAN MENJADI 2 JENIS DASAR YAITU: LOGIKA ATAU KONTINU
OUTPUT KE AKTUATOR MEMUNGKINKAN SUATU PLC MENYEBABKAN SESUATU
TERJADI DALAM PROSES
CONTOH AKTUATOR KATUP KUMPARAN: OUPUT YANG DAPAT MENSWITCH
SUATU ALIRAN HIDROLIK ATAU PNEUMATIK
LAMPU: OUTPUT YANG DAPAT DIAKTIFKAN SECARA LANGSUNG DARI OUTPUT
PLC BOARD
MOTOR STARTER:MOTOR YANG MENARIK SEJUMLAH ARUS YANG BESAR KETIKA
START, OLEH KARENA ITU DIBUTUHKAN MOTOR STARTER, YANG PADA
PRINSIPNYA ADALAH RELAY-RELAY YANG BESAR
MOTOR SERVO: SUATU OUTPUT KONTINU DARI PLC DAPAT MEMERINTAHKAN
SUATU KECEPAT AN VARIABEL ATAU POSISI
11/20/2018
1
0
6
OUPUT DARI PLC BIASANYA BERUPA RELAY TETAPI BISA JUGA KOMPONEN
ELEKTRONIKA SOLID STATE SEPERTI TRANSISTOR UNTUK OUTPUT DC ATAU
TRIAC UNTUK OUTPUT AC. OUTPUT KONTINU MEMBUTUHKAN MODUL OUTPUT
KHUSUS ( MODUL ANALOG ) DENGAN DIGITAL TO ANALOG CONVERTER
INPUT BERASAL DARI SENSOR YANG MENGUBAH FENOMENA FISIK KE SINYAL
LISTRIK
CONTOH SENSOR :
PROXIMITY SWITCH : MENGGUNKAN INDUKTANSI , KAPASITANSI ATAU
CAHAYA UNTUK MENDETEKSI OBYEK SECARA LOGIKA
SWITCH/SAKLAR : MEKANISME MEKANIK YANG AKAN MEMBUKA ATAU
MENUTUP KONTAK LISTRIK UNTUK SUATU SINYAL LOGIKA
POTENSIOMETER : MENGUKUR POSISI ANGULAR SECARA TERUS MENERUS
MENGGUNAKAN TAHANAN
11/20/2018
1
0
7
Indicator lamps, solenoid valves, and motor contactors (starters) are all examples of
discrete control devices. In a manner similar to discrete inputs, a PLC connects to any
number of different discrete final control devices through a discrete output channel.
Discrete output modules typically use the same form of opto-isolation to allow the
PLC’s computer circuitry to send electrical power to loads: the internal PLC circuitry
driving an LED which then activates some form of photosensitive switching device.
Alternatively, small electromechanical relays may be used to interface the PLC’s
output bits to real-world electrical control devices.
An important concept to master when working with DC discrete I/O is the distinction
between current-sourcing andcurrent-sinking devices. The terms “sourcing” and
“sinking” refer to the direction of current (as denoted by conventional flow notation)
into or out of a device’s control wire. A device sending (conventional flow) current
out of its control terminal to some other device(s) is said to be sourcing current, while
a device accepting (conventional flow) current into its control terminal is said to
be sinking current.
To illustrate, the following illustration shows a PLC output channel is sourcing current
to an indicator lamp, which issinking current to ground: 11/20/2018
INPUT
1
0
8
11/20/2018
1
0
9
11/20/2018
1
1
0
11/20/2018
1
1
1
11/20/2018
1
1
2
Dari gambar 1 sampai gambar 3, terlihat bahwa secara fisik rangkaian pada
modul ini terpisah dari rangkaian internal (CPU). Isolasi rangkaian ini menggunakan
optocoupler dengan dua buah diode pemancar yang dipasang antiparalel. Hal ini
dilakukan untuk tujuan fleksibilitas penyambungan terminal input dengan catu daya
penggerak sensor atau saklar yang terhubung. Dalam hal ini, terminal common
pada modul dapat dihubungkan balk dengan polaritas yang lebih positif atau
lebih negatif dari catu dayanya
Besar arus yang mengalir di dalam sebuah terminal input ketika sebuah saklar
tertutup umumnya berada dalam satuan miliampere (tipikalnya adalah 7
miliampere). Arus sebesar ini telah cukup untuk menggerakkan basis transistor pada
optocoupler menjadi ON. Jika menggunakan sumber tegangan yang lebih kecil dari
yang telah ditentukan oleh vendor PLC yang dipakai maka akan terjadi
situasi undercurrent, yaitu arus yang mengalir pada modul tidak dapat
menggerakan basis transistor pada optocoupler tersebut
11/20/2018
1
1
3
11/20/2018
1
1
4
11/20/2018
1
1
5
11/20/2018
OUTPUT
1
1
6
11/20/2018
1
1
7
11/20/2018
1
1
8
11/20/2018
1
1
9
11/20/2018
1
2
0
11/20/2018
Jenis modul output
1
2
1
§ output Relay
output PLC jenis relay adalah yang paling fleksibel penggunaannya karena dapat
menggerakkan beban AC maupun DC. kelemahannya terletak pada
tanggapan switching-nya yang relatif lambat (sekitar 10 ms ), dan akan mengalami
kerusakan setelah beberapa juta siklus switching.
Gambar 4 rangkaian internal output PLC Jenis relay
Besar rating arus untuk setiap terminal umumnya tidak boleh melebihi 2 A untuk
tegangan 220 volt (untuk lebih jelasnya dapat dilihat pada manual PLC yang
digunakan). Bila batas besar rating arus ini dilampaui, akan menimbulkan
kerusakan pada modul output nya. Jika keluaran yang akan dikontrol merupakan
beban yang relatif besar (mengalirkan arus dengan jumlah besar) maka akan lebih
aman jika output relay ini mengontrol beban tersebut lewat relay luar.
11/20/2018
1
2
2
11/20/2018
1
2
3
§ output transistor
output PLC jenis transistor, beban yang dapat dikontrol terbatas pada beban-
beban jenis DC saja. (besar arus yang bisa dilewatkan umumnya adalah 1 A,
dengan waktu respons kurang dari 1 ms)
Berdasarkan transistornya, ada dua jenis output PLC ini: (1) jenis NPN dan (2) jenis
PNP. Pada prinsipnya kedua jenis keluaran ini adalah sama, yaitu dapat
mengalirkan arus atau daya dalam satu arah saja. Ada dua jenis mode operasi
transistor ini: (1) transistor digunakan sebagai penguat linier, dan (2) transistor
digunakan sebagai saklar. Dalam rangkaian internal PLC, Iransistor dioperasikan
sebagai saklar, yaitu dengan cara mengoperasikan pada daerah jenuhnya.
Perlu ditekankan di sini, walaupun transistor ini berlaku sebagai saklar, tetapi
secara praktis akan selalu ada drop tegangan pada saklar ini (antara kaki
collector terhadap emiter) yang besarnya berkisar antara 1-2 volt
jenis keluaran transistor NPN. Dari gambar, terlihat bahwa terminal common pada
modul output harus selalu dihubungkan dengan sumber tegangan positif (ingat,
transistor dalam operasinya hanya akan mengalirkan arus dari collector ke emiter
jika tegangan collector lebih positif dari tegangan emitter
Modul output PLC jenis PNP memiliki prinsip kerja kebalikan dari jenis NPN yang
telah dibahas di atas.
11/20/2018
1
2
5
11/20/2018
1
2
6
11/20/2018
1
2
8
11/20/2018
1
2
9
11/20/2018
MODUL INPUT ANALOG
1
3
0
Selain dapat mengolah sinyal digital, PLC juga dapat mengolah sinyal
analog.Modul ini biasanya didesain untuk membaca sinyal-sinyal standard industri
yakni 0 – 5 V, ±10 V, atau 4 – 20 mA. Untuk menggunakan analog input, modul ini
harus dihubungkan ke rangkaian PLC dan ditentukan Unit No.-nya. Unit No. ini
ditentukan dengan cara mengatur skrup Mach No. di depan Modul Analog Unit.
Skrup Mach No. ini ada 2 buah: satu skrup puluhan (x10¹) dan satu skrup satuan
(x10°). Jika ingin membuat modul ini memiliki Unit No. 12, putar skrup puluhan ke
angka 1 dan skrup satuan ke angka 2. Selain itu, di IO Table dan Unit Setup pada
CX-Programmer juga harus diberi Unit No. yang sama. Ingat, Unit No. modul ini
tidak boleh sama dengan modul lain karena akan bertabrakan pengalamatan
memorinya
11/20/2018
131
MODUL OUPUT ANALOG
1
3
2
133
I/O Circuits
5. Special - Purpose I/O
134
1
3
5 11/20/2018
1
3
6 11/20/2018
1
3
7 11/20/2018
1
3
8 11/20/2018
OUTPUTS
INPUTS MOTOR
CONTACTOR
LAMP
PUSHBUTTONS
PLC
139
Allen-Bradley 1746-1A16
L1 L2 I= Input
Module
I:2 slot # in rack
P. B SWITCH 0 Module
Terminal #
Address I:2.0/0
LADDER PROGRAM
INPUT
MODULE
WIRING DIAGRAM
140
CONTACTOR
L2 L1 N.
O
MOTOR
L2
C •SOLENOID
L1
•VALVES
FIELD •LAMP
WIRING •BUZZER
OUTPUT MODULE
WIRING
L1 O:4 L2
CONTACTOR 0
LADDER PROGRAM
141
Discrete Input
A discrete input also referred as digital input is an input that
is either ON or OFF are connected to the PLC digital input.
In the ON condition it is referred to as logic 1 or a logic high
and in the OFF condition maybe referred to as logic o or
logic low.
Normally Open
Pushbutton
Normally Closed
Pushbutton
Normally Open switch
143
Digital Output
144
Analog Output
OUT
E Supply air
PLC 0 to 10V P
Analog
Output
Module
Pneumatic control valve
145
SISTEM BILANGAN DAN KODE
1
4
6
BINER
OCTAL
DESIMAL
HEKSADESIMAL
11/20/2018
1
4
7
11/20/2018
CONTOH
1
4
8
11/20/2018
CONTOH
1
4
9
? ? 128 64 32 16 8 4 2 1
1 0 0 0 0 0 1 1
1 0 1 0 0 1 1 0 0
100000112 = ……………….10 ?
1010011002 = ……………………10 ?
Binary Inputs and Outputs
Number Representation - Binary to decimal
A decimal number can be converted to binary by repeated
division by 2
number /2 remainder
155 77 1 Least Significant Bit
77 38 1
38 19 0
19 9 1
9 4 1
4 2 0
2 1 0
1 0 1 Most Significant bit
15510 = 100110112
Decimal to Binary
and so on…
154
Binary Inputs and Outputs
Hexadecimal and Octal
Writing binary numbers as strings of 1s and 0s can
be very tedious
Octal (base 8) and Hexadecimal (base 16) notations
can be 512
octal
used to reduce
(83) 64 (82)
a long string
8 (81)
of binary digits.
1 (80)
1 2 0 7 512 + 128 + 7
binary octal
To convert a binary string: 10011101010011
000 0
001 1
Split into groups of 3:
010 2
010 011 101 010 011
011 3
2 3 5 2 3
100 4
101 5
Thus 100111010100112 = 235238
110 6
111 7
Similarly with Hexadecimal
11/20/2018
Ascii
1
6
4
11/20/2018
Contoh ascii
1
6
5
11/20/2018
Gray Codes
Other codes exist for specific purposes Dec Gra
Gray codes provide a sequence where y
only one bit changes for each increment 0 000
Allows increments without ambiguity due to 1 001
bits changing at different times. 2 011
E.g. changing from 3 to 4, normal binary has 3 010
all three bits changing 011 -> 100.
Depending on the order in which the bits 4 110
change any intermediate value may be 5 111
created.
6 101
7 100
Kode gray
1
6
7
11/20/2018
Kode gray
1
6
8
11/20/2018
1
6
9
11/20/2018
PARITY
1
7
0
11/20/2018
PARITY
1
7
1
11/20/2018
1
7
2
11/20/2018
Basic Concepts
Simple gates
AND
OR
NOT
Functionality can be
expressed by a truth table
A truth table lists output for
each possible input
combination
Precedence
NOT > AND > OR
F =AB +AB
= (A (B)) + ((A) B)
Basic Concepts (cont.)
Additional useful gates
NAND
NOR
XOR
NAND = AND + NOT
NOR = OR + NOT
XOR implements
exclusive-OR function
NAND and NOR gates
require only 2 transistors
AND and OR need 3
transistors!
Basic Concepts (cont.)
Proving NAND gate is universal
Basic Concepts (cont.)
Proving NOR gate is universal
177
Logic Chips (cont.)
Logic Chips (cont.)
Integration levels
SSI (small scale integration)
Introduced in late 1960s
1-10 gates (previous examples)
Graphical form
Example:
Majority function
Outputis one whenever majority of inputs is 1
We use 3-input majority function
Logic Functions (cont.)
3-input majority function Logical expression form
A B C F F=AB+BC+AC
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
Logical Equivalence
All three circuits implement F = A B function
Logical Equivalence (cont.)
Derivation of logical expression from a circuit
Trace from the input to output
Write down intermediate logical expressions along the
path
Logical Equivalence (cont.)
Proving logical equivalence: Truth table
method
A B F1 = A B F3 = (A + B) (A + B) (A + B)
0 0 0 0
0 1 0 0
1 0 0 0
1 1 1 1
Boolean Algebra
Boolean Algebra (cont.)
1
8
7
11/20/2018
Boolean Algebra (cont.)
Proving logical equivalence: Boolean algebra
method
To
prove that two logical functions F1 and F2 are
equivalent
Startwith one function and apply Boolean laws to
derive the other function
Needs intuition as to which laws should be applied
and when
Practice helps
Sometimes it may be convenient to reduce both
functions to the same expression
Example: F1= A B and F3 are equivalent
Logic Circuit Design Process
A simple logic design process involves
Problem specification
Truth table derivation
Derivation of logical expression
Simplification of logical expression
Implementation
Deriving Logical Expressions (cont.)
3-input majority function SOP logical expression
A B C F Four product terms
Because there are 4 rows with a
0 0 0 0 1 output
0 0 1 0
0 1 0 0
0 1 1 1 F=ABC+ABC+
1 0 0 0 ABC+ABC
1 0 1 1
1 1 0 1
1 1 1 1
Logical Expression Simplification
Two basic methods
Algebraic manipulation
Use Boolean laws to simplify the expression
Difficult to use
Don’t know if you have the simplified form
Karnaugh map (K-map) method
Graphical method
Easy to use
Can be used to simplify logical expressions with a few
variables
Algebraic Manipulation
Majority function example Added extra
ABC+ABC+ABC+ABC =
ABC+ABC+ABC+ABC+ABC+ABC
BC+AC+AB
11/20/2018
1
9
4
11/20/2018
Karnaugh Map Method
Note the order
Karnaugh Map Method (cont.)
Simplification examples
Karnaugh Map Method (cont.)
First and last columns/rows are adjacent
Karnaugh Map Method (cont.)
Minimal expression depends on groupings
Karnaugh Map Method (cont.)
No redundant groupings
Karnaugh Map Method (cont.)
Don’t cares simplify the expression a lot
Implementation Using NAND Gates
Using NAND gates
Get an equivalent expression
AB+CD=AB+CD
Using de Morgan’s law
AB+CD=AB.CD
Can be generalized
Majority function
A B + B C + AC = A B . BC . AC
Idea: NAND Gates: Sum-of-Products, NOR Gates: Product-of-Sums
Implementation Using NAND Gates (cont.)
Majority function
Introduction to Combinational Circuits
Combinational circuits
Output depends only on the current inputs
Combinational circuits provide a higher level of
abstraction
Helpin reducing design complexity
Reduce chip count
11/20/2018
2
0
5
11/20/2018
2
0
6
11/20/2018
2
0
7
11/20/2018
2
0
8
11/20/2018
PROGRAMMING
Power flows through these contacts when they are closed. The
normally open (NO) is true when the input or output status bit
controlling the contact is 1. The normally closed (NC) is true
when the input or output status bit controlling the contact is 0.
209
Coils
210
Boxes
211
2
1 11/20/2018
2
2
1 11/20/2018
3
AND OPERATION
A B C
Rung
214
OR OPERATION
A C
Rung
215
NOT OPERATION
A C
Rung
216
2
1 11/20/2018
7
2
1 11/20/2018
8
2
1 11/20/2018
9
2
2 11/20/2018
0
2
2 11/20/2018
1
2
2 11/20/2018
2
2
2 11/20/2018
3
2
2 11/20/2018
4
2
2 11/20/2018
5
2
2 11/20/2018
6
2
2 11/20/2018
7
2
2 11/20/2018
8
2
2 11/20/2018
9
2
3 11/20/2018
0
2
3 11/20/2018
1
2
3 11/20/2018
2
2
3 11/20/2018
3
2
3 11/20/2018
4
2
3 11/20/2018
5
2
3 11/20/2018
6
2
3 11/20/2018
7
BAHASA PEMROGRAMAN PLC
2
3
8
11/20/2018
BAHASA PEMROGRAMAN PLC
2
3
9
11/20/2018
2
4 11/20/2018
0
2
4 11/20/2018
1
2
4 11/20/2018
2
2
4 11/20/2018
3
2
4 11/20/2018
4
2
4 11/20/2018
5
2
4 11/20/2018
6
2
4 11/20/2018
7
2
4 11/20/2018
8
2
4 11/20/2018
9
2
5 11/20/2018
0
2
5 11/20/2018
1
2
5 11/20/2018
2
2
5 11/20/2018
3
2
5 11/20/2018
4
2
5 11/20/2018
5
2
5 11/20/2018
6
2
5 11/20/2018
7
2
5 11/20/2018
8
2
5 11/20/2018
9
2
6 11/20/2018
0
2
6 11/20/2018
1
2
6 11/20/2018
2
2
6 11/20/2018
3
2
6 11/20/2018
4
2
6 11/20/2018
5
2
6 11/20/2018
6
2
6 11/20/2018
7
2
6 11/20/2018
8
2
6 11/20/2018
9
2
7 11/20/2018
0
2
7 11/20/2018
1
2
7 11/20/2018
2
2
7 11/20/2018
3
2
7 11/20/2018
4
2
7 11/20/2018
5
2
7 11/20/2018
6
2
7 11/20/2018
7
2
7 11/20/2018
8
2
7 11/20/2018
9
2
8 11/20/2018
0
2
8 11/20/2018
1
2
8 11/20/2018
2
2
8 11/20/2018
3
2
8 11/20/2018
4
2
8 11/20/2018
5
2
8 11/20/2018
6
2
8 11/20/2018
7
2
8 11/20/2018
8
2
8 11/20/2018
9
2
9 11/20/2018
0
2
9 11/20/2018
1
2
9 11/20/2018
2
2
9 11/20/2018
3
2
9 11/20/2018
4
2
9 11/20/2018
5
2
9 11/20/2018
6
2
9 11/20/2018
7
2
9 11/20/2018
8
2
9 11/20/2018
9
3
0 11/20/2018
0
3
0 11/20/2018
1
3
0 11/20/2018
2
3
0 11/20/2018
3
3
0 11/20/2018
4
3
0 11/20/2018
5
3
0 11/20/2018
6
3
0 11/20/2018
7
3
0 11/20/2018
8
3
0 11/20/2018
9
Fungsi move
3
1
0
11/20/2018
3
1
1
11/20/2018
Fungsi matematika
3
1
2
11/20/2018
3
1 11/20/2018
3
3
1 11/20/2018
4
3
1 11/20/2018
5
3
1 11/20/2018
6
konversi
3
1
7
11/20/2018
3
1 11/20/2018
8
Fungsi logika
3
1
9
PERBANDINGAN
11/20/2018
3
2 11/20/2018
0
3
2 11/20/2018
1
3
2 11/20/2018
2
FUNGSI BOOLEAN
3
2
3
11/20/2018
3
2 11/20/2018
3
2 11/20/2018
3
2 11/20/2018
3
2 11/20/2018
3
2 11/20/2018
3
2 11/20/2018
3
3 11/20/2018
3
3 11/20/2018
3
3 11/20/2018
3
3 11/20/2018
3
3 11/20/2018
3
3 11/20/2018
3
3 11/20/2018
3
3 11/20/2018
3
3 11/20/2018
3
3 11/20/2018
3
4 11/20/2018
3
4 11/20/2018
3
4 11/20/2018
3
4 11/20/2018
3
4 11/20/2018
3
4 11/20/2018
3
4 11/20/2018
3
4 11/20/2018
3
4 11/20/2018
3
4 11/20/2018
3
5 11/20/2018
3
5 11/20/2018
3
5 11/20/2018
3
5 11/20/2018
3
5 11/20/2018
3
5 11/20/2018
3
5 11/20/2018
3
5 11/20/2018
3
5 11/20/2018
3
5 11/20/2018
3
6 11/20/2018
3
6 11/20/2018
3
6 11/20/2018
3
6 11/20/2018
3
6 11/20/2018
3
6 11/20/2018
3
6 11/20/2018
3
6 11/20/2018
3
6 11/20/2018
3
6 11/20/2018
3
7 11/20/2018
3
7 11/20/2018
3
7 11/20/2018
3
7 11/20/2018
3
7 11/20/2018
3
7 11/20/2018
3
7 11/20/2018
3
7 11/20/2018
3
7 11/20/2018
3
7 11/20/2018
3
KESIMPULAN
8
0 MERAKIT SISTEM PLC: MEREK PLC,KABEL, PC
INSTALL SOFTWARE PLC
PELAJARI SOFTWARE PLC
BUAT CONTOH-CONTOH KASUS
MASUKKAN KE DALAM MEMORI PLC UNTUK
DIJALANKAN
JALANKAN PROGRAM PLC TERSEBUT
AMATI HASIL /OUTPUT NYA
11/20/2018