Top Banner
PLC Basics Muhammad Atta ul Ghaffar Senior Electrical Engineer CENTURY PAPER & BOARD MILLS PAKISTAN 1
27
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Plc Basics

1

PLC BasicsMuhammad Atta ul GhaffarSenior Electrical Engineer

CENTURY PAPER & BOARD MILLSPAKISTAN

Page 2: Plc Basics

2

Programmable Logic ControllerA digital electronic device that uses a programmable

memory to store instructions and to implement specific functions such as logic, sequence, timing, counting and arithmetic to control machines and process. “

A PLC is a computer designed to work in an industrial environment.

It uses a programmable memory to store the instructions and specific functions that include On/Off control, timing counting, sequencing, arithmetic and data handling.

PLCs are equipped with special input/output interfaces .

Page 3: Plc Basics

3

PLC System

Page 4: Plc Basics

4

What is Control?“ CONTROL is the process in a system in

which one or several input variables influence other variables “

Page 5: Plc Basics

5

A Simple Overview of Control System

CONTROL

SYSTEM

PLANT

INFORMATION

COMMANDSACTUATORS

SENSORS

Page 6: Plc Basics

6

Types of Control System

CONTROLSYSTEM

OPEN-LOOPCONTROL SYSTEM

CLOSED-LOOPCONTROL SYSTEM

Page 7: Plc Basics

7

Open Loop Control SystemIn an open loop system, the controller is told

what the desired process output is, and the controller sends a command to the actuator to try and achieve this. The process is shown below as a block diagram:

Page 8: Plc Basics

8

Closed Loop Control SystemSystems that utilize feedback are called

closed-loop control systems. The feedback is used to make decisions about changes to the control signal that drives the plant. An open-loop control system doesn't have or doesn't use feedback.

Page 9: Plc Basics

9

PLC and Conventional Control SystemThe essential difference between

programmable control and traditional control technology may be summed up as follows:

The functions are no longer determined by the wiring, but rather by the program

Programming is simplified to enable symbols familiar to the control engineer to be used (contacts or logic graphic symbols)

Page 10: Plc Basics

10

Hard Wire & PLC Wiring diagramL

N

S1

S2

K1

S1 S2

PLC

K1

Hardwire PLC

0 V

24 VDC

K1

Page 11: Plc Basics

11

ComparisonHardwired control systems

The functions are determined by the physical wiring.

Changing the function means changing the wiring

Can be contact-making type (relays, contactors) or electronic type (logic circuits)

Page 12: Plc Basics

12

ComparisonProgrammable control system

The functions are determined by a program stored in the memory.

The control functions can be changed simply by changing the program.

Consist of a control device, to which all the sensors and actuators are connected.

Page 13: Plc Basics

13

History of PLCDuring the late 1960s, General Motors (USA) was

interested in the computer application to replace the hardwire systems.

Bedford Associates (Modicon) and Allen Bradley responded to General Motors.

The name given was “Programmable Controllers” or PC.

Programmable Logic Controller or PLC was a registered trademark of the Allen Bradley.

Later, PC was used for “Personal Computer” and to avoid confusion PLC for “Programmable Controller” and PC for a personal computer

Page 14: Plc Basics

14

PLC History

Page 15: Plc Basics

15

PLC History

Page 16: Plc Basics

16

PLC Timeline

Page 17: Plc Basics

17

Advantages of PLC compared to HardwireImplementing changes and correcting errors

Pilot run - trial / test run

Visual observation - online monitoring

Speed of operation

Reliability

Documentation

Page 18: Plc Basics

18

Basic Structure of PLCPOWERSUPPLY

CENTRALPROCESSINGUNIT (CPU)

INPUTMODULES OUTPUT

MODULES

MEMORY(EPROM/RAM)

PG/PC

Page 19: Plc Basics

19

PLC Inputs & Outputs (I/Os)

PLC

USERPROGRAM

(LOGIC)

USERPROGRAM

(LOGIC)

InputDevices

OutputDevices

Page 20: Plc Basics

20

Input/output ModulesDigital input modules adapt digital signals e.g. from

proximity sensors

Digital output modules convert the internal signal level of PLC into digital process signals e.g. relays

Analog input modules adapt analog process signals e.g. from transducers

Analog output modules convert internal digital values of the PLC to analog process signals e.g. temperature controller

Page 21: Plc Basics

21

Central Processing Unit (CPU)What is a CPU?

The “brain” of a PLC

Controlled by a program called the executive or operating system (OS)

The executive is a collection of supervisory programs permanently stored in memory

Page 22: Plc Basics

22

CPUFour basic types of CPU operations:

Input and output operation

Arithmetic and logic

Reading or changing contents of memory locations

Jump operations

Page 23: Plc Basics

23

CPU

PROCESSOR

ACCUMULATOR

TIMERS, COUNTERS,

Memory

PII

INTERNALPROGRAMMEMORY

(RAM)

PIQ

SERIALINTERFACE

MEMORYSUBMODULE

(EPROM/EEPROM/

RAM)

Page 24: Plc Basics

24

CPUThe CPU reads in input signal states, processes the

control program and controls the outputs.

The CPU provides internal Memory, timers and counters.

Restart procedure can be preset and errors can be diagnosed using the CPU’s LEDs.

The overall Reset on the CPU is used to delete the contents of the RAM.

A PG or a Memory sub-module is used to transfer the control program to the CPU.

Page 25: Plc Basics

25

Power Supply ModuleThe power supply module supplies the

operational voltage for the PLC and provides backup for the RAM with a battery

Backup battery

The backup battery maintains the program and data when the PLC is switch off

The backup battery has a service life of approximately 2 years

Page 26: Plc Basics

26

How does a Programmable Controller Works?

PowerSupply

ProgramMemory

ProcessorInput modules

Output modules

24 VDC

GND

Sensors

Actuators / Annunciators

Page 27: Plc Basics

27