Pe 6441 advanced manufacturing lab ch4 wks 12 14

56
Programmable Logic Controllers Professor Charlton S. Inao Defence University Bishoftu ,Ethiopia Guest Professor, Adama Science and Technology University Adama, Ethiopia 11/01/22 1

description

PLC automation siemens mitsibishi omron digital

Transcript of Pe 6441 advanced manufacturing lab ch4 wks 12 14

Page 1: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Programmable Logic Controllers

Professor Charlton S. InaoDefence UniversityBishoftu ,EthiopiaGuest Professor, Adama Science and Technology UniversityAdama, Ethiopia

Professor Charlton S. InaoDefence UniversityBishoftu ,EthiopiaGuest Professor, Adama Science and Technology UniversityAdama, Ethiopia

04/10/23 1

Page 2: Pe  6441 advanced manufacturing lab ch4 wks 12 14

General Objectives To explain and understand the following PLC concept:

Programmable logic controller; Structure of PLC and system components; Programming Languages;( LAD,STL,FBD)Logic Gates application for PLCCounterShift RegisterJumpProgramming Applications

04/10/23 2

Page 3: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 3

Page 4: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 4

Page 5: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 5

Page 6: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Programmable Logic Controllers

• Defined by NEMA as a digital electronic apparatus with a programmable memory for storing instructions to implement specific functions (logic, sequencing, timing, counting, and arithmetic) to control machines and processes.

• Considered as the first industrial-based computer

04/10/23 6

Page 7: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 7

Page 8: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 8

Page 9: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 9

Page 10: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 10

Page 11: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 11

Page 12: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 12

Page 13: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Advantages of Using PLC

Shorter Project Shorter Project ImplementationImplementation

Easier Modification Easier Modification Without Cost PenaltyWithout Cost Penalty

Design Easily Change Design Easily Change Using SoftwareUsing Software

Project Cost Can be Project Cost Can be Accurately CalculatedAccurately Calculated

Shorter Training Time Shorter Training Time Required Required

A Wide Range of A Wide Range of Control OperationsControl Operations

Easy Easy Maintenance Maintenance

Able to Withstand Able to Withstand Harsh Plant Harsh Plant

EnvironmentEnvironment

High High ReliabilityReliability

Standardization of Standardization of Controller HardwareController Hardware

04/10/23 13

Page 14: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 14

Page 15: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 15

Page 16: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 16

Page 17: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 17

Page 18: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 18

Page 19: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 19

Page 20: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 20

Page 21: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 21

Page 22: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 22

Page 23: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 23

Page 24: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Functions of PLC

Sequence Control

Conventional Relay Logic Replacer

Timer and Counter Functions

Auto / Semi / Manual Control of Machines and Processes

Sophisticated Control

Arithmetic Operations

Analog Control (Temperature, Pressure, etc.)

PID (Proportional Integral Derivation)

Stepper / Servo Motor Control

04/10/23 24

Page 25: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Functions of PLC

Supervisory Control

Process Monitoring and Alarm

Interfacing with Computers

Factory Automation network

Wide Area Network

04/10/23 25

Page 26: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Basic Control System

Open Loop System

INPUT LOGIC OUTPUT

-Pushbuttons

-Limit Switches

-Level Switches

-Flow Switches

-Relays

-Timers

-Counters

-Motors

-Solenoid valves

-Lamps

-Alarm/annunciator

-Relays/contactorsPLC

04/10/23 26

Page 27: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Basic Control System

Closed Loop System

ControllerFinal Control

ElementProcessVariable

Transmitter

Set value

Error

Process Variable Primary

Element / Transducer

Temperature

Flow+

_

04/10/23 27

Page 28: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Hardware Components

Central Processing Unit (CPU)

Micro PLC – less than 100 I/O’s

Small PLC – 0 to 128 I/O’s

Medium PLC – 0 to 256 I/O’s

Large PLC – 0 to 512 I/O’s

04/10/23 28

Page 29: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Power Supply

100 – 240 Volts AC

