Download as pdf or txt
Download as pdf or txt
You are on page 1of 35

Pemrograman

& Operasi PLC Imam Halimi

INSTALASI DAN
plc wiring - 2.5
PEMROGRAMAN
push buttons
P L C
power
supply
+24V

com.

PLC
inputs

ladder
logic
A B C

outputs

115Vac
AC power
light Imam Halimi
Instrumenta<on & Control
neut.

Figure 2.3 A PLC Illustrated With Relays

Many relays also have multiple outputs (throws) and this allows an output relay to
also be an input simultaneously. The circuit shown in Figure 2.4 is an example of this, it is
called a seal in circuit. In this circuit the current can flow through either branch of the cir-
cuit, through the contacts labelled A or B. The input B will only be on when the output B
is on. If B is off, and A is energized, then B will turn on. If B turns on then the input B will
turn on, and keep output B on even if input A goes off. After B is turned on the output B
will not turn off. 1
Pemrograman & Operasi PLC Imam Halimi

No. TOPIK BAHASAN


1 Pendahuluan
2 Konfigurasi PLC
3 Pemasangan PLC
4 Instalasi PLC
5 Pemrograman PLC
6 Uji Fungsi

PLC Programming_Imam 2019 2


Pemrograman & Operasi PLC Imam Halimi

1. PENDAHULUAN

What is PLC ?
P Programmable Dapat diprogram
L Logic Logika
C Controller Pengontrol

PLC Programming_Imam 2019 3


Pemrograman & Operasi PLC Imam Halimi

1. PENDAHULUAN

NO. ASPEK PLC KONVENSIONAL


1 KEHANDALAN TINGGI RENDAH

2 AKURASI BAIK KURANG

3 MODIFIKASI SISTEM LEBIH MUDAH LEBIH SULIT

4 KOMPATIBILITAS LEBIH FLEKSIBEL KURANG FLEKSIBEL

5 BIAYA RELATIF MURAH RELATIF MAHAL

6 KOMPONEN ALAT LEBIH SEDIKIT LEBIH BANYAK

7 RUANG/TEMPAT LEBIH KECIL LEBIH BESAR

8 MAINTENANCE LEBIH MUDAH LEBIH SULIT

9 DESAIN KONTROL LEBIH MUDAH LEBIH SULIT

10 WAKTU PENGERJAAN LEBIH CEPAT LEBIH LAMBAT

PLC Programming_Imam 2019 4


Pemrograman & Operasi PLC Imam Halimi

1. PENDAHULUAN

Year History DescripFon


1968 Programmable concept developed

1969 Hardware CPU controller, with logic instruc<ons, 1 K of memory and 128 I/O points
Use of several (mul<) processors within a PLC - <mers and counters; arithme<c
1974
opera<ons; 12 K of memory and 1024 I/O points
1976 Remote input/output systems introduced

1977 Microprocessors - based PLC introduced


Intelligent I/O modules developed, Enhanced communica<ons facili<es, Enhanced
1980
soeware features, Use of personal microcomputers as programming aids
1983 Low - cost small PLC’s introduced

1985 Networking of all levels of PLC, computer and machine using SCADA soeware

PLC Programming_Imam 2019 5


Pemrograman & Operasi PLC Imam Halimi

PLC Brands 1. PENDAHULUAN

PLC Programming_Imam 2019 6


Pemrograman & Operasi PLC Imam Halimi

PLC Brands 1. PENDAHULUAN

AMERICA JAPAN
1. Allen Bradley 1. Toshiba
2. Gould Modicon 2. Omron
3. Texas Instruments 3. Fanuc
4. General Electric/GE 4. Mitsubishi
5. Wes<nghouse 5. Yaskawa
6. Cuher Hammer 6. Fuji Electric
7. Square D 7. Panasonic
8. Yokogawa
EUROPE 9. Hitachi
1. Siemens Korea
2. Klockner & Mouller 1. LS (LG)
3. Festo 2. Fatek
4. Telemechanique 3. Autonics

PLC Programming_Imam 2019 7


Pemrograman & Operasi PLC Imam Halimi

PLC ApplicaFon 1. PENDAHULUAN

Manufacturing / Machining
! 

Food / Beverage
! 

!  Metals

Power Plant
! 

Mining
! 

!  Petrochemical / Chemical

PLC Programming_Imam 2019 8


