PLC, Scada
PLC, Scada
PLC - SCADA
PID
Actuator Sensor
input output
PROCESS
Supervisory Control
Supervisory Control
CONTROLLER
CONTROLLER
Actuator Sensor
CONTROLLER
Actuator Sensor
PROCESS
LOOP #1 Actuator Sensor
PROCESS
LOOP #2
PROCESS
LOOP #3
Data Acquisition
Device Status
valve status (open/close)
PROCESS
switch position (on/off)
pump (start/stop)
FIELD- INTERFACE
Variables
pressures
flow rates
temperatures
tank levels
Alarms
Low Tank Level Alarm
High Tank Level Alarm
Fire Alarm
Human Machine Interface
Analog meters
Human Machine Interface
Digital meters
Human Machine Interface
Human Machine Interface
Keuntungan Penggunaan SCADA
File – New – (Pilih Modicon M340 kemudian pilih BMX P34 2030 dengan versi OS
01.00), sebelumnya centang show all version
Setting PLC Modicon M340
di Unity Pro XL
Klik 2x Configuration – Klik angka 0 pada bagian kiri gambar – Ubah jumlah available slot sesuai
dengan PLC kita dengan cara klik 2x pada angka 0 di sebelah kiri gambar M340, Modicon M340
local drop / rack / BMX XBP 0400 (4slot black plane) - OK
Setting PLC Modicon M340
di Unity Pro XL
Tambahkan modul discrette I/0: Klik 2x pada Slot 1 – (Pilih BMX DDM 16022)
Pemrograman PLC
Membuat variable:
Pemrograman PLC Modicon M340 menggunakan
Software Unity Pro XL 4.1
Membuat section: Klik kanan section -> New Section -> Beri nama ladder ->
pilih language LD
Untuk melihat simbol dan comment lengkap aktifkan view -> mixed display mode
Pemrograman PLC Modicon M340 menggunakan
Software Unity Pro XL 4.1
I : Input
Q : Output
x : Master / remote
y : Nomor slot pemasangan modul I/O
z : Nomor channel I/O
I/O Addressing
Contoh:
%I0.1.5:
Channel input nomor 5 pada modul I/O yang
terpasang di slot nomor 1
%Q0.2.16:
Channel output nomor 16 pada modul I/O yang
terpasang di slot nomor 2
SEQUENTIAL PROCESSES
Soal “Start - Stop Motor Berurutan Manual”
START_M1 STOP_M1
START_M2 STOP_M2 M1
• Start motor harus urut dari
START_M3 STOP_M3
M1 --> M2 --> M3
START_M1 %I0.1.0
M2 • Stop motor harus urut dari
START_M2 %I0.1.1 M3 --> M2 --> M1
START_M3 %I0.1.2
STOP_M1 %I0.1.3
STOP_M2 %I0.1.4 M3
STOP_M3 %I0.1.5
M1 %Q0.1.16
M2 %Q0.1.17
M3 %Q0.1.18
INTERLOCK
Soal “Motor ON Bergantian”
START_M1
• Motor akan ON jika salah
PILOT
START_M2
LAMP
M1 satu tombol START ditekan
• Hanya salah satu motor
START_M3 STOP
yang boleh dalam kondisi
M2 ON
START_M1 %I0.1.0 • Jika tombol STOP ditekan
START_M2 %I0.1.1
START_M3 %I0.1.2 maka motor OFF
STOP %I0.1.3
PILOT_LAMP %Q0.1.16 M3 • PILOT_LAMP akan ON jika
M1 %Q0.1.17 ada salah satu motor yang
M2 %Q0.1.18
M3 %Q0.1.19 ON
SENSORS
Soal “Sistem Pengisian Tanki Otomatis”
Format umum:
M : Internal bits
S : System bits
% M,S i i : Number
Contoh:
•%M25 = internal bit number 25
•%S6 = sistem bit number 6 (pulse generator, t=0,5s)
TIMER BLOCK
START : %I0.1.0
STOP : %I0.1.1
PILOT LAMP : %Q0.1.16
Saat tombol start %I0.1.0 ditekan maka sistem akan bekerja %Q0.1.16 (Pilot lamp) menyala
Kran pengisian %Q0.1.17 akan mengisi tangki selama 10 detik
kemudian motor pengaduk %Q0.1.18 akan bekerja selama 15 detik
kemudian kran distributor %Q0.1.19 akan menyalurkan muatan tangki selama 10 detik
Proses berulang ke awal dan baru berhenti saat tombol stop %I0.1.1 ditekan.
Sistem akan off saat proses sudah berlangsung 3 kali.
Addressing Word Objects
Format umum:
M : Internal word
% M, K, S W i K : Constant word
S : System word
W : 16 bit / 1 word
i : Number
Real Time Clock
Aritmetic Instruction
Syntax
Input
Write_Var