| Preface |
|
ix | |
| Acknowledgments |
|
xi | |
|
Part I Introduction to PLCs |
|
|
|
Welcome to the World of Programmable Logic Controllers |
|
|
3 | (28) |
|
|
|
4 | (1) |
|
Where Did the PLC Come From? |
|
|
5 | (1) |
|
|
|
6 | (2) |
|
|
|
8 | (1) |
|
How Do PLCs Know What They Are Supposed to Do? |
|
|
8 | (1) |
|
How Do Instructions Get Into the PLC's Memory? |
|
|
9 | (2) |
|
Innovations Incorporated Into the Programmable Controller |
|
|
11 | (6) |
|
Introduction to Fixed and Modular PLC Hardware |
|
|
17 | (7) |
|
The Central Processing Unit |
|
|
24 | (7) |
|
Micro Programmable Logic Controllers |
|
|
31 | (28) |
|
Overview of Selected Micro PLCs |
|
|
33 | (1) |
|
GE Fanuc Automation Versamax Controllers |
|
|
33 | (3) |
|
GE Fanuc Automation Series 90 Micro PLC |
|
|
36 | (4) |
|
The Mitsubishi FX2N Super Micro |
|
|
40 | (4) |
|
Omron's CPM1A Series Micro PLCs |
|
|
44 | (2) |
|
Rockwell Automation's MicroLogix 1000 Microcontroller |
|
|
46 | (1) |
|
Rockwell Automation's MicroLogix 1500 Microcontroller |
|
|
47 | (5) |
|
Siemens Simatic S7-200 Micro PLC |
|
|
52 | (7) |
|
Programming a Programmable Controller |
|
|
59 | (42) |
|
Handheld Programming Terminals |
|
|
60 | (5) |
|
Desktop Personal Computers (PCs) and PLC Programming |
|
|
65 | (5) |
|
Notebook Personal Computers and PLC Programming |
|
|
70 | (3) |
|
Windows CE-Based Handheld Personal Computers |
|
|
73 | (1) |
|
|
|
74 | (6) |
|
|
|
80 | (1) |
|
|
|
80 | (1) |
|
The IEC 1131-3 Programming Standard |
|
|
81 | (13) |
|
Soft PLC or Open-Architecture Control |
|
|
94 | (1) |
|
One Step Further: Production Data from PLC to Office Databases |
|
|
95 | (6) |
|
|
|
101 | (28) |
|
Number System Characteristics |
|
|
102 | (1) |
|
The Decimal Number System |
|
|
103 | (1) |
|
|
|
104 | (1) |
|
Binary and Binary-Coded Decimal Numbers |
|
|
105 | (11) |
|
|
|
116 | (2) |
|
|
|
118 | (1) |
|
Octal-to-Decimal Conversion |
|
|
118 | (1) |
|
Binary-to-Octal Conversion |
|
|
118 | (2) |
|
Octal-to-Binary Conversion |
|
|
120 | (1) |
|
The Hexadecimal Number System |
|
|
121 | (8) |
|
Introduction to Digital and Analog PLC Interface |
|
|
129 | (40) |
|
|
|
131 | (1) |
|
Binary Data Representation |
|
|
132 | (2) |
|
Correlation of 16-Bit Words to Input Signals |
|
|
134 | (3) |
|
|
|
137 | (1) |
|
|
|
138 | (3) |
|
Input and Output Status Files and Fixed PLCs |
|
|
141 | (3) |
|
Sixteen-Point I/O Modules with Decimal Addressing |
|
|
144 | (2) |
|
I/O Interaction with the Input and Output Status Files |
|
|
146 | (3) |
|
Fixed PLC I/O Addressing When I/O Is Expanded |
|
|
149 | (1) |
|
Thirty-Two-Bit ControlLogix PLC |
|
|
150 | (1) |
|
Analog I/O Interface to the PLC |
|
|
151 | (10) |
|
The ControlLogix PLC and Analog |
|
|
161 | (8) |
|
|
|
169 | (30) |
|
Conventional Ladders Versus PLC Ladder Logic |
|
|
170 | (2) |
|
|
|
172 | (1) |
|
Overview of Logic Functions |
|
|
173 | (1) |
|
Series---The AND Logic Function |
|
|
174 | (3) |
|
|
|
177 | (1) |
|
Function Block Diagram AND Logic |
|
|
178 | (2) |
|
Parallel Circuits---The OR Logic Function |
|
|
180 | (3) |
|
|
|
183 | (1) |
|
|
|
184 | (1) |
|
|
|
184 | (1) |
|
|
|
185 | (2) |
|
|
|
187 | (1) |
|
Analysis of Exclusive OR Logic |
|
|
188 | (1) |
|
|
|
189 | (1) |
|
Priority of Logic Elements |
|
|
190 | (3) |
|
Function Block Order of Execution |
|
|
193 | (6) |
|
|
|
199 | (38) |
|
|
|
200 | (2) |
|
|
|
202 | (1) |
|
|
|
202 | (3) |
|
AC Input Module Specifications |
|
|
205 | (6) |
|
|
|
211 | (1) |
|
|
|
212 | (4) |
|
DC Input Module Operation |
|
|
216 | (1) |
|
DC Sinking Input Module Specifications |
|
|
217 | (3) |
|
Solid-State Sensor Interface to DC Input Modules |
|
|
220 | (2) |
|
A Final Note on Sinking and Sourcing |
|
|
222 | (1) |
|
|
|
222 | (9) |
|
|
|
231 | (6) |
|
|
|
237 | (26) |
|
|
|
238 | (5) |
|
Transistor-Transistor Logic (TTL) Output Modules |
|
|
243 | (1) |
|
|
|
243 | (5) |
|
Module Selection Considerations |
|
|
248 | (1) |
|
Choosing the Proper Output Module |
|
|
249 | (1) |
|
|
|
250 | (1) |
|
|
|
251 | (1) |
|
Surge Suppression and Output Modules |
|
|
251 | (2) |
|
High-Density I/O Interface |
|
|
253 | (1) |
|
|
|
253 | (2) |
|
Emergency-Stop Switches and PLC Applications |
|
|
255 | (2) |
|
I/O Modules in Hazardous Locations |
|
|
257 | (1) |
|
Hardware Considerations Before Installing PLCs in Class I, Division 2, Areas |
|
|
258 | (5) |
|
Putting Together a Modular PLC |
|
|
263 | (36) |
|
Racks, Chassis, or Baseplates |
|
|
264 | (6) |
|
|
|
270 | (1) |
|
|
|
270 | (1) |
|
|
|
271 | (2) |
|
|
|
273 | (1) |
|
Selection and Placement of I/O Modules |
|
|
273 | (2) |
|
|
|
275 | (11) |
|
|
|
286 | (6) |
|
Rockwell Automation ControlLogix Family of PLCs |
|
|
292 | (7) |
|
|
|
299 | (54) |
|
|
|
300 | (1) |
|
The Processor's Operating System |
|
|
300 | (3) |
|
|
|
303 | (2) |
|
Omron CQM1 Operating Cycle |
|
|
305 | (2) |
|
|
|
307 | (2) |
|
|
|
309 | (2) |
|
The RS-232C Communication Standard |
|
|
311 | (1) |
|
Serial Communication Between a Personal or Industrial Computer and the PLC |
|
|
312 | (5) |
|
Processor-Operating Modes |
|
|
317 | (3) |
|
|
|
320 | (1) |
|
Battery Backup for the Processor's Volatile Memory |
|
|
320 | (2) |
|
Lithium Battery Handling and Disposal |
|
|
322 | (1) |
|
Nonvolatile Memory: EEPROM |
|
|
323 | (3) |
|
|
|
326 | (2) |
|
The Allen-Bradley SLC 500 Modular Processors |
|
|
328 | (7) |
|
Rockwell Automation's Logix 5550 Controller |
|
|
335 | (1) |
|
The General Electric Series 90-30 Processors |
|
|
336 | (10) |
|
Choosing the Correct Processor for an Application |
|
|
346 | (7) |
|
Introduction to ControlNet and DeviceNet |
|
|
353 | (50) |
|
|
|
354 | (1) |
|
ControlNet Network Applications |
|
|
354 | (4) |
|
ControlLogix ControlNet Interface Module |
|
|
358 | (2) |
|
Desktop or Industrial Computer Interface Card |
|
|
360 | (2) |
|
|
|
362 | (1) |
|
|
|
363 | (3) |
|
ControlNet and Scheduled and Unscheduled Communications |
|
|
366 | (3) |
|
|
|
369 | (1) |
|
|
|
369 | (1) |
|
|
|
370 | (2) |
|
|
|
372 | (1) |
|
|
|
372 | (1) |
|
Introduction to the DeviceNet Network |
|
|
373 | (4) |
|
|
|
377 | (1) |
|
Maximum Trunk Line Distance |
|
|
377 | (3) |
|
Cumulative Drop Line Length |
|
|
380 | (1) |
|
|
|
381 | (1) |
|
|
|
381 | (2) |
|
RSNetWorx for DeviceNet Software |
|
|
383 | (7) |
|
|
|
390 | (13) |
|
|
|
|
Processor Data Organization |
|
|
403 | (24) |
|
|
|
404 | (2) |
|
|
|
406 | (13) |
|
|
|
419 | (8) |
|
The Basic Relay Instructions |
|
|
427 | (20) |
|
Bit, or Relay, Instructions |
|
|
428 | (1) |
|
The Normally Open Instruction |
|
|
428 | (1) |
|
|
|
429 | (1) |
|
Modular SLC 500 Instruction Addressing |
|
|
430 | (2) |
|
The Normally Closed Instruction |
|
|
432 | (2) |
|
|
|
434 | (3) |
|
The Output-Latching Instruction |
|
|
437 | (2) |
|
The Negated Output Instruction |
|
|
439 | (1) |
|
Internal Bit-Type Instructions |
|
|
439 | (8) |
|
Understanding Relay Instructions and the Programmable Controller Input Modules |
|
|
447 | (20) |
|
Interfacing a Start-Stop Push-Button Station to a Programmable Controller |
|
|
451 | (3) |
|
User Program Development for a Start-Stop Push-Button Interface |
|
|
454 | (7) |
|
Motor Starter Circuits and the Overload Contacts |
|
|
461 | (1) |
|
Special Considerations for PLC Control of Motor Starters |
|
|
462 | (5) |
|
Documenting Your PLC System |
|
|
467 | (24) |
|
Why Add Documentation to Your User Program? |
|
|
468 | (1) |
|
Information to Include in PLC Documentation |
|
|
468 | (4) |
|
Documentation and Software Packages |
|
|
472 | (1) |
|
|
|
472 | (9) |
|
Adding Documentation When Developing a New Application |
|
|
481 | (10) |
|
Timer and Counter Instructions |
|
|
491 | (28) |
|
|
|
492 | (1) |
|
|
|
492 | (4) |
|
The On-Delay Timer Instruction |
|
|
496 | (2) |
|
The Off-Delay Timer Instruction |
|
|
498 | (2) |
|
The Retentive Timer Instruction |
|
|
500 | (1) |
|
|
|
501 | (1) |
|
|
|
502 | (1) |
|
|
|
503 | (3) |
|
|
|
506 | (1) |
|
|
|
507 | (1) |
|
The Count-Down Instruction |
|
|
508 | (2) |
|
The High-Speed Counter Instruction |
|
|
510 | (1) |
|
The Counter Reset Instruction |
|
|
511 | (1) |
|
|
|
511 | (1) |
|
Combining Timers and Counters |
|
|
511 | (8) |
|
Comparison and Data-Handling Instructions |
|
|
519 | (34) |
|
|
|
520 | (4) |
|
Data-Handling Instructions |
|
|
524 | (13) |
|
|
|
537 | (16) |
|
|
|
553 | (18) |
|
|
|
554 | (1) |
|
|
|
554 | (1) |
|
The SLC 500 Sequencer Output Instruction |
|
|
555 | (6) |
|
Programming the Sequencer Output Instruction |
|
|
561 | (1) |
|
Multiple Sequencers and File Designation |
|
|
562 | (1) |
|
Applying Hexadecimal Numbers and Masks with SLC 500 Programming Instructions |
|
|
563 | (8) |
|
Program Flow Instructions |
|
|
571 | (24) |
|
|
|
574 | (1) |
|
|
|
574 | (10) |
|
Jump to Label Instruction |
|
|
584 | (2) |
|
Immediate Input with Mask (IIM) Instruction |
|
|
586 | (2) |
|
|
|
588 | (2) |
|
Master Control Reset (MCR) Instruction |
|
|
590 | (5) |
| Appendix A Instruction Set Reference |
|
595 | (6) |
| Appendix B SLC 500 Status File Overview |
|
601 | (4) |
| Appendix C Applying Hexadecimal Numbers in PLC Masking Applications |
|
605 | (4) |
| Glossary |
|
609 | (8) |
| Index |
|
617 | |