Chapter 2 – PLC Hardware Components

Slides:



Advertisements
Similar presentations
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Advertisements

 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
IT Systems Memory EN230-1 Justin Champion C208 –
Programmable Logic Controller
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Microcontroller: Introduction
Information Technology Ms. Abeer Helwa. Computer Generations First Generation (Vacuum Tubes) -They relied on the machine language to perform operations.
INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.
Memory Hierarchy.
Programmable Logic Controller (PLC) - Introduction
E0001 Computers in Engineering1 The System Unit & Memory.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Welcome to the World of Programmable Logic Controllers
CIM101 : Introduction to computer Lecture 3 Memory.
GCSE Information Technology Computer Systems 2 Hardware is the name that is given to any part of a computer that you can actually touch. An individual.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Computers Are Your Future Chapter 1 Slide 1 Introduction to the Computers & Internet Chapter 1 Concepts of Information Technology IT.
Computer Organization & Assembly Language © by DR. M. Amer.
PLC ARCHITECTURE – Memory 1 by Dr. Amin Danial Asham.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
PLC ARCHITECTURE – Memory 2 by Dr. Amin Danial Asham.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
PROGRAMMABLE LOGIC CONTROLLER
CHAPTER 1 COMPUTER SCIENCE II. HISTORY OF COMPUTERS (1.1) Eniac- one of the worlds first computers Used more electricity than an entire city block of.
SEMINAR ON P.L.C. SUBMITTED BY HRIDAY MUKHERJEE AMIT DEBNATH SOMNATH SHIL
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Introduction :: Computer Organization and Architecture Computer.
Lesson 1 PLC BASICS. PLC Definition  Programmable Logic Controllers are industrial computers that control machine and other applications.  PLC have.
Components of Computer. Memory Unit Most important part of the computer Used to store data and instructions that are currently in use Main memory consists.
Chapter 2 content Basic organization of computer What is motherboard
Chapter 1: Introduction to Computers and Programming
Memory and Programmable Logic
Computer Components ICS 3U0.
MEMORY BYTES. MEMORY BYTES MEMORY MEMORY OUR Internal External.
Computer Science II Chapter 1.
Computer Hardware – System Unit
UNIT 9 Computer architecture
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Chapter 7.2 Computer Architecture
The Programmable Logic Controller
Introduction to Computer Architecture
Computer Architecture
Introduction of microprocessor
introduction to computer
Programmable control systems
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
Memory chips Memory chips have two main properties that determine their application, storage capacity (size) and access time(speed). A memory chip contains.
CHAPTER 2 TERMINOLOGY.
COMPUTER ORGANISATION AND ARCHITECTURE
Session III Architecture of PLC
Chapter Three Computer Hardware Chapter 3- Computer Hardware.
Programmable Logic Controllers (PLCs) An Overview.
Introduction to Microprocessors and Microcontrollers
Chapter 1: Introduction to Computers and Programming
Lecture Number 4 Siemens S7.
Chapter Three Computer Hardware Chapter 3- Computer Hardware.
Introduction to Computing Chapter 0
PLC Hardware Components.
Chapter 2: Computer Hardware
S RAJARAJAN_ASST PROF, BSARCIS&T
DET 214/3 PROGRAMMABLE LOGIC CONTROLLER
ACOE347 – Data Acquisition and Automation Systems
Plc & scada applications
Chapter 5 Computer Organization
DMT 353/3 – Programmable Logic Controller (PLC)
Presentation transcript:

Chapter 2 – PLC Hardware Components 1/18/2019

Recap Programmable logic controllers (PLCs) are specialized industrial computers. It is used to execute specific functions such as sequence control, on/off control, arithmatic operations, and other functions. PLCs were originally made to replace hard-wired relay control systems. Advantages of using PLCs: Eliminates the hard wiring More reliability Lower cost Flexibility Communication capability Easy troubleshooting Faster response time 1/18/2019

PLC Architecture & Components (1) The central Processing Unit contains the microprocessor and the memory Central Processing Unit (CPU) Input/Output Memory Microrpocessor Question: What microprocessors are usually used by Siemens PLCs? Siemens PLCs usually use Intel mircoprocessors Question: What microprocessors are usually used by Allen Bradley PLCs? Allen Bradley PLCs usually use Motorolla mircoprocessors 1/18/2019

The I/O Section The section to which all field devices are connected and provides the interface between them and the CPU. 1/18/2019

The I/O Section The hardware assembly that houses I/O modules, processor modules, and power supplies is referred to as the chassis. A logical rack is an addressable unit consisting of 128 input points and 128 output points. 1/18/2019

The I/O Section Addressing 1/18/2019

The I/O Section Addressing 1/18/2019

Addressing The I/O Section The smallest unit is the bit 1 byte = 8 bits 1 word = 2 bytes 1 Double Word = 4 bytes = 32 bits 1/18/2019

Addressing The I/O Section Type – Input/Output Slot – Physical location of I/O Module Word and Bit – Identifies the terminal connection EX: I0.5 1/18/2019