100 / 110 Volts AC

200 / 220 Volts AC

24 Volts DC

04/10/23 29

Page 30: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Inputs

DC – 24 Volts

AC – 110 / 220 Volts

04/10/23 30

Page 31: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Outputs

Transistor type (24 Vdc )

Relay / Contact type (24Vdc / 220 Vac)

TRIAC type (110 / 220 Vac)

PNP-type Transistor Input

• Source

•Generates power

NPN-type Transistor Input

• Sink

•Transmits power04/10/23 31

Page 32: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Relay

04/10/23 32

Page 33: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Example: Omron Relay

04/10/23 33

Page 34: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 34

Page 35: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 35

Page 36: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Peripheral Devices

Programming Console

CX-Programmer Software

Conversion Cables

Connecting Cables

04/10/23 36

Page 37: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Software Components1. Ladder Diagram Language – a symbolic instruction type

language

2. Boolean Language- Basic level language that composed of three (3) Boolean logic operation: AND, OR, NOT

Mnemonic Instruction – written in abbreviated form using 3 or 4 letters that generally imply the the operation of the instruction

3. Functional Blocks Language – high level instructions that permit the user to program more complex functions using the ladder diagram format

- Instruction set is composed of blocks that executes or performs specific function04/10/23 37

Page 38: Pe  6441 advanced manufacturing lab ch4 wks 12 14

4. English Statement Language – considered derivative of computer language such as BASIC.

-also known as Control Statements

Note:

OMRON PLC’s uses both Ladder Diagram Language and Boolean Language.

04/10/23 38

Page 39: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Key Points to Know in Selecting or Using PLC

I. Know the process to be controlled

II. Determine the type of control

Distributed control

Centralized control

Individual machine control

III. Determine I/O interface requirements

Estimate digital and analog I./Os

Check for I/O specifications

Determine if remote I/O is required

Allow for future expansion

IV. Define peripheral devices04/10/23 39

Page 40: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Steps in PLC Programming

Draw the Schematic Diagram

Draw Control Diagram

Develop PLC Ladder Diagram

I/O Assignment

Convert to Mnemonic (Boolean)

PLC Layout

04/10/23 40

Page 41: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 41

Page 42: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Basic Structure of PLC

04/10/23 42

Page 43: Pe  6441 advanced manufacturing lab ch4 wks 12 14

PL

C S

pecf

icat

ions

04/10/23 43

Page 44: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Programming Format

1) Ladder diagram

2)Mnemonic List

3) Function Block Diagram

04/10/23 44

Page 45: Pe  6441 advanced manufacturing lab ch4 wks 12 14

NOR,NAND,EX-OR

04/10/23 45

Page 46: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Timer: On delay and Off delay

04/10/23 46

Page 47: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Cascaded timer/ On-OFF Cycle Timer

04/10/23 47

Page 48: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Two Input control; Resetting a Latch

04/10/23 48

Page 49: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Counter

04/10/23 49

Page 50: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Shift Register -Mitsubishi

04/10/23 50

Page 51: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Shift Register

04/10/23 51

Page 52: Pe  6441 advanced manufacturing lab ch4 wks 12 14

i  

 

 

 

 

 

 

 

 

 

 

 

M 0.0

Q 0.1

Q 0.2

Q 0.3

Q 0.4

Q 0.5

Q 0.6

Q 0.7

Q 0.0

I0.1

0UT

I0.0

I 0.2

M 0.0

M 0.2

M 0.3

M 0.4

M 0.6

M 0.5

M 0.7

SFT

RST

M 0.1

Shift Register Siemens Configuration

END

04/10/23 52

Page 53: Pe  6441 advanced manufacturing lab ch4 wks 12 14

04/10/23 53

Page 54: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Problem: Belt Sanding Machine

04/10/23 54

Page 55: Pe  6441 advanced manufacturing lab ch4 wks 12 14

Transfer Station

04/10/23 55

Page 56: Pe  6441 advanced manufacturing lab ch4 wks 12 14

End

04/10/23 56