Designing software for
control systems is difficult. Experienced controls engineers have learned many techniques that allow them to solve problems. This book was written to present methods for
designing controls software using Programmable Logic Controllers (
PLCs). It is my personal hope that by employing the knowledge in the book that you will be able to quickly write controls programs that work as expected (and avoid having to learn by costly mistakes.) This book has been designed for students with some knowledge of technology, including limited electricity, who wish to learn the discipline of practical control system design on commonly used hardware. To this end the book will use the
Allen Bradley ControlLogix processors to allow depth. Although the chapters will focus on specific hardware, the techniques are portable to other PLCs. Whenever possible the
IEC 61131 programming standards will be used to help in the use of other PLCs. In some cases the material will build upon the content found in a linear controls course. But, a heavy emphasis is placed on discrete control systems. Figure 1.1 crudely shows some of the basic categories of control system problems. Logical and sequential control is preferred for system design. These systems are more stable, and often lower cost. Most continuous systems can be controlled logically. But, some times we will encounter a system that must be controlled continuously. When this occurs the control system design becomes more demanding. When improperly controlled, continuous systems may be unstable and become dangerous. When a system is well behaved we say it is self regulating. These systems don’t need to be closely monitored, and we use open loop control. An
open loop controller will set a desired position for a system, but no sensors are used to verify the position. When a loop. A cruise control in a car is an excellent example. This will monitor the actual speed of a car, and adjust the speed to meet a set target speed.