Programmable Logic Controllers: I/O

Slides:



Advertisements
Similar presentations
INPUT-OUTPUT ORGANIZATION
Advertisements

Supervisory Control & Data Acquisition DAQ Networking.
Why to learn OSI reference Model? The answer is too simple that It tells us that how communication takes place between computers on internet but how??
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
Industrial Automation and Control
International Standards Organization Open Systems Interconnect (OSI) Reference Model Advanced Computer Networks.
Protocols and the TCP/IP Suite
Open System Interconnection (OSI) Model
Networks: OSI Reference Model 1 International Standards Organization Open Systems Interconnect (OSI) Reference Model.
Input/Output and Communication
Programmable Logic Controller
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
INTRODUCTION Chapter 1.
INPUT-OUTPUT ORGANIZATION
SCADA and Telemetry Presented By:.
Identifying SLC 500™ System Components. SLC 500 System Options  The SLC 500 line of processors comprises both fixed and modular processor styles.:
Layer Architecture Layer architecture simplifies the network design. It is easy to debug network applications in a layered architecture network. The network.
The OSI Model.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
OSI Model. Topics What is the OSI Model? What is a Protocol? Why 7 Layers? The 7 Layers – Application – Presentation – Session – Transport – Network –
William Stallings Data and Computer Communications
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Network Protocols and Standards (Part 2). The OSI Model In 1984, the International Organization for Standardization (ISO) defined a standard, or set of.
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
The OSI Model A Framework for Communications David A. Abarca July 19, 2005.
OSI ARCHITECTURE IN OSI, ACTUAL INFORMATION IS OVERHEADED BY PROTOCOL LAYERS IF ALL SEVEN LAYERS ARE OVERHEADED, THEN AS LITTLE AS 15% OF THE TRANSMITTED.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
The OSI Model An overview of the media layer (Physical, Data Link, Network) By Luke Shiffner.
Programmable Logic Controller & Distributed Control System Yoon-Je Choi 17 th June 2006.
Computer Organization and Architecture + Networks Lecture 6 Input/Output.
Identifying SLC 500™ System Components. SLC 500 System Options  The SLC 500 line of processors comprises both fixed and modular processor styles.:
Lesson 1 PLC BASICS. PLC Definition  Programmable Logic Controllers are industrial computers that control machine and other applications.  PLC have.
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
Introduction to Microcontroller Technology
Programmable Logic Controllers: introduction
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
UNICOS: UNified Industrial COntrol System CPC (Continuous Process Control) Basic course SESSION 3: PLC basics UCPC 6 UNICOS-Continuous Process Control.
THE OSI MODEL By: Omari Dasent.
Click to edit Master subtitle style
Local Area Networks Chapter 4.
Input/Output and Communication
The OSI Model and the TCP/IP Protocol Suite
DT80 range Modbus capability
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Session III Architecture of PLC
Identifying SLC 500™ System Components
The OSI Model and the TCP/IP Protocol Suite
Layered Task, OSI Model, TCP/IP Model
Programmable Logic Controllers (PLCs) An Overview.
Protocols and the TCP/IP Suite
Introduction to Microprocessors and Microcontrollers
Number Representations and Basic Processor Architecture
Lecture Number 4 Siemens S7.
Chapter 3: Open Systems Interconnection (OSI) Model
Serial Communication Interface: Using 8251
PLC Hardware Components.
Substation Automation System
Automation Committee Workshop Presentation 2
OSI Model OSI MODEL.
ACOE347 – Data Acquisition and Automation Systems
Protocols and the TCP/IP Suite
Chapter One Introduction to Computer Networks and Data Communications
The OSI Model and the TCP/IP Protocol Suite
Data Transmission And Digital Communication
Open System Interconnect (OSI).
Presentation transcript:

Programmable Logic Controllers: I/O Juan David Bastidas Rodríguez Escuela de Ingenierías Eléctrica, Electrónica y de Telecomunicaciones Universidad Industrial de Santander

Typical digital inputs

Typical analog inputs

Typical analog inputs

Typical analog inputs Consider a thermocouple used as a sensor with a PLC and giving an output of 0.5 mV per °C. What will be the accuracy with which the PLC will activate the output device if the thermocouple is connected to an analog input with a range of 0 to 10 V DC and using a 10-bit analog-to-digital converter?

Typical analog inputs Consider a thermocouple used as a sensor with a PLC and giving an output of 0.5 mV per °C. What will be the accuracy with which the PLC will activate the output device if the thermocouple is connected to an analog input with a range of 0 to 10 V DC and using a 10-bit analog-to-digital converter? 10-bit converter, there are 210=1024 bits 0 to 10 V range => 10/1023 V approx. 0.01 V (10 mV). PLC recognizes the input is ±5 mV or ± 10°C. PLC only takes “snapshot” samples of input signals.

