57
3. PLC’s Hardware Handy Wicaksono Jurusan Teknik Elektro Universitas Kristen Petra Pertemuan 3

3. PLC’s Hardware - · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

Embed Size (px)

Citation preview

Page 1: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

3. PLC’s Hardware

Handy WicaksonoJurusan Teknik ElektroUniversitas Kristen Petra

Pertemuan 3

Page 2: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

2

Sasaran

Mahasiswa mampu :Memahami definisi PLCMenyebutkan jenis – jenis PLCMenyebutkan bagian – bagian hardware PLC dan prinsip kerjanyaMemiliki product knowledge PLC merktertentu

Page 3: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

3

Introduction

PLC menurut NEMA1

Alat elektronika digital yang menggunakan programmable memory untuk menyimpan instruksidan untuk menjalankan fungsi – fungsi khusus seperti :

logika, sequence (urutan), timing (pewaktuan), penghitungan dan operasi aritmetika

untuk mengendalikan mesin dan proses. 1 National Electrical Manufacturers Association (USA)

Page 4: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

4

Introduction

PLC (definisi lain):komputer industri khusus untuk mengawasi dan mengendalikan proses industri. menggunakan bahasa pemrograman khususuntuk kontrol industri (ladder diagram)didesain untuk tahan terhadap lingkunganindustri yang banyak gangguan

noise, vibration, shock, temperature, humidity

Page 5: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

5

Jenis - jenis PLC

Page 6: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

6

Jenis PLC(berdasarkan ukuran)

1. Tipe compactSeluruh komponen (power supply, CPU, modul input – output, …) menjadi satuUmumnya berukuran kecil (compact) Mempunyai jumlah I/O relatif sedikit dan(umumnya) tidak dapat diexpand(Umumnya) tidak dapat ditambah modul– modul khusus

Page 7: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

7

Contoh PLC compact

Page 8: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

8

Jenis PLC

2. Tipe modularKomponen – komponennya terpisah kedalam modul – modulBerukuran besarMemungkinkan untuk ekspansi jumlah input /output (sehingga jumlah lebih banyak)Memungkinkan penambahan modul – modulkhusus

Page 9: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

9

Contoh : PLC Modular

Page 10: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

10

Other categoryContoh : Omron PLC Selection

Page 11: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

11

Other categoryContoh : Omron PLC Selection

Page 12: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

12

Other categoryContoh : Omron PLC Selection

Page 13: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

13

Many Brands of PLC

1. Omron : Yosua cs., Arthur cs.CQM1 / C200H / CJ 1, www.omron247.com

2. Schneider/Modicon : Rudy cs, Nura cs.Twido / Micro / Premium, www.telemecanique.com

3. Siemens : Teddy cs, Yongky cs.S7-300 / S7-400, www.sea.siemens.com

4. Allen Bradley : Lamekh cs., Disyon cs.SLC 500 / PLC 5, www.ab.com

Page 14: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

14

1. Festo2. LG3. Yokogawa4. GE5. …….

Page 15: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

15

PLC’s component

Page 16: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

16

PLC’s component

1. Power Supply2. Processor3. Memory4. Input and Output Module5. Programming Device – Communication

Module

Page 17: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

17

Power Supply

Sebagai penyedia daya bagi PLC, bisa berupa :

Tegangan AC (misal : 120/240 Vac. )Tegangan DC (misal : 24 V DC)

PLC juga memiliki power supply (24V DC) internal yang bisa digunakanuntuk menyediakan daya bagiinput/output PLC

Page 18: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

18

Power Supply – Contoh

Page 19: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

19

Programming Device –Programming console

Contoh Programming Console(Hand Held Programmer)

• Alat untuk membuatatau mengedit program PLC

• Berupa PC atau hand held programmer

• Terhubung dengan PLC melalui programming port (umumnya RS 232)

Page 20: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

20

Programming Device –Software in PC

PLC software in PC

Page 21: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

21

Processor

ProcessorBagian PLC yang bertugas membaca danmengeksekusi instruksi program.Mempunyai elemen kontrol yang disebutArithmetic and Logic Unit (ALU), sehinggamampu mengerjakan operasi logika dan aritmetika.

Page 22: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

22

Contoh : Omron Processor

Page 23: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

23

Page 24: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

24

Memory

Tempat penyimpanan dalam PLCOperating System PLCStatus input – output, data memoryProgram yang dibuat pengguna

Umumnya menjadi satu denganprocessor. Jika ada memori eksternal merupakanmemori tambahan.

Page 25: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

25

Memory - PLC’s Memory MapOperating System Memory

Data Memory

Program Memory

Page 26: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

26

PLC’s Memory Map

Operating System MemoryUntuk menyimpan operating system PLC Berupa ROM (Read Only Memory) Tidak dapat dirubah oleh user

Data (Status) MemoryMenyimpan status input-output tiap saat. Berupa RAM (Random Access Memory).Dapat berubah sesuai kondisi input/output.Status kembali ke kondisi awal jika PLC mati.

Page 27: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

27

PLC’s Memory Map

Program Memory Untuk menyimpan program penggunaBerupa

RAM RAM - battery backup untuk menyimpanprogram selama jangka waktu tertentuEEPROM (Electrically Erasable ProgrammbleRead Only Memory) jenis ROM yang dapatdiprogram dan dihapus oleh user

Page 28: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

28