Inputs : The I/O Section Limit Switch Reed Sensors Pushbuttons Ultrasonic sensors 1/18/2019

Outputs : The I/O Section Motor Starter Relay Signal Column Cylinder 1/18/2019

Types of Memory RAM: Random Access Memory. Fastest but volatile ROM: Read Only Memory PROM: Programmable ROM, this memory is non erasable once porgrammed. EPROM: Erasable PROM, this memory is erasable using a strong UV radiation dose. EEPROM: Electrically Erasable PROM, can be erased while in the circuit. Flash memory: non-volatile high capacity memory Note: Other forms of memory storage include Non-stationary (rotating) disks such as Hard Disk Drive, Floppy Disk, and Compact Disk (CD). These forms are normally not used in PLC systems. 1/18/2019

Memory Usage Load Memory: A flash type of memory, this part of memory contains the user program and the hardware configuration. In Siemens PLCs built after 2002, this memory is implemented in the memory card. Work Memory: A Random Access Memory (RAM) that is used to temporarily store portions of the program code to execute them. After that portion of the program code is executed, it is erased from the work memory System Memory: A Random Access Memory (RAM) that is used to store variables when running and executing the program such as variables of timers, counters, memory bits,..etc. 1/18/2019

Human Machine Interface (HMI) connected to communicate with a PLC and to replace pushbuttons, selector switches, pilot lights, thumbwheels, and other operator control panel devices 1/18/2019

PLC Architecture & Components (2) Siemens PLCs have all or some of the following components: Power Supply Central Processing Unit: contains the following - Microprocessor - EEPROM/ RAM memory storage - MicroSD card Slot (after 2002 - Lithium battery (in models before 2002) - MPI connection: for MPI interface - DP connection: for Profibus interface (Not always provided) - Ethernet connection : for Profinet connection (not in S300) - Status indicators: SF, Run, Stop, … - Mode selector: Stop, Run, MRES Input/Output Modules: can be fixed (such as on the S314 stations) or mudular (such as in the S315 station in the lab). Other modules: such as the interface and communication modules 1/18/2019

Real Time Definition: A system operates in real time when it reacts to an event that occurs on the field within a time constraint. Examples: 1. The airbag system: must respond to a collision in real time so that airbags are deployed in the right time. 2. Real-Time surveillance and tracking in UAVs (Drones): cameras are connected to a network (“online“) for processing to respond to events that take place. 3. Non-real time ( “offline“) surveillance of the Sonar underwater drones: sonar scans are recorded to be processed after submarine emerges from water. 1/18/2019

a) It responds before the time it is supposed to Example: A mechatronic system does not respond in Real Time, what could be a possible discription of this system? a) It responds before the time it is supposed to b) It responds in a time after it is supposed to c) It records data to be processed later by another system component. d) All of the above are possible 1/18/2019

Background Why binary? Easier to have 2 states On or OFF, thence simpler electronics The smallest unit is the bit 1 byte = 8 bits 1 word = 2 bytes 1 Double Word = 4 bytes = 32 bits 1/18/2019

Review: Decimal Vs. Binary How many bytes are there in 1 KByte? Solution: 1KB = 210 Bytes = 1024 Bytes Decimal Binary 1 kilo = 1000 1 Kilo = 210=1024 1 mega = 1000,000 1 Mega = 220=1,048,576 How many bits are there in 2 KBytes? Solution: 2×1024×8 = 16,384 bits 1/18/2019

Decimal and Binary numbers Decimal numbers have a base of 10 Binary numbers have a base of 2 Decimal Binary Base 10 0, 1, 2, 3, 4…. 8, 9 2 0, 1 kilo 103 = 1000 Use small “k” 210 = 1024 Use capital “K” Mega 106 = 1000,000 220 = 1,048,576 Gega 109 = 1000,000,000 230 1/18/2019

Decimal and Binary Numbers Example 1: Fill in the blank: 1 µm = ______ meter 1 Kg = _______ grams 6 MHz = __________Hz 6 MB = __________ Bytes 1 Nibble = ______ bits 1 Byte = _______ bits 1 word = ________ bytes = ______ bits 10 -6 1000 6,000, 000 6,291,456 4 8 2 16 1/18/2019

Example 2: How many bytes are there in 16 KB? 16 KB = 16 * 1024 = 16,384 Bytes How many bytes are there in 1 MB? 1 MB = 220 = 1,048,576 How many bits are there in 24 KB? number of bytes = 24 * 1024 = 24,576 but there are 8 bits in a byte thus, number of bits = 24,576 * 8 = 196,608 bits 1/18/2019

Introduction to computer programming Compiler Assembler 4th generation 3rd generation LabView, SPSS, Simulink 2nd generation C++, C, Java, Visual basic Ladder Logic, Matlab, Basic, Pascal,..etc 1st generation Assembly Language Machine Code Punch cards 1/18/2019

What type of memory is volatile and therefore only used of storing variables? Only one answer ROM FLASH RAM EPROM PROM 1/18/2019