PLC programming Part 1: Structure and operation. Topics  Evolution of logic controller devices  Leading PLC manufacturers around the world  PLC architecture.

Slides:



Advertisements
Similar presentations
Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with.
Advertisements

Dr. HABEEB HATTAB HABEEB Dr. HABEEB HATTAB HABEEB Office: BN-Block, Level-3, Room Ext. No.: 7292 UNITEN.
Industrial Automation and Control
Basic PLC 1.
EUT 1040 Lecture 10: Programmable Logic Controllers.
Programmable Logic Controllers ( Definition according to NEMA standard ICS3-1978) 4/19/2017 A digitally operating electronic apparatus which uses a programming.
PROGRAMMABLE LOGIC CONTROLLERS PLC’S
Industrial Electronics
Programmable Logic Controller
Programmable Logic Controller Internal Operations
Chapter 8 Output Modules.
PLC: Programmable Logical Controller
Industrial Electronic Control
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
PROGRAMMABLE LOGIC CONTROLLER (PLC) AND AUTOMATION
COMPONENTS OF THE SYSTEM UNIT
Programmable logic control Data Processing Computer System Key Board Light Pen Mouse PLC a Process Control Computer System Motion Sensor Sound Sensor.
Computer Basics An overview of computer hardware ICT Tools: Computer Basics.
Memory Hierarchy.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 27.1 Implementing Digital Systems  Introduction  Semiconductor Memory 
The Components of the system unit Created By: N.AlJaffan Modified By:S.Abudawood Chapter 4.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Identifying SLC 500™ System Components. SLC 500 System Options  The SLC 500 line of processors comprises both fixed and modular processor styles.:
Chapter 10 PLC Processors.
Programmable Logic Controller (PLC) - Introduction
Introduction to Computing: Lecture 4
Discovering Computers 2012: Chapter 4
Definition of PLC A digitally operating electronic apparatus which uses a programming memory for the internal storage of instructions for implementing.
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
Memory and Programmable Logic Memory device: Device to which binary information is transferred for storage, and from which information is available for.
©2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
PLCs were invented in answer to the needs of the automobile industry, and were introduced in the late 1960’s. They were designed to take the place of older,
Memory and Storage Dr. Rebhi S. Baraka
Definition of PLC A digitally operating electronic apparatus which uses a programming memory for the internal storage of instructions for implementing.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
6/4/ Key components of the computer Classification of computers based on Purposes Classification of computers based on Signals Classification of.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Introduction to PLC by Dr. Amin Danial Asham.
Programmable Logic Controller. Introduction to PLC  A programmable logic controller (PLC) is a digital computer used for automation of electromechanical.
PLC ARCHITECTURE – Memory 1 by Dr. Amin Danial Asham.
Programmable Logic Controller (PLC)
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
Computer operation is of how the different parts of a computer system work together to perform a task.
PLC ARCHITECTURE – Memory 2 by Dr. Amin Danial Asham.
Chapter 2.
Lesson 2 Component Overview Core Hardware Fundamentals.
BASIC STRUCTURE OF PLC.
PROGRAMMABLE LOGIC CONTROLLER
PROGRAMMABLE LOGIC CONTROLLER. Control Systems Types  Programmable Logic Controllers  Distributed Control System  PC- Based Controls.
SEMINAR ON P.L.C. SUBMITTED BY HRIDAY MUKHERJEE AMIT DEBNATH SOMNATH SHIL
Programmable Logic Controller & Distributed Control System Yoon-Je Choi 17 th June 2006.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 1 Looking Inside the Computer System.
PCs ENVIRONMENT and PERIPHERALS Lecture 3. operating system and other system software that control the usage of the computer equipment application programs.
Basic PLC 1 2 Description This training introduces the basic hardware and software components of a Programmable Controller (PLC). It details the architecture.
Lesson 1 PLC BASICS. PLC Definition  Programmable Logic Controllers are industrial computers that control machine and other applications.  PLC have.
Definition of PLC A digitally operating electronic apparatus which uses a programming memory for the internal storage of instructions for implementing.
Programmable Logic Controllers: I/O
CHAPTER 2 TERMINOLOGY.
Session III Architecture of PLC
Programmable Logic Controller
Programmable Logic Controllers (PLCs) An Overview.
PLC BASICS Prepared by Alka Kalra 1.
Discrete Versus Analog Devices
PLC’s Are ... Similar to a Microcontroller: Microprocessor Based
Computer Memory BY- Dinesh Lohiya.
Basic PLC 1.
ACOE347 – Data Acquisition and Automation Systems
DMT 353/3 – Programmable Logic Controller (PLC)
Presentation transcript:

