Introduction to PLC Operation

Slides:



Advertisements
Similar presentations
1 Chapter 2 The Digital World. 2 Digital Data Representation.
Advertisements

Copyright © 2002 Delmar Thomson Learning Chapter 11 Processor Data Organization.
Copyright © 2002 Delmar Thomson Learning Chapter 12 Basic Relay Instructions.
Binary Systems1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Chapter 7 Input Modules.
Chapter 6 Introduction to Logic.
Switchgears Control Using SCADA System Based on PLC
Introduction to Computing CPSC 203 January 24, 2006 Heejin Lim Chapter 1 Chapter 2 (part of)
2 Systems Architecture, Fifth Edition Chapter Goals Describe numbering systems and their use in data representation Compare and contrast various data.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Copyright © 2002 Delmar Thomson Learning Chapter 3 Programming a Programmable Controller.
Programming Logic Controllers Selection, Components, & Communication - Chapter 2.
Programmable Logic Controllers ( Definition according to NEMA standard ICS3-1978) 4/19/2017 A digitally operating electronic apparatus which uses a programming.
Copyright © 2002 Delmar Thomson Learning Chapter 9 Putting Together a Modular PLC.
Chapter 19 Fundamental PLC Programming
6 PLC Programming. 6 PLC Programming Objectives List the rules for creating a PLC ladder logic diagram. Convert a relay logic diagram to a PLC ladder.
Programmable Logic Controllers
Advanced Instructions Most PLCs now support more advanced functions such as Floating point math, Boolean operations, Shifting, Sequencing, Program control.
Programmable Logic Controllers
UNIX Unbounded 5 th Edition Amir Afzal Chapter 1 First Things First.
MOV,MOVM,COP,FLL,BSL,BSR, FRD,TOD
Introduction to PLC Operation
Chapter 10 PLC Processors.
Copyright © 2002 Delmar Thomson Learning Chapter 17 Sequencer Instructions.
Why does it matter how data is stored on a computer? Example: Perform each of the following calculations in your head. a = 4/3 b = a – 1 c = 3*b e = 1.
Cis303a_chapt03-2a.ppt Range Overflow Fixed length of bits to hold numeric data Can hold a maximum positive number (unsigned) X X X X X X X X X X X X X.
Welcome to the World of Programmable Logic Controllers
Copyright © 2002 Delmar Thomson Learning Chapter 1 Welcome to the World of Programmable Logic Controllers.
Memory Layout and SLC500™ System Addresses. Processor Memory Division An SLC 500 processor's memory is divided into two storage areas. Like two drawers.
Memory Layout and SLC500™ System Addresses. Processor Memory Division An SLC 500 processor's memory is divided into two storage areas. Like two drawers.
Processor Data Organization
Memory Layout and SLC500 System Addresses. Processor Memory Division An SLC 500 processor's memory is divided into two storage areas. Like two drawers.
CS161 Computer Programming Instructor: Maria Sabir Fall 2009 Lecture #1.
Storing and Organizing Data. Why Do I Need to Understand How Data Is Represented? In order to install, program,maintain, and troubleshoot today’s PLCs,
Turbine Crane CRANES TURBINE NEA39. Turbine Crane PLANT STATUS! PV Daily Status Report.
Copyright © 2002 Delmar Thomson Learning Chapter 10 PLC Processors.
Copyright © 2002 Delmar Thomson Learning Chapter 4 Number Systems.
Data Representation Conversion 24/04/2017.
EEL 3801C EEL 3801 Part I Computing Basics. EEL 3801C Data Representation Digital computers are binary in nature. They operate only on 0’s and 1’s. Everything.
PLC PROGRAMMING.
Chapter 3 Programming a Programmable Controller. Objectives Describe the available options for programming a PLC. Explain what online is in comparison.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
INFORMATION TECHNOLOGY
Copyright © 2002 Delmar Thomson Learning Chapter 14 Documenting Your PLC System.
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
MECH1500 Chapter 3.
The Instruction Set Architecture. Hardware – Software boundary Java Program C Program Ada Program Compiler Instruction Set Architecture Microcode Hardware.
Putting Together a Modular PLC
PLC ARCHITECTURE – Memory 2 by Dr. Amin Danial Asham.
M204 - Data Representation
09/06/ Data Representation ASCII, Binary Denary Conversion, Integer & Boolean data types.
SEMINAR ON P.L.C. SUBMITTED BY HRIDAY MUKHERJEE AMIT DEBNATH SOMNATH SHIL
Chapter 5.
Chapter 7 Input Modules. Objectives (1 of 2) Explain the differences between positive and negative logic and sinking and sourcing. Describe the available.
Programmable Logic Controller
Chapter 3 Data Representation
Chapter 5.
Chapter 10 © 2011, The McGraw-Hill Companies, Inc.
EPSII 59:006 Spring 2004.
Lecture Number 4 Siemens S7.
Comparison and Data-handling Instructions
Comparison and Data-Handling Instructions
Chapter 4 Number Systems.
Documenting Your PLC System
Basic Relay Instructions
Lecture Number 5 Siemens S7.
Networks & I/O Devices.
Chapter 3 - Binary Numbering System
Presentation transcript:

