+ All Categories
Home > Documents > Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan...

Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan...

Date post: 30-Oct-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
23
Programmable Logic Controllers 2 Mekatronika Mekatronika STT Mandala Bandung
Transcript
Page 1: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Programmable Logic

Controllers 2

MekatronikaMekatronika

STT Mandala Bandung

Page 2: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Ladder Logic

Page 3: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Ladder Diagram

R1

PB1 PB2

start emergency stop

Rail

A

R1

R1

Rung

Page 4: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Representasi Ladder

Page 5: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Logika AND dan ORPB1 R1PB2

R2

R1 = PB1.AND.PB2 R2 = PB2.AND.~PB4

PB3 PB4

PB1 R1

R1 = PB1 .OR. PB2

AND

PB2

R1 = PB1 .OR. PB2

OR

R1 = PB1 .OR. (PB2 .AND. PB3)

PB1 R1

PB2 pb3

Kombinasi AND dan OR

Page 6: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Contoh Logika Relay

L1

LS1 PB1 LS2 R1

R1

Dalam sebuah kontrol proses, diinginkan suatu proses dimulai (dgn menjalankanmotor) dalam waktu lima detik setelah suatu produk menyentuh limit switch. Prosesberakhir secara otomatis jika produk tersebut menyentuh limit switch kedua. Sebuahemergency switch akan mengakhiri proses kapan saja jika ditekan.

R1TIMER

R2

PR=5

LS1

PB1LS2

R1

TIMER

5Motor R2

Page 7: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

PLC Wiring Diagram

01 02 20

20

20 11

01

02

03

11

12

A

PLCInput Output

Externalswitches

Stored program

Page 8: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Scanning

Output akan diupdate

berdasarkan status

input

Scan terus akan

dilakukan untuk

menentukan status

input dan mengupdate

register

Page 9: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Instruksi PLC

1) Relay,

2) Timer dan counter,

3) Program control,

4) Arithmetic,4) Arithmetic,

5) Data manipulation,

6) Data transfer, dan

7) Lain2, contohnya sequencer.

Page 10: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Logic States

ON : TRUE, contact closure, energize, etc.

OFF: FALSE, contact open , de-energize,

etc.

Page 11: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

RELAYRelay terdiri dari 2 bagian, coil dan kontak.

Contacts:

a. Normally open -| |-

b. Normally closed -|/|-

c. Off-on transitional -|↑|-c. Off-on transitional -|↑|-

d. On-off transitional -|↓ |-

Coil:

a. Energize Coil -( )-

b. De-energize -(/)-

c. Latch -(L)-

d. Unlatch -(U)-

( )

Page 12: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Kode Instruksi PLC

Page 13: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Input Seri dan Paralel

Page 14: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

NAND dan NOR

Page 15: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Latching

R1

PB1 PB2

R1

start emergency stop

A

R1

PB1 ditekan akan menjalankan coil R1, selama coil R1 masih

energized maka control relay R1 tetap on R1 tetap jalan

walaupun PB1 dilepas. Jika PB2 ditekan baru R1 akan off

Page 16: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Contoh Boolean Logic ke PLC

Page 17: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Relay dan Timer

Relay Timer

Page 18: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Latihan

Buatlah ladder diagram yang menyebabkan output, sebuah

lampu pilot PL2, menyala jika sebuah switch selector SS2

close, push button PB4 closed dan limit switch LS3 open

Page 19: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Solusi

Page 20: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

LatihanBuatlah ladder diagram dari diagram logika di bawah ini

Page 21: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

SolusiY adalah output

A, B dan C untuk gated AND terhubung seri

D, E untuk gate OR terhubung paralel dengan output dari AND

Page 22: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

Contoh Pemrograman 1

Part

microswitch

Bar code reader

Stopper

Conveyor

MachineRobot

id description state explanation

MSI microswitch 1 part arrive

R1 output to bar code reader 1 scan the part

C1 input from bar code reader 1 right part

R2 output robot 1 loading cycle

R3 output robot 1 unloading cycle

C2 input from robot 1 robot busy

R4 output to stopper 1 stopper up

C3 input from machine 1 machine busy

C4 input from machine 1 task complete

Page 23: Programmable Logic Controllers 2 · PLC MS1 C1 C2 C3 C4 R1 R2 R3 R4 Rung 1. Jikaproduktibadan tidakadaprodukyg dihentikan, aktifkan pembaca 01 14 11 02 14 04 03 14 12 05 03 13 bar

SOLUSI01

02

03

04

05

11

12

13

14

15

InputOutput

Programmable Controller PLC

MS1

C1

C2

C3

C4

R1

R2

R3

R4

Rung 1. Jika produk tiba dantidak ada produk ygdihentikan, aktifkan pembaca

01 14 11

02

14 04 03

14

12

1305 03

dihentikan, aktifkan pembacabar code.

Rung 2. Jika produk tsb benaraktifkan stopper.

Rung 3. Jika stopper aktif,mesin tidak sibuk dan robot juga tidak sibuk, makaangkat produk ke mesin.

Rung 4. jika tugas selesai danrobot tidak sibuk, kosongkanmesin.


Recommended