Professional Documents
Culture Documents
PLC Dasar
PLC Dasar
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.
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
1. PENDAHULUAN
What is PLC ?
P Programmable Dapat diprogram
L Logic Logika
C Controller Pengontrol
1. PENDAHULUAN
1. PENDAHULUAN
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
1985 Networking of all levels of PLC, computer and machine using SCADA soeware
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
Manufacturing / Machining
!
Food / Beverage
!
! Metals
Power Plant
!
Mining
!
! Petrochemical / Chemical
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
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
I O
N U
Central T
P Processing P
U Unit U
T
T
S
S
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
Power
Chapter 4. Names of Parts
No. NAME
3 RS-485 Connector
6 RS-232 Connector
11
7 Expansion Connector
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
DERETAN'TERMINAL'INPUT'
INPUTINPUT'
DERETAN'TERMINAL'OUTPUT'
4 -10
PLC Programming_Imam 2019 16
Pemrograman & Operasi PLC Imam Halimi
1E
4. Instalasi I/O PLC
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
Mitsubishi X Y M T C K
LG Master-K P P M T C -
LG Glofa I Q M T C #
1000,
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.
! 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
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.
|------|X0|--|---------|X1|----------------(Y1)----|
| |
|------|Y1|--|
Contoh program :
|------|X0|------------------------(T1 K50)----|
|
|------|T1|-------------------------------(Y1)---|
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.
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
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
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
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
No. DESKRIPSI
6 Pas<kan instalasi I/O PLC dan Instalasi daya beban telah memenuhi syarat standar keamanan.
9 Jalankan uji fungsi rangkaian untuk memas<kan telah sesuai dengan deskripsi kerja kontrol.
Terima Kasih