Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.

Slides:



Advertisements
Similar presentations
Computer Systems Nat 4/5 Computing Science Computer Structure:
Advertisements

The CPU The Central Presentation Unit What is the CPU?
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
Processor System Architecture
INTRODUCTION OF COMPUTER
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
© Paradigm Publishing, Inc. 2-1 Chapter 2 Input and Processing Chapter 2 Input and Processing.
CENTRAL PROCESSING UNIT
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
Industrial Automation and Control
Parul Polytechnic Institute Subject Code : Name Of Subject : Microprocessor and assembly language programming Name of Unit : Introduction to Microprossor.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Hardware Basics: Inside the Box 2  2001 Prentice Hall2.2 Chapter Outline “There is no invention – only discovery.” Thomas J. Watson, Sr. What Computers.
Objectives Overview Discovering Computers 2014: Chapter 6 See Page 248
Microcontroller based system design
6. The CPU and Memory Chapt. 7.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
COMPONENTS OF THE SYSTEM UNIT
The Microcomputer System In this presentation you will: Investigate the microprocessor Title Page.
Programmable logic control Data Processing Computer System Key Board Light Pen Mouse PLC a Process Control Computer System Motion Sensor Sound Sensor.
Processing Devices.
Chapter 6 Inside Computers and Mobile Devices Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Lesson 3 — How a Computer Processes Data
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
Computer architecture Microprocessor based computers.
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
Objectives Overview Describe the various computer and mobile device cases and the contents they protect Describe multi-core processors, the components.
Tomorrow’s Technology and You 8/e Chapter 2 Hardware Basics: Inside the Box.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
COMPUTER ARCHITECTURE. Recommended Text 1Computer Organization and Architecture by William Stallings 2Structured Computer Organisation Andrew S. Tanenbaum.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
General Concepts of Computer Organization Overview of Microcomputer.
Microprocessors For a microprocessor to give a working microcomputer system, which can be used for control tasks, additional chips are necessary, e.g.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
 Introduction to Micro processor Introduction to Micro processor  Microprocessor instruction and opcodes Microprocessor instruction and opcodes  Mnemonics.
INTRODUCTION.  Upon completing this topic, you should be able to: Illustrate a basic elements of digital computer system and their functions, Depicts.
PLC ARCHITECTURE – Memory 1 by Dr. Amin Danial Asham.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Electronic Analog Computer Dr. Amin Danial Asham by.
Computer Hardware – System Unit
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
The Computer System.
Programmable Logic Controllers
Computer operation is of how the different parts of a computer system work together to perform a task.
Chapter 2.
BASIC STRUCTURE OF PLC.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Computer Systems Nat 4/5 Computing Science Computer Structure:
Computing Science Computer Structure: Lesson 1: Processor Structure
Computer Hardware – System Unit
CPU & its Components CPU stands for central Processing Unit
Introduction to Microprocessors and Microcontrollers
Interfacing Memory Interfacing.
Number Representations and Basic Processor Architecture
Chapter 4: Hardware for Educators
Presentation transcript:

Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system

Learning Outcome 1 LO1: Understand the design and operational characteristics of a PLC system –1.4 describe the internal architecture and operational characteristics of the CPU of a typical programmable logic device

Agenda At the end of this session the students will be able to… 1.Describe the architecture of a PLC. 2.Describe the function of each of the main system elements of the architecture.

The Programmable Logic Controller PLC PROGRAMME INPUTSOUTPUTS

The Functional Components of a PLC The typical PLC has the basic functional components of… –Processor unit (CPU) –Memory –Power supply unit –Input / output interface section –Communications interface –Programming device

Relationship between the Functional Components of a PLC Processor Unit (CPU) Input inter- face Output inter- face Programme & Data Memory Communications interface Power Supply Programming Device

The Central Processor Unit (CPU) The processor unit or central processor unit (CPU) is the unit containing the microprocessor. This unit interprets the input signals and carries out the control actions according to the programme stored in its memory, communicating the decisions as action signals to the outputs.

The Power Supply Unit (PSU) The power supply unit is needed to convert the mains AC voltage (230V r.m.s.) to low DC voltage (5V) necessary for the processor and the circuits in the input and output interface modules.

