Introduction To Programmable Logic Controllers
Introduction To Programmable Logic Controllers
PROGRAMMABLE LOGIC
CONTROLLERS
Second Edition
by
Gary Dunning
Introduction to Programmable Logic Controllers, Second Edition
by Gary Dunning
COPYRIGHT 2002 by Delmar, a division of Thomson Learning, Inc. For permission to use material from this text or product,
Thomson Learning is a trademark used herein under license contact us by
Tel (800) 730-2214
Printed in the United States of America
Fax (800) 730-2215
1 2 3 4 5 XXX 05 04 02 01 00
www.thomsonrights.com
For more information contact Delmar,
Library of Congress Cataloging-in-Publication Data
3 Columbia Circle, PO Box 15015,
Dunning, Gary.
Albany, NY 12212-5015.
Introduction to programmable logic controllers /
Or find us on the World Wide Web at by Gary Dunning. 2nd ed.
http://www.delmar.com p. cm.
ALL RIGHTS RESERVED. Portions of this work 1998. Includes index.
No part of this work covered by the copyright hereon may ISBN 0-7668-1768-7 (alk. paper)
be reproduced or used in any form or by any means graphic, 1. Programmable controllers. I. Title.
electronic, or mechanical, including photocopying, recording,
taping, Web distribution or information storage and retrieval TJ223.3.3.P76 D86 2001
systems without written permission of the publisher. 629.8 9 dc21 00-047578
Publisher does not warrant or guarantee any of the products described herein or perform any independent analysis in connection with any of
the product information contained herein. Publisher does not assume, and expressly disclaims, any obligation to obtain and include information
other than that provided to it by the manufacturer.
The reader is expressly warned to consider and adopt all safety precautions that might be indicated by the activities herein and to avoid all
potential hazards. By following the instructions contained herein, the reader willingly assumes all risks in connection with such instructions.
The Publisher makes no representation or warranties of any kind, including but not limited to, the warranties of fitness for particular purpose or
merchantability, nor are any such representations implied with respect to the material set forth herein, and the publisher takes no responsibility
with respect to such material. The publisher shall not be liable for any special, consequential, or exemplary damages resulting, in whole or part,
from the readers use of, or reliance upon, this material.
TA B L E OF CON TE N TS
Preface ix
Acknowledgments xi
iii
iv TABLE OF CONTENTS
Glossary 499
Index 511
PRE FA CE
ix
x PREFACE
1 Welcome to the World of Provides an introduction to what programmable controllers are and why
Programmable Logic Controllers and where they are used.
2 Micro Programmable Logic Introduces the student to the world of the new and smaller micro and
Controllers pico PLCs.
4 Number Systems Covers the basics of numbers and number systems used with PLCs.
5 Introduction to PLC Operation Chapter five introduces the basic operating principles of the PLC.
6 Introduction to Logic Describes the basic logic functions and how they relate to programmable
controllers.
7 Input Modules Describes the basic input modules available, selecting the correct
module and basic module interface.
8 Output Modules Describes the basic output modules available, selecting the correct
module and basic module interface.
9 Putting Together a Modular PLC Introduces the basic considerations when putting together a modular
PLC. The chapter reviews power calculations for configuring rack I/O
modules and power supply selection.
10 PLC Processors Introduces the PLC processor and its capabilities, features, and basic
operation.
11 Processor Data Organization Introduces program and data organization inside a PLC processor.
12 The Basic Relay Instructions Describes the basic instructions used in developing PLC ladder programs.
13 Understanding Relay Instructions and Describes the use of relay instructions and considerations when
the Programmable Controller Input interfacing to real-world input devices.
Modules
14 Documenting Your PLC System Introduces documentation features available when using PLC ladder
program development software.
15 Timer and Counter Instructions Describes timer and counter instructions. Specifically introduces the
Allen-Bradley SLC 500 timer and counter instructions.
16 Comparison and Data-Handling Introduces data handling and comparison instructions. Specifically
Instructions covers the SLC 500 instructions.
17 Sequencer Instructions Introduces the sequencer instructions. Specifically covers the SLC 500
instructions.
I wish to thank my wife, Jean, for her endless hours of typing, proofreading, spell
checking, figure development, and art. Thanks to my son, Joe, for his art work for Fig-
ures 4-9, 4-13, 4-15, and 4-16.
Developing any major technical textbook requires a substantial amount of technical
information. We are greatly thankful to the following corporations who provided litera-
ture, manuals, and art along with the technical support necessary to complete this project.
AEG Schneider Automation/Square D-Modicon
Allen-Bradley, a Rockwell Automation business
ASAP Inc., Chagrin Falls, Ohio
GE Fanuc Automation
Mitsubishi Electric Automation, Inc.
Omron Electronics, Inc.
Siemens Energy & Automation Inc.
Along with Delmar, I would like to express appreciation to the following reviewers for
their encouragement and suggestions during the preparation of this manuscript:
xi