Typical digital outputs

Typical digital outputs

Typical digital outputs

Typical analog outputs

Typical analog outputs Options: 4 to 20 mA, 0 to +5 V DC 0 to +10 V DC

Signal Conditioning External signal conditioning => a standard form of analog input channel. Convert current to voltage Change voltage level Comparison

Signal Conditioning Convert current to voltage

Signal Conditioning Change voltage level

Signal Conditioning Change voltage level

Signal Conditioning Comparison

Processing inputs Scan all the inputs and copy into RAM. Fetch, decode, and execute all program instructions in sequence, copying output instructions to RAM. Update all outputs. Repeat the sequence. Time to execute 1 cycle: cycle time (e.g. 10 to 50 ms)

Processing inputs Example: Consider a PLC with a cycle time of 40 ms. What is the maximum frequency of digital impulses that can be detected?

Processing inputs Example: Consider a PLC with a cycle time of 40 ms. What is the maximum frequency of digital impulses that can be detected? The maximum frequency will be if one pulse occurs every 40 ms, that is, a frequency of 1/0.04 = 25 Hz.

Processing inputs The cycle or scanning time for a PLC, i.e. its response speed, is determined by: The CPU used. The size of the program to be scanned. The number of inputs/outputs to be read. The system functions that are in use; the greater the number, the slower the scanning time.

I/O addresses With a small PLC this is likely to be just a number, prefixed by a letter to indicate whether it is an input or an output: I0.2, O0.1, X400, Y430, etc. With larger PLCs that have several racks of input and output channels, the racks are numbered. With the Allen-Bradley PLC-5: processor rack 0 address 0, the other racks: 1 address 1, 2 address, and so on. Each rack can have a number of modules, and each one deals with a number of inputs and/or outputs.

I/O addresses Allen-Bradley: Address I:012/03: an input, rack 01, module 2, and terminal 03. SIEMENS: Address I0.1 is an input at bit 1 in byte 0, and Q2.0 is an output at bit 0 in byte 2. GEM: A3.02 is an input in module 3 at terminal 02, and B5.12 is an output in module 5 at terminal 12.

Remote connections

Remote connections Serial communication is used for transmitting data over long distances. It is much cheaper to run the single core cable needed Internally however, PLCs work with parallel communications (speed) Universal asynchronous receivers/ transmitters (UARTs) convert serial to parallel Parallel communication might be used when connecting laboratory instruments to the system

Remote connections Reed the basics of serial and parallel standards in: Section 4.3.2 to 4.3.5 Programmable Logic Controllers, Bolton 6th Edition.

Networks

Networks Distributed systems SCADA: Supervisory Control and Data Acquisition System

Networks Network standards: International Standards Organization (ISO) 1979 => Open systems interconnection (OSI) ISO OSI model Layer 1: Physical médium Layer 2: Data link Layer 3: Network Layer 4: Transport Layer 5: Session Layer 6: Presentation Layer 7: Application A communication link between items of digital equipment is defined in terms of physical, electrical, protocol, and user standards => ISO OSI model

Networks ISO OSI model: Layer 1: Physical médium: include synchronizing data transfer and transferring bits of data Layer 2: Data link: include assembling bits from the physical layer into blocks and transferring them, controlling the sequence of data blocks, and detecting and correcting errors Layer 3: Network: defines the switching that routes data between systems in the network. Layer 4: Transport: defines the protocols responsible for sending messages from one end of the network to the other Layer 5: Session: provides the function to set up communications between users at separate locations. Layer 6: Presentation: ensures that information is delivered in an understandable form. Layer 7: Application: linkis the user program into the communication process and is concerned with the meaning of the transmitted information

Networks

Networks IEC 61131 standard for programmable logic controllers defines a number of standard communication blocks: CONNECT: to establish a channel between a calling PLC and a remote PLC (network address). STATUS and USTATUS: STATUS request for remote status information from a remote PLC USTATUS enables a PLC to receive status information from a remote PLC READ, USEND and URCV: READ requests a remote PLC for values of one of more variables URCV enables a remote PLC to receive variables USEND transmits data to a particular instance of a URCV

Networks IEC 61131 standard for programmable logic controllers defines a number of standard communication blocks: WRITE, SEND and RCV: WRITE writes one or more values variables within a remote PLC SEND block is for a request to a remote PLC to send data RCV block is the answer of to SEND NOTIFY and ALARM: NOTIFY message reports an alarm to to a remote PLC ALARM is the acknowledgment message of a remote PLC to NOTIFY message

Networks Examples of commercial systems: Manufacturing Automation Protocol (MAP): one of the first protocols, not widely used now. Ethernet ControlNet DeviceNet Allen-Bradley Data Highway PROFIBUS Factory-Floor Network