PLC programming Part 1: Structure and operation

Topics  Evolution of logic controller devices  Leading PLC manufacturers around the world  PLC architecture  PLC operation  Criteria for PLC selection

Evolution of logic controller devices  Relay controllers  Semi-conductor logic controllers  Programmable Logic Controllers (PLC)

Relay controllers  Large dimensions  Slow  Noisy  Requires a lot of energy to work  Sensible for dirt

Semi-conductor logic controllers  Fast  Small  Reduced energy  Silent  Hard to adapt to another controlling task

Programmable Logic Controllers (PLC)  All advantages of the semi-conductor logic controllers  Easy to adapt (re-programming)  Real-time working  Minimal maintenance  Low costs

Areas of application  Water handling  Agriculture  Traffic control  Food industry  Manufacturing / Machining  Mining

Leading PLC manufacturers (US)  Allen Bradley  Gould Modicon  Texas Instruments  General Electric  Westinghouse  Cutter Hammer  Square D

Leading PLC manufacturers (EU)  Siemens  Klockner & Mouller  Festo  Telemechanique

Leading PLC manufacturers (Japan)  Toshiba  Omron  Fanuc  Mitsubishi

PLC architecture Program memory Data memory Processor Communication unit Input module Programming unit Output module System memory

Processor  The main function of the microprocessor is to analyze data coming from field sensors through input modules, make decisions based on the user’s defined control program and return signal back through output modules to the field devices. Field sensors: switches, flow, level, pressure, temp. transmitters, etc. Field output devices: motors, valves, solenoids, lamps, or audible devices.

Memory  System memory  ROM (Read Only Memory)  PROM (Programmable Read Only Memory)  EPROM (Erasable Programmable Read Only Memory)  EEPROM (Electric Erasable Programmable ROM)  Program/Data memory  RAM (Random Access Memory)

System memory  System memory includes an area called the EXECUTIVE, composed of permanently-stored programs that direct all system activities, such as execution of the users control program, communication with peripheral devices, and other system activities.  The system memory also contains the routines that implement the PLC’s instruction set, which is composed of specific control functions such as logic, sequencing, timing, counting, and arithmetic.  System memory is generally built from read-only memory devices.

ROM  Read Only Memory  A non-volatile memory. It has the ability to retain stored information when power is removed, accidentally or intentionally. A ROM does not require battery back-up.  Read only indicates that the information stored in memory can be read only and cannot be changed. Information in ROM is placed there by the manufacturer for the internal use and operation of the PLC.

PROM  Programmable ROM  Allows initial and/or additional information to be written into the chip.  PROM may be written into only once after being received from the PLC manufacturer; programming is accomplish by pulses of current.  The current melts the fusible links in the device, preventing it from being reprogrammed. This type of memory is used to prevent unauthorized program changes.

EPROM  Erasable PROM  Ideally suited when program storage is to be semi-permanent or additional security is needed to prevent unauthorized program changes.  The EPROM chip has a quartz window over a silicon material that contains the electronic integrated circuits. This window normally is covered by an opaque material, but when the opaque material is removed and the circuitry exposed to ultra violet light, the memory content can be erased.  The EPROM chip is also referred to as UVPROM.

EEPROM  Electrically EPROM  Also referred to as E 2 PROM, is a chip that can be programmed using a standard programming device and can be erased by the proper signal being applied to the erase pin.  EEPROM is used primarily as a non-volatile backup for the normal RAM memory. If the program in RAM is lost or erased, a copy of the program stored on an EEPROM chip can be down loaded into the RAM.

Program/Data memory  The program and data memories are called together application memory.  The data memory stores any data associated with the user’s control program, such as system input and output status data, and any stored constants, variables, or preset values. The data memory is where data is monitored, manipulated, and changed for control purposes.  The user program area is where the programmed instructions entered by the user are stored as an application control program.

RAM  Random Access Memory (Read/Write)  A volatile memory, that is one that loses its stored information when power is removed.  Even momentary losses of power will erase any information stored or programmed on a volatile memory chip.  Read/write indicates that the information stored in the memory can be retrieved or read, while write indicates that the user can program or write information into the memory.

RAM – Random Access  The words random access refer to the ability of any location (address) in the memory to be accessed or used. Ram memory is used for both the user memory (ladder diagrams) and storage memory in many PLC’s.  RAM memory must have battery backup to retain or protect the stored program.