The Programming Device The programming device is used to enter the required programme into the memory of the processor. The programme is developed in the device and then transferred to the memory unit of the PLC

The Programming Device A programming device could be… –A handheld device –A desktop console –A personal computer

The Memory Unit The memory unit is where the programme containing the control actions to be exercised by the microprocessor is stored and where the data is stored from the input for processing and for the output.

The Input and Output Interfaces The input and output interfaces are where the processor receives information from external devices.

The Communications Interface The communications interface is used to receive and transmit data on communication networks from or to other remote PLCs. It is concerned with such actions as device verification, data acquisition, synchronisation between user applications and connection management

Basic Communications Model Communications Network PLC 1 Supervisory System Plant / Machinery PLC 2

Communications Model: Allen-Bradley

The internal Architecture of a PLC CPU User Program RAM System ROM Data RAM Input / output unit CLOCKCLOCK Data Bus Address Bus Control Bus Opto- Coupler Buffer I/O System Bus DriversDrivers BatteryBattery LatchDriver Interface Inputs Outputs Programme Panel

The CPU The CPU is made up of the following… –An Arithmetic and Logic Unit (ALU) which is responsible for data manipulation and carrying out arithmetic operations of addition and subtraction and logic operations of AND, OR, NOT and EXCLUSIVE OR – HANDOUT 1.

The CPU Memory, termed registers, located within the microprocessor and used to store information involved in programme execution A control unit that is used to control the timing of operations. TXABUAhttps:// TXABUA

The Buses The buses are paths used for communication within the PLC. The information is transmitted in binary form, that is, as a group of bits, with a bit being a binary digit ‘1’ or ‘0’, indicative of on / off states. Bits are arranged into a ‘word’. A word is used for a ‘group of bits’ constituting some piece of information. Typically this might be 8-bits e.g – HANDOUT 2 – ASCII Code Each of the bits in a word is communicated simultaneously along its own parallel wire.

The Data Bus The data bus carries the data used in the processing done by the CPU. A microprocessor termed as 8-bit, has an internal data bus that can handle 8-bit numbers (words). It can thus perform operations between 8- bit numbers and deliver results as 8-bit values

The Address Bus The address bus is used to carry the addresses of memory locations. Each word is located in memory Every memory location is given a unique address so that the CPU ‘knows’ where to look (read) a particular word or to store (write) a particular word. If the address bus consists of 8-lines, then there can be 2 8 = 256 addresses If the address bus consists of 16-lines, then there can be 2 16 = 65,536 addresses

The Control Bus The control bus carries the signals used by the CPU for control, –For example it might be used to inform a memory device whether it is to receive data from an input or output. –It is also used to carry timing signals used to synchronise actions

The System Bus The system bus is used for communications between the input / output ports and the input / output unit

Memory Data and programme instructions need to be stored by the PLC in order for the PLC to process the data. –System (Read Only Memory) ROM: gives permanent storage for the operating system –Random Access memory (RAM) is used for the users programme

Memory –RAM is used for data. This is where information is stored on states of input and output devices and the values of timers and counters and other internal devices. (This is sometimes called the register table or data table). Part of this memory, that is a block of addresses, will be put aside for input and output addresses and the states of those inputs and outputs. Part will be set aside for pre-set data and part for starting counter values, timer values and the like.

Memory –Erasable and Programmable Read-only- memory (EPROM) is used to store programmes permanently –If the memory size is 2048 bits then it can store 256, 8 bit words (bytes). –Similarly 4096 bits can store 512, 8 bytes or 256 x 16-bit words. –1K of memory represents 2 10 bits of storage space i.e bits can be stored.

Memory –Manufacturers supply memory chips with storage locations grouped in 1, 4 and 8 bits. –Thus a 4K x 1 memory has 4 x 1024 x 1 = 1024 bit locations. –A 4K x 8 memory has 4 x 1024 x 8 = 32,768 bit locations.

Memory Remembering that 1 byte = 8 bits, then –4K x 8 means that 4096 bytes can be stored. –For a 16 bit address bus there are 2 16 different addresses. Thus with 8-bit words stored at each address there are 2 16 x 8 storage locations. Thus (2 16 x 8) / 2 10 = 64K x 8 i.e. which might come in the form of 4 x 16K x 8bit memory chips

CPU Operation