Pemrograman & Operasi PLC Imam Halimi

PLC Category 1. PENDAHULUAN

1.  Micro PLC


2.  Small PLC
3.  Medium PLC
4.  Large PLC
5.  Very large PLC

PLC Programming_Imam 2019 9


Pemrograman & Operasi PLC Imam Halimi

PLC Type 1. PENDAHULUAN

COMPACT type MODULAR type

PLC Programming_Imam 2019 10


Pemrograman & Operasi PLC Imam Halimi

2. Blok Diagram PLC

POWER
SUPPLY

I M O M
N O U O
P D T D
U U PROCESSOR P U
T L U L
From E T E To
INPUT OUTPUT
PushbuQons, Solenoids,
contacts, contactors, alarms
limit switches, MEMORY etc.
etc.

PROGRAMMING
DEVICE

PLC Programming_Imam 2019 11


2.2 Product List

Pemrograman & Operasi PLC


The following describes functional model of the GLOFA-GM7Useries.
Imam Halimi

2.2.1 Product functional block 2. Konfigurai PLC

Product configuration block for the GM7U series is as follows.

Main Unit Expansion Modules

Power supply Input signal Input signal

Power Input Input


supply
DC24V
Power CPU Special/Communi-
supply cation modules

Comm. Output Output


I/F

Built-in RS-232C I/F Output signal O

Built-in RS-232C Output signal Output signal


Built-in RS-485

Sub-system Description
CPU Signal processing function
- Operating system function
PLC Programming_Imam 2019 12
- Application program storage / memory function
- Data storage / memory function
1 Concepts Programmable Controllers 1

1-3 P RINCIPLES OF O PERATION


A programmable controller,PLC
Pemrograman & Operasi as illustrated in Figure 1-5, consists of two basic Imam Halimi
sections:
• the central processing unit
2. Konfigurai PLC
• the input/output interface system

I O
N U
Central T
P Processing P
U Unit U
T
T
S
S

Figure 1-5. Programmable controller block diagram.

TheNo. Input/Output
central processing unit (CPU)PLC Varian
governs all Parameter
PLC activities. The following
three components, shown in Figure 1-6, form the CPU:
•1 theDigital
processor Opto Transistor DC 24V
• the memory system Opto Triac AC 110/220V
Relay DC 24V / AC 110-220V
• the system power supply

2 Analog Tegangan 0-5 Vdc


0-10 Vdc
Arus 0-20 mA
Processor Memory 4-20 mA

PLC Programming_Imam 2019 13

Power
Chapter 4. Names of Parts

Pemrograman & Operasi


Chapter PLC
4. Names of Parts Imam Halimi

4.1 Main Units 2. Konfigurasi PLC

No. NAME

1 LED CPU Condi<on


10
2 I/O LED Indicator

3 RS-485 Connector

4 Mode Selec<on Switch

5 Dip-Switch for Cnet I/F

6 RS-232 Connector
11
7 Expansion Connector

8 Terminal Block Cover

9 DIN Rail Hook


- + 10 Input Terminal

11 Output Terminal
No. Name Descriptions
Indicates the status of the power supply to the system
PLC Programming_Imam 2019 14
PWR LED On: when the supplied power is normal
Off: when the supplied power is abnormal
Harpic'Power'Filling'Machine'USER'MANUAL March 1, 2010

Pemrograman & Operasi PLC '


Imam Halimi
'
'
' 3. Pemasangan PLC
'
Control)Panel)

DERETAN'TERMINAL'INPUT'
INPUTINPUT'
DERETAN'TERMINAL'OUTPUT'

PLC Programming_Imam 2019 15


4.1.4 20-point PLC
Pemrograman & Operasi main unit Imam Halimi

4. Instalasi I/O PLC


1) G7M-DR20U

4 -10
PLC Programming_Imam 2019 16
Pemrograman & Operasi PLC Imam Halimi

4. Instalasi I/O PLC

Contoh : Instalasi sistem DOL motor 3 Fasa

Input PLC : Push Buhon NO, Push Buhon NC


Output PLC : Kontaktor AC 220V
Load : Motor AC 3 Fasa
Protec<on : MCB 1 Fasa & MCB 3 Fasa

PLC Programming_Imam 2019 17


1) G7M-DR20U
Pemrograman & Operasi PLC Imam Halimi

4.1.4 20-point main unit


