Vous êtes sur la page 1sur 76

Programmable Logic

Controllers
Professor Charlton S. Inao
Defence University
Bishoftu ,Ethiopia
Guest Professor, Adama Science and
Technology University
Adama, Ethiopia
04/09/16

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 PLC
Counter
Shift Register
Jump
Programming Applications
04/09/16

04/09/16

04/09/16

04/09/16

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/09/16

04/09/16

04/09/16

04/09/16

04/09/16

10

04/09/16

11

04/09/16

12

Advantages of Using PLC


Shorter Project
Implementation
Easier Modification
Without Cost Penalty
Project Cost Can be
Accurately Calculated
Shorter Training Time
Required
Design Easily Change
04/09/16
Using Software

A Wide Range of
Control Operations
Easy
Maintenance
High

Reliability

Standardization of
Controller Hardware
Able to Withstand
Harsh Plant
Environment

13

04/09/16

14

04/09/16

15

04/09/16

16

04/09/16

17

04/09/16

18

04/09/16

19

04/09/16

20

04/09/16

21

04/09/16

22

04/09/16

23

Functions of PLC
Conventional Relay Logic Replacer

Sequence Control

Timer and Counter Functions


Auto / Semi / Manual Control of
Machines and Processes

Arithmetic Operations

Sophisticated
Control

Analog Control (Temperature,


Pressure, etc.)
PID (Proportional Integral
Derivation)
Stepper / Servo Motor Control

04/09/16

24

Functions of PLC
Process Monitoring and Alarm

Supervisory Control

Interfacing with Computers


Factory Automation network
Wide Area Network

04/09/16

25

Basic Control System


Open Loop System

INPUT

LOGIC

OUTPUT

-Pushbuttons

-Relays

-Motors

-Limit Switches

-Timers

-Solenoid valves

-Level Switches

-Counters

-Lamps

-Flow Switches

-Alarm/annunciator

PLC
04/09/16

-Relays/contactors
26

Basic Control System


Closed Loop System

Controller

Error

Set value

Final Control
Element

Process
Variable
Temperature

Flow

_
Process
Variable

Transmitter
Primary
Element / Transducer

04/09/16

27

Hardware Components
Central Processing Unit (CPU)
Micro PLC less than 100 I/Os
Small PLC 0 to 128 I/Os
Medium PLC 0 to 256 I/Os
Large PLC 0 to 512 I/Os
04/09/16

28

Power Supply
100 240 Volts AC
100 / 110 Volts AC
200 / 220 Volts AC
24 Volts DC
04/09/16

29

Inputs
DC 24 Volts
AC 110 / 220 Volts

04/09/16

30

Outputs
Transistor type (24 Vdc )
Relay / Contact type (24Vdc / 220 Vac)
TRIAC type (110 / 220 Vac)
PNP-type Transistor
Input

04/09/16

NPN-type Transistor
Input

Source

Sink

Generates power

Transmits power

31

Relay

04/09/16

32

Example: Omron Relay

04/09/16

33

04/09/16

34

04/09/16

35

Peripheral Devices
Programming Console
CX-Programmer Software
Conversion Cables
Connecting Cables
04/09/16

36

Software Components
1. 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
04/09/16
or performs specific function

37

4. English Statement Language considered derivative of


computer language such as BASIC.
-also known as Control Statements

Note:
OMRON PLCs uses both Ladder Diagram
Language and Boolean Language.
04/09/16

38

04/09/16

39

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

04/09/16

IV. Define peripheral devices

40

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/09/16

41

04/09/16

42

Basic Structure of PLC

04/09/16

43

04/09/16
44

PLC Specfications

Programming Format
1) Ladder diagram
2)Mnemonic List
3) Function Block Diagram

04/09/16

45

NOR,NAND,EX-OR

04/09/16

46

Timer: On delay and Off delay

04/09/16

47

Cascaded timer/ On-OFF Cycle


Timer

04/09/16

48

Two Input control; Resetting a


Latch

04/09/16

49

Counter

04/09/16

50

Shift Register -Mitsubishi

04/09/16

51

Shift Register

04/09/16

52

M 0.0
0UT

Shift Register
Siemens
Configuration

I0.0
i

I0.1

SFT

I 0.2

RST
Q 0.0

M 0.0
M 0.1

Q 0.1

M 0.2

Q 0.2

M 0.3

Q 0.3

M 0.4
M 0.5

Q 0.4
Q 0.5

M 0.6

Q 0.6

M 0.7

END

Q 0.7

04/09/16

53

04/09/16

54

Problem: Belt Sanding Machine

04/09/16

55

04/09/16

56

Transfer Station

04/09/16

57

Electric Relay Ladder Logic

04/09/16

58

04/09/16

59

04/09/16

60

04/09/16

61

04/09/16

62

Liquid Level Sorter

04/09/16

63

04/09/16

64

04/09/16

65

04/09/16

66

04/09/16

67

Wiring Diagram(Siemens
LOGO)

04/09/16

68

Liquid Level Sorter Electrical


Ladder Diagram

04/09/16

69

Liquid level Sorting |Machine PLC Ladder Ladder Diagram

M2.0

04/09/16

70

Artillery Cartridge Polishing


Machine

04/09/16

71

The designed and developed automated artillery cartridge polishing machine is intended for
defence application to recondition the 122mm and 130mm diameter cartridges. The machine
is intended to replace the traditional way of polishing the artillery cartridge with a modern
and automated machine for HOMICHO Ammunition Factory. The Artillery cartridge
polishing machine is a pneumatic type polishing machine which is basically used for
polishing the external and internal surfaces of 122mm and 130mm artillery cartridges. The
abrasive head can be moved to any point over the polishing area.
The longitudinal and traverse movements of the polishing head are controlled using a
programmable Language Control (PLC) integrated with pneumatically controlled cylinders.
The PLC program is written using a ladder logic programming method using software for
precise control of all the movements of the actuators in the two directions. Different
directional control valves with pressure relieve valves are mounted to perform different
functions.
Standard design approaches and manufacturing sequences are followed to design and
fabricate the polishing machine. The complete machine includes electric motor, pneumatic
cylinders, polishing abrasives and a pneumatic line. The overall dimension of the machine is
2585x705x470mm and its spindle is designed to hold firmly different caliber cartridges and
can be rotated at 800 RPM with a 5Kw spindle motor.
Since quality of the polishing machine is dependent on different polishing parameters like,
polishing abrasives used, depth of polishing, RPM of the spindle and the feed rate of the
polishing head, the surface quality of polished cartridges when it compared with previously
polished parts it can expected to be in the range of 0.2 and 0

04/09/16

72

Cartridge polishing machine PLC Ladder diagram

04/09/16

73

Hydraulic Missile Autoloader


Mobile Machine

04/09/16

74

04/09/16

75

End
04/09/16

76

Vous aimerez peut-être aussi