Introduction to PLC Operation Chapter 5 Introduction to PLC Operation

Objectives Explain what binary information is and how it is used in PLCs. Describe how computer and PLC data are represented. Examine PLC memory and how it is used. Explain how data gets into a PLC. Identify what addresses are and how they are used in PLCs.

The PLC Is a Digital Computer The PLC is a computer similar to a desktop or notebook computer. A PLC is an industrially hardened computer.

PLC Block Diagram

Binary Concept Binary is based on two states  on or off. Two-state devices are described as either discrete or digital devices. Discrete or digital devices are simply either on or off.

Common Industrial Hardware Representing the Binary Concept

Binary Data Representation We communicate to others using groups of letters arranged into words. The PLC uses groups of bits called words. Different bit patterns represent different information.

Bits Unlike English, computers have only two characters available  1 or 0. Each 1 or 0 is called a binary digit or bit. Binary is base or radix 2. A single bit is the smallest unit of computer data.

PLC Words One measure of a computer’s capabilities is the length of the data words on which it can operate. Current PLCs use 16-bit words. Newer PLCs use 32-bit words. SLC 500 family PLCs are 16-bit computers.

Information Represented as Combinations of Bits

Parts of a 16-Bit Word

Bytes, Nibbles, and Bits

16-Point Module’s I/O Points Represented in a Word

Physical Input Conditions and the Corresponding Input Data Word

8-Point Input Module Represented in a Word

24-Point I/O Module Represented in Two Words

Two Words Representing Inputs for a 32-Bit Module

Data Table Format Words are 16 bits. First word or bit is always 0. Bits 0 through bit 15 First word or bit is always 0. SLC 500 data tables can contain up to 256 words (0 to 255).

Words Arranged in a Data Table

Input Data File (1 of 2) Each input screw terminal has one memory location to store on or off status. Input data is stored in the input data file. Also called the input status file Input status file holds input status information, which is used to solve ladder program.

Input Data File (2 of 2) Identified as an I-type data file Only one input status file allowed per project Only has words created for actual modules in system

Output Data File (1 of 3) Each output screw terminal has one memory location to store on or off status. Output data is stored in the output data file, also called the output status file.

Output Data File (2 of 3) Output status file holds output status information to update outputs The result of solving the ladder program Output data sent to modules during output update portion of scan

Output Data File (3 of 3) Identified as an O-type data file Only one output status file allowed per project Only has words created for actual modules in system

Output Status File Correlation To Module

Modular PLC and Output and Input Status Tables

Fixed PLC and Output and Input Status Table Image courtesy of Allen-Bradley, a Rockwell Automation business

Fixed I/O PLC Interaction With Input Status File

I/O Address Structure

I/O Address Format for SLC 500 Family of PLCs

RSLogix 500 Software Input Status Table Screen View

RSLogix 500 Software Output Status Table Screen View

PLC Data Formats Two 8-bit unsigned bytes of data 16-bit unsigned integer 16-bit signed integer Binary coded decimal Hexadecimal

Two 8-bit Unsigned Bytes of Data

16-bit Unsigned Integer

16-bit Signed Integer

Binary Coded Decimal

Hexadecimal

PLC Memory Categories PLC memory is divided into two categories. System memory Application memory

System Memory Differentiates a PLC from another type of computer device Gives PLC its personality Programmed into PLC at factory Also called its operating system

SLC 500 Operating System SLC 5/03, 5/04, and 5/05 processors have field-upgradeable operating systems. Add new features Add new instructions Fix problems

Application Memory Stores user program Stores data associated with user program Input status file Output status file Timers and counters Numerical data such as recipes Results of math operations

Ladder Files Ladder files contain ladder programs. Ladder file 2 must be main ladder program. Ladder files 3 through 255 are subroutines.

SLC 500 Data Files Output status Input status Processor status Binary or bits Timers Counters Integer Floating point User-defined

Default Data Files Data files O through 8 are created by the processor with new project. Floating point file is available on SLC 500 modular processors 5/03, 5/04, and 5/05. 5/03 processor must have operating system OS 301 and above.

Data File Identification (1 of 2) O: Output Status File I: Input Status File S: Processor Status File Cannot create additional O, I, or S data files

Data File Identification (2 of 2) B3 Binary or bit file T4 Timers C5 Counters R6 Control N7 Integer F8 Floating point

User Configurable Files Data files greater than file 8 up to file 255 can be created by the user. These are user-defined files. B, T, C, N, F file types Each file can contain up to 255 elements with adequate processor memory.