HARD WARNING :
4. Instalasi I/O PLC

Terminal Input PLC <dak boleh


mendapat Tegangan AC 220V
PB_1 PB_2
1) G7M-DR20U
Karena akan merusak PLC.

Input PLC : Opto Transistor

Output PLC : Relay


L
K1M
220Vac
MCB 4 -10
N

PLC Programming_Imam 2019 18


Pemrograman & Operasi PLC Imam Halimi

Instalasi Daya Motor

1E
4. Instalasi I/O PLC

 T\R\)RT i<\:  


E;Em

F AQ[:Q(9
a
] ) )

F ] 0 FLF] FLaF
ONP O
6P
9F
FLF3 FLaa 3L3]
MCB 3P 3L33 3LF]


3LF3
a 3 W

3L3] FLF]
F ] 0 9F 9F
3L33 FLF3
9FF
a 3 W
K1M

o F a ] 3
F a3 
 9FF o
a 
   
F

   


]

9F

PLC Programming_Imam 2019 19


Pemrograman & Operasi PLC
Contoh koneksi antara input-PLC-output :
Imam Halimi

Contoh Instalasi PLC 4. Instalasi I/O PLC

PLC Programming_Imam 2019 20


Pemrograman & Operasi PLC Imam Halimi

Simbol Dasar 5. Pemrograman PLC

No. SIMBOL KETERANGAN


1 ---I I--- Kontak “NO”
2 ---I/I--- Kontak “NC”
3 ---( )- Output Coil
4 --- Instruksi Khusus

PLC Programming_Imam 2019 21


Notasi-notasi standar PLC dapat diketahui dari fasilitas help yang ada
pada software program PLC yang dibuat oleh produsen masing-
masing PLC.
Pemrograman & Operasi PLC Imam Halimi
Tabel berikut menunjukkan notasi-notasi standar yang dipakai oleh beberapa
Bahasa Pemrograman PLC
merk PLC :
5. Pemrograman PLC

Merk Aux. Internal Internal Penentuan


PLC Input Output Coil Timer Counter Konstanta

Mitsubishi X Y M T C K
LG Master-K P P M T C -
LG Glofa I Q M T C #
1000,

Omron 0, 1, ...n 100 (K) 1001, TIM CNT #


500 (P) .......n
Siemens I Q F T C -
Telemecanique I O B T C -
Zelio-Soft I Q M T C -
Panasonic X Y R T C K

by Imam Halimi Page 21 of 41


PLC Programming_Imam 2019 22
! Instruksi Load (LD)
Pemrograman & Operasi PLC Imam Halimi
Instruksi load (LD) merupakan instruksi yang selalu muncul sebagai
Ladder Diagram PLC pada baris program. Kontak instruksi ini dapat
kontak pertama 5. Pemrograman PLC

berupa kontak normally open (NO) maupun normally close (NC).

Contoh 1 :

|------|X0|-------------------------------(Y0)----|

Dari gambar diatas, bila X000 aktif (kontak menutup) maka output Y000
akan aktif juga. Jika output Y000 dihubungkan ke sebuah lampu, maka
lampu akan menyala. Saat X000 tidak aktif (kontak membuka) maka
Y000 tidak mendapat supply tegangan, sehingga Y000 tidak aktif, dan
lampu tidak menyala.

Contoh 2 :

|------|X0|---------------------------(Y0)----|
PLC Programming_Imam 2019 23
|
Dari gambar diatas, bila X000 aktif (kontak menutup) maka output Y000
akan aktif juga. Jika output Y000 dihubungkan ke sebuah lampu, maka
lampu akan menyala. Saat X000 tidak aktif (kontak membuka) maka
Pemrograman & Operasi PLC Imam Halimi
Y000 tidak mendapat supply tegangan, sehingga Y000 tidak aktif, dan
Ladder Diagram PLC
lampu tidak menyala. 5. Pemrograman PLC

Contoh 2 :

|------|X0|---------------------------(Y0)----|
|
|------|Y0|--------------------------(M10)---|
|
|------|M10|-------------------------(Y1)----|

Dari contoh 2 diatas, bila X000 diaktifkan, maka Y000 akan mendapat
supply sehingga Y000 aktif. Dengan aktifnya Y000, maka kontak Y000
menutup yang mengakibatkan auxiliary relay M10 aktif. Aktifnya M10
akan mengakibatkan kontak M10 menutup, sehingga relay Y001 kerja.

