35
Chapter 1 Welcome to the World of Programmable Logic Controllers

Chapter 1 Welcome to the World of Programmable Logic Controllers

Embed Size (px)

Citation preview

Page 1: Chapter 1 Welcome to the World of Programmable Logic Controllers

Chapter 1

Welcome to the World of Programmable Logic Controllers

Page 2: Chapter 1 Welcome to the World of Programmable Logic Controllers

Objectives

• Define PLC.

• Explain where the PLC came from.

• Explain why their use is valuable.

• Explain where they are used.

• Detail what PLCs can do.

• Explain how PLCs know what they are supposed to do.

Page 3: Chapter 1 Welcome to the World of Programmable Logic Controllers

What Is a Programmable Controller?

• A programmable logic controller, usually called a PLC or programmable controller, is a solid-state, digital, industrial computer.

• Simply, a programmable controller is a computer, much like a desktop personal computer.

• A PLC is an industrially hardened computer.

Page 4: Chapter 1 Welcome to the World of Programmable Logic Controllers

Where Did the PLC Come From? (1 of 2)

• In the 1960s, electromechanical relays, timers, counters, and sequencers were the standard.

• Many control panels contained hundreds of these devices and a mile or more of wire.

Page 5: Chapter 1 Welcome to the World of Programmable Logic Controllers

Where Did the PLC Come From? (2 of 2)

• Reliability was low and maintenance costs were high.

• Cost was high to modify or upgrade control panels.

• In 1968 the General Motors Hydramatic division specified a device that would become what we know today as the programmable logic controller.

Page 6: Chapter 1 Welcome to the World of Programmable Logic Controllers

Early PLCs

• Only relay replacers

• Did not have timers or counters

• No sequencer instructions

• No math instructions

• No data manipulation instructions

Page 7: Chapter 1 Welcome to the World of Programmable Logic Controllers

Why a PLC? (1 of 2)

• Easily changeable

• Programmable

• Reliable

• Smaller

• Fast switching

Page 8: Chapter 1 Welcome to the World of Programmable Logic Controllers

Why a PLC? (2 of 2)

• Able to withstand harsh factory environment

• Consumes less power

• Easier to troubleshoot

• Easy to install

Page 9: Chapter 1 Welcome to the World of Programmable Logic Controllers

Why Use a PLC?

• The question “why use a PLC?” should really be rephrased to “why automate?”– The PLC is the tool that provides the control

for the automated process.

Page 10: Chapter 1 Welcome to the World of Programmable Logic Controllers

Automating Helps a Manufacturing Facility (1 of 2)

• Gain complete control of the manufacturing process

• Achieve consistency

• Improve quality and accuracy

• Work in difficult or hazardous environments

• Increase productivity

Page 11: Chapter 1 Welcome to the World of Programmable Logic Controllers

Automating Helps a Manufacturing Facility (2 of 2)

• Shorten lead time to market

• Lower cost of quality, scrap, and rework

• Offer greater product variety

• Allow a quick changeover from one product to another

• Control inventory

Page 12: Chapter 1 Welcome to the World of Programmable Logic Controllers

A PLC Upon First Glance

• A black box with wires bringing signals in and other wires sending signals out

• Some sort of magic being done inside that somehow decides when field devices should be turned on or off

Page 13: Chapter 1 Welcome to the World of Programmable Logic Controllers

Actually There Is No Magic

• The PLC is a computer and someone has to tell it what to do.

• The PLC knows what to do through a program that was developed and entered into its memory.

• Without a set of instructions telling the PLC what to do, it is nothing more than a box full of electronic components.

Page 14: Chapter 1 Welcome to the World of Programmable Logic Controllers

What Makes a PLC Work? (1 of 4)

• The heart of any computer is the microprocessor.– The microprocessor, also called the processor

or central processing unit (CPU), supervises system control through the user program.

Page 15: Chapter 1 Welcome to the World of Programmable Logic Controllers

What Makes a PLC Work? (2 of 4)

• The processor reads input signals and follows the instructions that the programmer has stored in the PLC’s memory.

Page 16: Chapter 1 Welcome to the World of Programmable Logic Controllers

What Makes a PLC Work? (3 of 4)

• As a result of the solved program, the PLC writes information to outputs, or field-controlled devices, to turn them on or off.

• When the PLC is running and following the program’s instructions, this is called solving the user program.

• The PLC is running or in RUN MODE.

Page 17: Chapter 1 Welcome to the World of Programmable Logic Controllers

What Makes a PLC Work? (4 of 4)

• The user program (ladder program) is the list of instructions that tells the PLC what to do.

• The library of instructions available to the PLC is called the instruction set.

• The instruction set determines how much flexibility the programmer has.

Page 18: Chapter 1 Welcome to the World of Programmable Logic Controllers

Common PLC Inputs

• Pushbuttons

• Selector switches

• Limit switches and level switches

• Proximity sensors

• Photo switches

• Relay contacts

• Motor starter contacts

Page 19: Chapter 1 Welcome to the World of Programmable Logic Controllers

An Overview of a PLC System (1 of 2)

Page 20: Chapter 1 Welcome to the World of Programmable Logic Controllers

An Overview of a PLC System (2 of 2)

• Incoming signals, or inputs, interact with instructions in the user program to help the PLC determine when an input instruction is either true or false.

Page 21: Chapter 1 Welcome to the World of Programmable Logic Controllers

Conventional Circuit

Page 22: Chapter 1 Welcome to the World of Programmable Logic Controllers

Representation of a PLC Program

Page 23: Chapter 1 Welcome to the World of Programmable Logic Controllers

PLC Ladder Program Rung

Page 24: Chapter 1 Welcome to the World of Programmable Logic Controllers

Series 90-30 and 90-20 Hand-held Programmer

Image courtesy of GE Fanuc Automation

Page 25: Chapter 1 Welcome to the World of Programmable Logic Controllers

Interfacing a PC to an Omron CQM 1 PLC

Image courtesy of Omron Electronics, Inc.

Page 26: Chapter 1 Welcome to the World of Programmable Logic Controllers

Correlating Ladder Program Rung to Actual PLC Wiring

Page 27: Chapter 1 Welcome to the World of Programmable Logic Controllers

Programmable Controller Block Diagram

Page 28: Chapter 1 Welcome to the World of Programmable Logic Controllers

Product Sensed in Position Will Send an Input Signal

Page 29: Chapter 1 Welcome to the World of Programmable Logic Controllers

Allen-Bradley SLC 500 Fixed PLC

Image courtesy of Allen-Bradley, a Rockwell Automation business

Page 30: Chapter 1 Welcome to the World of Programmable Logic Controllers

Allen-Bradley SLC 500 Modular PLC

Image courtesy of Allen-Bradley, a Rockwell Automation business

Page 31: Chapter 1 Welcome to the World of Programmable Logic Controllers

SLC 500 Power Supply and a Four-slot Rack

Image courtesy of Allen-Bradley, a Rockwell Automation business

Page 32: Chapter 1 Welcome to the World of Programmable Logic Controllers

Installation of an I/O Module

Image courtesy of Allen-Bradley, a Rockwell Automation business

Page 33: Chapter 1 Welcome to the World of Programmable Logic Controllers

Allen-Bradley SLC 500 Modular Processor

Image courtesy of Allen-Bradley, a Rockwell Automation business

Page 34: Chapter 1 Welcome to the World of Programmable Logic Controllers

Limit Switch Interface

Page 35: Chapter 1 Welcome to the World of Programmable Logic Controllers

Output Module Wiring to a Motor Starter Coil