Contoh – Omron Memory Unit

Page 29: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

29

PLC’s Memory Area –Addressing

Register

FlagRegister

AuxilliaryRelay

Timer

Counter

Page 30: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

30

PLC’s Memory Area –Addressing

RegisterRegister data dalam RAM berfungsi untuk menyimpan sekumpulan bit data

nibble (4 bit), byte (8 bit), word (16 bit)

Flag registerUntuk mengindikasikan perubahan kondisi (state) input/output fisik, berupa satu bit data.CPU mempunyai internal flag untuk berbagai keperluan internal PLC.

Register

FlagRegister

Page 31: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

31

PLC Memory Area –Addressing

Auxiliary relaysElemen memori 1 bit dalam RAM yang digunakan untuk manipulasi data dalam program.Merupakan imaginary internal relays

TimerCPU mempunyai built in clock oscillator sebagaitimer internal Umumnya memiliki alamat khusus

CounterCPU memiliki counter internalUmumnya memiliki alamat khusus

AuxilliaryRelay

Timer

Counter

Page 32: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

32

Bagaimana PLC terhubung dengan dunialuar? Do you have any idea?

Page 33: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

33

Input - Output Module

• Bagian manakah Input - Output Module ?• Berdasar gambar, apa fungsi bagian tersebut ?

Page 34: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

34

Input - Output Module

Interfacing PLC ke dunia luar.Untuk PLC compact sudah built-in di PLC Untuk PLC modular berupa modul I/O tersendiri yang terpisah dari CPU PLCTerbagi menjadi :

Digital Input / Output ModuleAnalog Input / Output Module

Page 35: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

35

Digital Input Module

Menghubungkan input diskrit fisik (switch, sensor) dengan PLC.Tersedia dalam tegangan DC dan AC(umumnya : 240 Vac, 120 Vac, 24 Vdc, 5 Vdc). Ada “optoisolator” untuk mencegahlonjakan tegangan tinggi masuk PLC (sbgpengaman)

Page 36: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

36

Digital Input Module (tegangan DC)

Page 37: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

37

Digital Input Module (tegangan AC)

Input module yang dapat menerima tegangan AC memiliki rangkaian penyearah di dalamnya.

Page 38: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

38

Contoh : Spesifikasi DC input module Omron

Page 39: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

39

Macam - macam digital input module Omron

Page 40: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

40

Digital Output Module

Menghubungkan output diskrit fisik(lampu, relay, solenoid, motor) denganPLCJenis-jenis:

Triac output (output tegangan AC) Transistor output (output tegangan DC) Relay output (output tegangan AC/DC)

Page 41: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

41

Digital Output Module

Triac output

Transistoroutput

Page 42: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

42

Digital Output Module

Relayoutput

Page 43: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

43

Contoh : Spesifikasi transistor output module Omron

Page 44: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

44

Macam - macam digital output module Omron

Page 45: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

45

Analog Input-Output Module

Menghubungkan input-output analog fisikdengan PLC.Memiliki range tegangan tertentu (bukanhanya 0 dan 1)Umumnya merupakan modul khusus yang ditambahkan pada PLC modularMerupakan ADC dan DAC khusus PLC

Page 46: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

46

Analog Input-Output Module

Page 47: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

47

PLC Selection

Pemilihan PLC berdasar1. Jumlah dan karakteristik input - output2. Fitur hardware PLC

power supply, modul input/output, kemampuanuntuk diekspansi dengan modul – modul lain, port komunikasi, dll

3. Fitur software PLC Kapasitas memori, kecepatan pemrosesan data, jumlah instruksi yang dapat digunakan, dll

Page 48: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

48

Contoh : Omron PLC SelectionMicro PLC

Jumlah base I/O (belum diekspansi) yang dimiliki PLC

Page 49: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

49

Bentuk PLC : brick (compact), modular, board

Page 50: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

50

Kelengkapan PLC system

Page 51: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

51

Contoh : Omron PLC SelectionMicro PLCs

Page 52: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

52

Contoh : Omron PLC Selection Micro PLCs

ZEN CPM 1A CPM 2A CPM 2B

Page 53: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

53

Review Questions

Sebutkan komponen – komponen utamaPLC!Jelaskan memory map dan memory area PLC!Jelaskan macam – macam input/output module PLC! Jelaskan dasar – dasar pemilihan PLC!

Page 54: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

54

Tugas : Presentasi (1)

Dari merk PLC yang ditentukan :Kelompokkan tipe – tipe PLC yang ada(small, medium, big)Ambil satu jenis tipe PLC modular, danjelaskan bagian – bagiannya (power supply, input-output, processor, memory, ….)

Presentasikan, seolah – olah andaadalah sales engineer dari perusahaan

Page 55: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

55

Tugas : Presentasi (2)

Nilai diambil dari :Product knowledge (penguasaan produk)Metode presentasi yang baikBahan presentasi yang terorganisir (slide, handout, dll)Mutu pertanyaan untuk kelompok yang lain

Presentasi : 15 menitSoft copy dan hard copy

Page 56: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

56

Tugas : Presentasi (3)

Nilai Plus :Menggunakan bahasa Inggris…..

Page 57: 3. PLC’s Hardware -   · PDF fileContoh Programming Console ... Fitur software PLC {Kapasitas memori, kecepatan pemrosesan data, ... Tugas : Presentasi (1)

57

PLC Programming!

Next