PLC Programming_Imam 2019 24


PLC Programming P2M DTM UI

! Instruksi LDIPLC
Pemrograman & Operasi (LoaD Inverse) Imam Halimi
Instruksi LDI merupakan kebalikan (inverse) dari instruksi LD.
Ladder Diagram PLC
Pada instruksi LDI, Kontak instruksinya adalah kontak normally 5. Pemrograman PLC
close (NC).

Contoh program :

|------|/|------------------------------(Y0)----|
| X0
|
|------|/|-----------------------------(M10)---|
| Y0
|
|------|/|------------------------------(Y1)----|
M10

Dari contoh program diatas, sebelum X000 diaktifkan, output Y000 akan
mendapat supply tegangan, sehingga kontak Y000 membuka, dan
mematikan output M10. Akibatnya kontak M10 kondisi NC, sehingga
dapat menghidupkan relay Y001.

! Instruksi OUT
Instruksi OUT merupakan driven coil. Pada diagram ladder,
PLC Programming_Imam 2019 25
simbol OUT merupakan peralatan pertama dari bus line sisi
! Instruksi SET/RESET
Instruksi SET merupakan output latched on khusus. Instruksi
SET selalu muncul sebagai kontak terakhir pada suatu baris
Pemrograman & Operasi PLC
program. Pada diagram ladder, simbol SET adalah output
Imam Halimi

pertama (dikotakkan) dari bus line sisi kanan. Instruksi diaktifkan


Ladder Diagram PLC 5. Pemrograman PLC

SET - RST sebagai akibat dari sekumpulan sinyal yang berkondisi ON.

Contoh program :

|------|X0|------------------------[SET Y1]----|
|
|------|X1|-------------------------[RST Y1]---|

Dari contoh program, bila kontak input X000 diaktifkan sesaat, maka
output Y1 akan ON. Walaupun kontak input X000 kemudian dibuka
(OFF), output Y1 akan tetap ON.
Untuk mematikan Y1 dapat dilakukan dengan menekan input X1.

Gambar diatas sama dengan kontrol interlock yang dapat digambarkan


sebagai berikut :

PLC Programming_Imam 2019 26


Pemrograman & Operasi PLC bila kontak input X000 diaktifkan sesaat, maka
Dari contoh program, Imam Halimi

output Y1 akan ON. Walaupun kontak input X000 kemudian dibuka


Ladder Diagram PLC 5. Pemrograman PLC
(OFF), output Y1 akan tetap ON.
Untuk mematikan Y1 dapat dilakukan dengan menekan input X1.

Gambar diatas sama dengan kontrol interlock yang dapat digambarkan


sebagai berikut :

|------|X0|--|---------|X1|----------------(Y1)----|
| |
|------|Y1|--|

! Instruksi Timer (T)


Instruksi Timer merupakan suatu output khusus. Pada ladder
diagram, simbol timer PLC Programming_Imam 2019
merupakan alat pertama dari baris 27

bumbung kanan. Instruksi Timer memerlukan konstanta waktu (K)


Setelan waktu pada Timer mempunyai range satuan yang
Pemrograman & Operasi PLC Imam Halimi
bervariasi, dimulai dari satuan milidetik (ms) sampai satuan jam
Ladder Diagram PLC
(hours) bahkan ada yang menyediakan fasilitas setelan waktu
5. Pemrograman PLC

TIMER sampai mingguan bahkan bulan.

Contoh program :

|------|X0|------------------------(T1 K50)----|
|
|------|T1|-------------------------------(Y1)---|

Dari contoh program 1, bila input X0 diaktifkan (kontak menutup) maka


coil Timer T1 akan mendapat supply tegangan. Timer disetel dengan
waktu 5 detik. Setelah coil Timer kerja, selang 5 detik kemudian kontak
Timer T1 akan menutup sehingga output Y1 akan aktif (ON).
Setelah Y1 kerja, bila input kontak X0 dimatikan (kontak membuka),
maka Timer T1 akan mati, sehingga Output Y1 juga akan mati.

PLC Programming_Imam 2019 28


! Instruksi COUNTER (C)
Pemrograman & Operasi PLC Imam Halimi


Ladder Diagram PLC
PLC Programming P2M DTM UI
5. Pemrograman PLC

COUNTER

Contoh program :

