Professional Documents
Culture Documents
PROGRAMMABLE
LOGIC CONTROLLER
Sistem Pengendalian otomatisasi
Sebuah analogi dapat dibuat antara video VHS tape, dan DVD. Kedua
sistem memungkinkan pemirsa untuk merekam program TV untuk
melihat pada waktu terakhir, tetapi DVD juga juga dapat digunakan
untuk merekam musik, data, dan banyak lagi.
We will use the term PLC generically to refer to both PLCs, and PACs.
This section will explore the various components that comprise a PLC
system.
LA
IK
adalah 4
menunjukkan 5
ers
nv
ko
i
sederhana 6
beralih 7
+ 24 Volt 8
9
10
COM
• modul input yang mengubah tegangan dunia nyata dan arus untuk
sinyal PLC bisa mengerti. Karena ada berbagai jenis perangkat
input, ada berbagai macam modul input yang tersedia, termasuk
kedua modul digital dan analog.
Beralih Tekanan Suhu
0-10V DC
24V DC 4-20 mA
analog input
Diskrit vs
Analog
Modul
Modul diskrit
analog Modul
Output Modules
• Output modules interface directly to devices such as motor starters and
lights
• Output modules take digital signals from the PLC and convert them to
electrical signals such as 24VDC and 4 mA that field devices can
understand
Output Module
1
2
3
4
D/
A
From PLC 58
6
7
9
10
COM
Terminal block - this is where wires from the field devices are connected
Koneksi untuk
dibangun pada I / O
modul slide ke
slot yang tersedia
Benefits of the
Different
Forms
No
• Great flexibility in choice of modules. chassi
Modules can be easily installed or s cost.
removed without affecting other
modules • Low
cost
• Great flexibility in choice of modules. soluti
In some cases modules cannot be on
removed without “breaking the chain” but
and affecting all modules downstream. limite
d flexibility. Generally used in smaller,
simpler systems.
module plugs
into the one to the left
Basic
Components of
a PLC System
Power Supply
A power supply is needed to provide power to the PLC and
any other modules. Power supplies come in various forms:
• Power supply modules that fit into one of the slots in a chassis
• External power supplies that mount to the outside of a chassis
• Stand alone power supplies that connect to the PLC or I/O
through a power cable
• pasokan listrik tertanam yang datang sebagai bagian dari blok
PLC.
network interface
“ Wiring to field
devices
p
a Backplan
e of
n chassis
e
l
”
Power supply
mounted to
the side
of the chassis
PLC
controller
I/O modules
Network interface
PLCs are part of a Control System
The PLC system is the center of a control system, but it is not the entire
control system. There are several other key pieces that must be added
to a PLC system to make a complete control system. Examples are:
• Operator terminals
• Networks
• Distributed I/O devices (I/O that is in a different location then the PLC)
PLC PROGRAMMING
Programming a PLC
Every PLC has associated programming software that allows the user to enter a
program into the PLC.
• Software used today is Windows based, and can be run on any PC.
• Different products may require different software: PLC5, SLC, and ControlLogix
each require their own programming software.
Ladder logic
program in PLC
Programming a PLC
Ladder logic
program in PLC
Start Button
In this example, if the actual Start Button is on, then the value of all the
XICs named Start Button, in the program will be true (also known as a
‘one”, or “closed”).
If the start button is off (not on) then the value of the Start Button XICs
will be false (also known as a “zero”, or “open”).
Jika ada beberapa XIC pada anak tangga, maka semua harus
berada di untuk anak tangga untuk menjadi kenyataan.
Jika ada beberapa OTE pada anak tangga, maka semua akan
diaktifkan atau dinonaktifkan berdasarkan kondisi anak tangga (benar
atau salah).
Semua output
akan menyala jika
anak tangga benar
Alamat ini digunakan oleh PLC untuk tahu persis yang masukan
untuk membaca atau yang output ke perintah.
I / O Mengatasi
Since a PLC will be controlling real devices down on a plant floor, it has
to have some way of communicating to the correct device. All PLCs
use some sort of method of I/O Addressing to perform this function.
• I/O addresses are a means to tie a physical I/O point to a location in PLC memory
• An input address will represent the state of an input device, i.e. the switch is on or
off.
• An output address will represent the commanded state for a device. i.e., turn
the motor on or off.
Example of Example of
input address output address
representing an representing an
actual input actual output
Local:5:I.Data[0].1 Local:7:O.Data[6].11
I/O Addressing
Example of
I/O Addressing vs. Data
Start Button Addressing
Local:5:I.Data[0].1
I/O addresses are a means to tie a physical I/O
point to a location in PLC memory. There are
Exampl other addresses that do not connect to physical
e of
base I/O, but are used to hold a value.
Input
address
Ladde
r
Logic
Examp
le
Berikutnya, kita akan melihat pada segmen yang sebenarnya kode
logika tangga. Kode akan menjadi kode yang digunakan untuk
mengontrol conveyor kami dari pelajaran pertama. Sebelum kita
melakukan itu, mari kita lihat beberapa petunjuk lebih tangga logika:
L OTL - Output latch - ternyata pada output
dan
terus itu bahkan jika anak tangga berjalan
palsu
Motor 1
Relay Ladder Logic Contoh
Baris ketiga dimulai timer ketika kotak lewat photoeye1, dan jika kotak
tidak melewati photoeye2 dalam 30 detik (timer menghitung dalam
milidetik), motor dan cahaya yang mematikan oleh garis 4. ini adalah
indikasi kondisi macet.
PLC Mengatasi Contoh
• Function Block
if (!hostto) {
• Higher level languages such as C. sprintf(hostbuf, "unknown (%s)",
inet_ntoa(ip->ip_src));
hostto = hostbuf;
}
ARCHITECTURE
Control System Architectures
Dalam arsitektur sistem kontrol ada banyak subsistem dan istilah yang
digunakan untuk menggambarkan mereka. Bagian ini akan membahas
beberapa istilah populer digunakan untuk menggambarkan bagian dari
sistem kontrol.
• Aku lokal / O
• Didistribusikan I / O
• Terpusat I / O
• Pengendalian terpusat
• kontrol terdistribusi
• Sistem pengaturan
• Sistem Akuisisi Data
• Sistem Keamanan
I / O Sistem
I / O sistem sering disebut sebagai lokal atau didistribusikan.
• Lokal mengacu pada I / O yang terpasang langsung ke Controller atau pada
backplane sama Controller
• didistribusikan mengacu pada I / O yang tidak pada backplane sama Controller.
Didistribusikan I / O terhubung menggunakan jaringan.
Aku lokal / O I / O adapter
Masukan modul -
didistribusikan
PLC I/O
Saklar-masukan
I / O jaringan
I / O Arsitektur
I / O arsitektur terdiri dari sistem I / O. Arsitektur yang disebut sebagai Terpusat
dan Terdistribusi
• sentralisasi mengacu pada I / O yang terletak dekat atau di kabinet sama seperti
prosesor. Kabel dari perangkat lapangan dibawa kembali ke I / O, dan dapat
cukup panjang.
• didistribusikan mengacu pada I / O yang terletak di dekat perangkat lapangan.
Kabel dari perangkat lapangan yang singkat. Kabel jaringan lari ke Terdistribusi I / O
bukannya menjalankan kabel lapangan kembali ke I / O.
kabel lapangan
Saklar-masukan
kabinet processor
kabinet processor
Sistem vs
Arsitektur
• I / O sistem merupakan bagian dari arsitektur I / O.
- Jika beberapa I / O terletak jauh dari prosesor itu didistribusikan Arsitektur. Dalam
arsitektur terdistribusi didistribusikan I / O, atau keduanya lokal dan didistribusikan
I / O.
I / O jaringan
Aku lokal / O
kabinet processor
Pengendalian terpusat
Keuntungan dan kerugian dari kontrol terpusat
• Keuntungan
- Program kontrol semua dalam satu tempat
- Lebih mudah untuk mengatasi masalah sistem
- I O kinerja / seluruh seluruh sistem
• kekurangan
- Program bisa mendapatkan cukup besar
- / O kinerja saya berhubungan lebih lambat
dibandingkan dengan kontrol terdistribusi
- Tunggal PLC kegagalan menutup seluruh sistem
kontrol terdistribusi
kontrol terdistribusi mengacu pada sistem kontrol di mana beberapa
kontroler PLC berbagi tanggung jawab mengendalikan sistem. PLC
biasanya berkomunikasi sering dengan satu sama lain.
kontrol
terdistribusi
Keuntungan dan kerugian dari kontrol terdistribusi
• Keuntungan
- program tersegmentasi untuk tugas-tugas tertentu
- Lebih mudah untuk memecahkan masalah lokal
- Kinerja pada jaringan lokal ALLEN-BRADLEY ALLEN-BRADLEY ALLEN-BRADLEY
• kekurangan
- masalah sistem lebih sulit untuk memecahkan masalah
- Kinerja dari I / O di PLC
- Biaya
- Menjaga beberapa program
Sistem Pengendalian
Sistem kontrol adalah sistem yang bertanggung jawab untuk
mengontrol proses. Ini adalah sistem yang mencakup PLC, semua I / O
dan setiap Human Machine Interface (HMI).
HMI
PLC
I/O
pintu gerbang
komputer Sistem
pengaturan
file server
Terdiri dari perangkat dan jaringan yang bertanggung jawab untuk memperoleh
data tentang proses. Tidak bertanggung jawab atas kontrol langsung dari
proses.
pintu gerbang
komputer Sistem
pengaturan
file server
Sistem Keamanan
• Itu Fungsi dari Sistem Keamanan adalah memantau dan kontrol
kondisi pada mesin atau proses yang berbahaya dalam diri mereka
sendiri atau, jika tidak ada tindakan yang diambil, dapat menimbulkan
situasi berbahaya