Types of RAM Memory  MOS (Metal Oxide Semiconductor)  HMOS (High Density, short channel MOS )  CMOS (Complimentary MOS)  The CMOS-RAM is probably one of the most popular, because it has a very low current drain when not being accessed (15microamps.), and the information stored in memory can be retained by as little as 2Vdc.

Input/Output modules  The I/O interface section of a PLC connects it to external field devices.  The main purpose of the I/O interface is to condition the various signals received from or sent to the external input and output devices.  Input modules converts signals from discrete or analog input devices to logic levels acceptable to PLC’s processor.  Output modules converts signal from the processor to levels capable of driving the connected discrete or analog output devices.

DC Input module Standard Digital Input signals: 24V Current limiting resistor Opto- isolator Buffer, filter, hysteresis circuits DC inputProcessor Used to drop the voltage to logic level Prevents voltage transients from damagigng the processor. Helps to reduce the effects of electrical noise.

AC input module Standard Analog Input signals: 4-20mA; 0-10V Rectifier, Resistor Network Opto- isolator Buffer, filter, hysteresis circuits AC inputProcessor Converts the AC input to DC and drops the voltage to logic level Prevents voltage transients from damagigng the processor. Helps to redice the effects of electrical noise.

DC/AC output module Standard Analog Output signals: 4-20mA; 0-5V; 0-10V TTL circuits Opto- isolator AplifierProcessorOutput

Programming unit  Usually a hand-held programmer or a PC  For simple tasks

Communication unit Manages the communication between the PLC and  the controlled process,  an other PLC,  a PC,  different peripheries. Used ports:  Serial (RS 232, RS 422, RS 485 )  Ethernet

Serial ports  RS 232  Used in short-distance computer communications, with the majority of computer hardware and peripherals.  Has a maximum effective distance of approx. 30 m at 9600 baud.  RS 422 / RS 485  Used for longer-distance links, often between several PCs in a distributed system. RS 485 can have a maximum distance of about 1000 meters.

Ethernet: Local Area Network (LAN)  Local Area Network provides a physical link between all devices plus providing overall data exchange management or protocol, ensuring that each device can “talk” to other machines and understand data received from them.  LANs provide the common, high-speed data communications bus which interconnects any or all devices within the local area.

Advantages of PLC communication  The less cable the less cost.  Higher reliability and performance.  Smaller installation and service costs.  The ability of teleprogramming and telemonitoring.  Changing resident PLC programs - uploading/downloading from a supervisory controller (Laptop or desktop computer).  Forcing I/O points and memory elements from a remote terminal.  Linking a PLC into a control hierarchy containing several sizes of PLC and computer.  Monitoring data and alarms, etc. via printers or Operator Interface Units (OIUs).

PLC operation  Read all field input devices via the input interfaces. Execute the user program stored in application memory, then, based on whatever control scheme has been programmed by the user. Turn the field output devices on or off, or perform whatever control is necessary for the process application.

PLC operation scheme Power-on the PLC Clear the output table Input links Input table update PLC program Instruction 1 Instruction 2 … Instruction n Output table update Output links …… Input signals Output signals

Scan cycle and scan time  Input table update is also called input scan.  Output table update is output scan.  The process from input scan to output scan is a scan cycle.  The time it takes to implement a scan cycle is called scan time. The scan time composed of the program scan time, which is the time required for solving the control program, and the I/O update time, or time required to read inputs and update outputs. The program scan time generally depends on the amount of memory taken by the control program and type of instructions used in the program. The time to make a single scan can vary from 1 ms to 100 ms.

Criteria for PLC selection  Number of logical inputs and outputs.  Memory  Number of special I/O modules  Scan Time  Communications  Software

Memory capacity  The amount of memory required for a particular application is related to the length of the program and the complexity of the control system. Simple applications having just a few relays do not require significant amount of memory. Program length tend to expand after the system have been used for a while. It is advantageous to a acquire a controller that has more memory than is presently needed.

I/O number  This specifies the number of I/O devices that can be connected to the controller. There should be sufficient I/O ports to meet present requirements with enough spares to provide for moderate future expansion.

Scan time  This is the speed at which the controller executes the relay-ladder logic program. This variable is usually specified as the scan time per 1000 logic nodes and typically ranges from 1 to 100 milliseconds.

Categorization of PLC-s by size Small:  It covers units with up to 128 I/O’s and memories up to 2 Kbytes.  These PLC’s are capable of providing simple to advance levels or machine controls Medium:  Have up to 2048 I/O’s and memories up to 32 Kbytes Large:  The most sophisticated units of the PLC family. They have up to 8192 I/O’s and memories up to 750 Kbytes.  Can control individual production processes or entire plant.

References  Programming.ppt  PLC.ppt