|------|X1|----------------------------(C1 K5)---|
|
|------|X2|--------------------------[RST C1]---|
|
|------|C1|--------------------------------(Y1)---|

Dari contoh program, bila input X1 ditekan selama 5 kali maka C1 mulai
menghitung. Pada hitungan (masukan) ke-5, Kontak Counter C1 akan
menutup sehingga output Y1 akan aktif.
Untuk mematikan output Y1 dapat dilakukan dengan mengaktifkan
(menutup kontak) input X2 yang berfungsi sebagai tombol RESET bagi
Counter C1.

! Instruksi END PLC Programming_Imam 2019 29

Meskipun tidak selalu penting, instruksi END memungkinkan


Pemrograman & Operasi PLC Imam Halimi

Modul LaFh PLC


L-1 L-2 L-3 M C
Mapping Terminal

P L C I / O
No No
Terminal Terminal
1 LINE 220VAC 1
2 NETRAL 2
3 NETRAL 3 OUT - NETRAL
4 OUT - P41 4 OUT – L1
5 OUT - P42 5 OUT – L2
6 OUT - P43 6 OUT – L3

PLC 7 OUT - P44 7 OUT – M C

8 8
9 IN - P1 9 IN – PB1
10 IN - P2 10 IN – PB2
11 IN - P3 11 IN – PB3

12 + 24VDC 12 IN +
PB-1 PB-2 PB-3

PLC Programming_Imam 2019 30


Pemrograman & Operasi PLC Imam Halimi

INSTALASI MODUL PLC

IN OUT
P1 P41 L - 1
PB-1

P2 P42 L - 2
PB-2
P
P3 P43 L - 3
PB-3

com L P44 M C

com
C

-- L -220V LINE

+24V N NETRAL

PLC Programming_Imam 2019 31


Chapter 2. System Configuration

2.1.2 Cnet I/F system

Pemrograman & Operasi PLC


The Cnet I/F System are used for communication between the main unit and external devices using RS-232C/RS-422
Interface. The GM7U has a built-in RS-232C port, RS-485 port and has also G7L-CUEB for RS-232C, G7L-CUEC for Imam Halimi
RS-422. It is possible to construct communication systems on demand.

Komunikasi PC - PLC
1) 1:1 Communications system 5. Pemrograman PLC
(1) 1:1 communication between PC and GM7U via RS-232C built-in port

GM7U Series

PLC

RS-232C

Step Deskripsi
(2) 1:1 communication via modem connection function of Cnet I/F module to interface with long distance devices
Koneksikan PLC ke PC yang berisi program ladder diagram
1
menggunakan kabel komunikasi serial (RS-232).
GM7U Series G7L-CUEB GM7U Series G7L-CUEB

2 Samakan seong Port antara PLC dengan PC.

3 Download/Write program ladder diagram dari PC ke PLC.


Modem 4 On line monitoring untuk melakukan pengujian program.
Modem

5 Jika sudah selesai, Disconnect komunikasi antara PLC – PC.

6 Lepaskan kabel komunikasi serial.


GM7U Series G7L-CUEB

PLC Programming_Imam 2019 32


Pemrograman & Operasi PLC Imam Halimi

S O P 6. Perancangan & Uji Fungsi PLC

No. DESKRIPSI

1 Pahami deskripsi kerja kontrol yang ditentukan.

2 Tentukan kebutuhan komponen sesuai deskripsi kerja kontrol.

3 Buat rencana instalasi I/O PLC dan Instalasi daya beban.

4 Tentukan address mapping komponen I/O PLC.

5 Laksanakan instalasi I/O PLC dan Instalasi daya beban.

6 Pas<kan instalasi I/O PLC dan Instalasi daya beban telah memenuhi syarat standar keamanan.

7 Buat ladder diagram PLC sesuai deskripsi kerja kontrol.

8 Download program ladder diagram dari PC/Laptop ke PLC.

9 Jalankan uji fungsi rangkaian untuk memas<kan telah sesuai dengan deskripsi kerja kontrol.

10 Buat laporan hasil pekerjaan.

11 Utamakan keselamatan dalam bekerja.

PLC Programming_Imam 2019 33


Pemrograman & Operasi PLC Imam Halimi

PLC Programming_Imam 2019 34


Pemrograman & Operasi PLC Imam Halimi

Terima Kasih

PLC Programming_Imam 2019 35

You might also like