- •Table of Contents
- •Preface
- •Chapter 1 - Ladder Diagram Fundamentals
- •1-1. Objectives
- •1-2. Introduction
- •1-3. Basic Components and Their Symbols
- •1-4. Fundamentals of Ladder Diagrams
- •1-5. Machine Control Terminology
- •1-6. Summary
- •Chapter 2 - The Programmable Logic Controller
- •2-1. Objectives
- •2-2. Introduction
- •2-4. PLC Configurations
- •2-5. System Block Diagram
- •2-6. ... - Update - Solve the Ladder - Update - ...
- •2-7. Update
- •2-8. Solve the Ladder
- •2-9. Summary
- •Chapter 3 - Fundamental PLC Programming
- •3-1. Objectives
- •3-2. Introduction
- •3-3. Physical Components vs. Program Components
- •3-4. Example Problem 1
- •3-5. Disagreement Circuit
- •3-6. Majority Circuit
- •3-7. Oscillator
- •3-8. Holding (also called Sealed, or Latched) Contacts
- •3-9. Always-ON and Always-OFF Contacts
- •3-10. Ladder Diagrams Having More Than One Rung
- •Chapter 4 - Advanced Programming Techniques
- •4-1. Objectives
- •4-2. Introduction
- •4-3. Ladder Program Execution Sequence
- •4-5. RS Flip Flop
- •4-6. One Shot
- •4-8. T Flip Flop
- •4-9. J-K Flip Flop
- •4-10. Counters
- •4-11. Sequencers
- •4-12. Timers
- •Chapter 5 - Mnemonic Programming Code
- •5-1. Objectives
- •5-2. Introduction
- •5-3. AND Ladder Rung
- •5-4. Handling Normally Closed Contacts
- •5-5. OR Ladder Rung
- •5-6. Simple Branches
- •5-7. Complex Branches
- •Chapter 6 - Wiring Techniques
- •6-1. Objectives
- •6-2. Introduction
- •6-3. PLC Power Connection
- •6-4. Input Wiring
- •6-5. Inputs Having a Single Common
- •6-6. Output Wiring
- •6-7. Relay Outputs
- •6-8. Solid State Outputs
- •Chapter 7 - Analog I/O
- •7-1. Objectives
- •7-2. Introduction
- •7-3. Analog (A/D) Input
- •7-4. Analog (D/A) Output
- •7-5. Analog Data Handling
- •7-6. Analog I/O Potential Problems
- •Chapter 8 - Discrete Position Sensors
- •8-1. Objectives
- •8-2. Introduction
- •8-3. Sensor Output Classification
- •8-4. Connecting Discrete Sensors to PLC Inputs
- •8-5. Proximity Sensors
- •8-6. Optical Proximity Sensors
- •Chapter 9 - Encoders, Transducers, and Advanced Sensors
- •9-1. Objectives
- •9-2. Introduction
- •9-3. Temperature
- •9-4. Liquid Level
- •9-5. Force
- •9-6. Pressure/Vacuum
- •9-7. Flow
- •9-8. Inclination
- •9-9. Acceleration
- •9-10. Angle Position Sensors
- •9-11. Linear Displacement
- •Chapter 10 - Closed Loop and PID Control
- •10-1. Objectives
- •10-2. Introduction
- •10-3. Simple Closed Loop Systems
- •10-4. Problems with Simple Closed-Loop Systems
- •10-5. Closed Loop Systems Using Proportional, Integral, Derivative (PID)
- •10-6. Derivative Function
- •10-7. Integral Function
- •10-8. The PID in Programmable Logic Controllers
- •10-9. Tuning the PID
- •10-10. The “Adjust and Observe” Tuning Method
- •10-11. The Ziegler-Nichols Tuning Method
- •Chapter 11 - Motor Controls
- •11-1. Objectives
- •11-2. Introduction
- •11-3. AC Motor Starter
- •11-4. AC Motor Overload Protection
- •11-5. Specifying a Motor Starter
- •11-5. DC Motor Controller
- •11-6. Variable Speed (Variable Frequency) AC Motor Drive
- •11-7. Summary
- •Chapter 12 - System Integrity and Safety
- •12-1. Objectives
- •12-2. Introduction
- •12-3. System Integrity
- •12-4. Equipment Temperature Considerations
- •12-5. Fail Safe Wiring and Programming
- •12-6. Safety Interlocks
Chapter 12 - System Integrity and Safety
Chapter 12 - System Integrity and Safety
12-1. Objectives
Upon completion of this chapter, you will know ” how to
”
”
”
”.
”.
”.
12-2. Introduction
In addition to being able to design and program an efficient working control system, it is important for the system designer to be well aware of other non-electrical and nonsoftware related issues. These are issues that can cause the best and most clever designs to fail prematurely, work intermittently, or worse, to be a safety hazard. In this chapter, we will investigate some of the tools and procedures available to the designer so that the system will work well, work safely, and work with minimal down-time.
12-3. System Integrity
It is obvious that we would never consider exposing a twisted copper wire connection to the outdoor weather. Surely, the weather would eventually tarnish and corrode the connection, and the connection would either become intermittent or fail altogether. But what if the connection were outdoors, but under a roof - say a carport? Would a bare twisted wire connection be acceptable? And what if the same type of connection were used in a ceiling light fixture for an indoor swimming pool? Surely the chlorine used to purify the pool water will have some adverse affect on the twisted copper wires.
In general, how does a system designer know how to ward off environmental effects so that they will not cause premature failure of the system? One solution is to put all of the electrical equipment inside an enclosure, or electrical box. But how do we know how well the electrical box will ward off the same environmental effects. Can we be sure it will not leak in a driving rainstorm? The answer lies in guidelines set forth by the National Electrical
Manufacturers Association (NEMA), and the International Electrotechnical Commission
(IEC) regarding electrical enclosures. NEMA is a United States based association, while
12-1
Chapter 12 - System Integrity and Safety
IEC is European Based. Both have set forth similar standards by which manufacturers rate their products based on how impervious they are to environmental conditions. NEMA assigns a NEMA number to each classification, while IEC assigns an IP (Index of Protection) number. It is possible, to some extent, to be able to cross reference NEMA and
IEC classes; however, there is not an exact one-to-one relationship between the two.
NEMA and IEC ratings are based mostly on the enclosure’s ability to protect the equipment inside from accidental body contact, dust, splashing water, direct hosedown, rain, sleet, ice, oil, coolant, and corrosive agents. Since the designer knows the environment in which the equipment is to be used, it is relatively simple to lookup the required protection in a NEMA or IEC table and then specify the appropriate NEMA or IP number when purchasing the equipment. Generally speaking, the NEMA and IP numbers are assigned so that the lower numbers provide the least protection while the highest numbers provide the best protection. Because of this, the cost of a NEMA or IEC rated enclosure is usually directly proportional to the NEMA or IP number.
Consider the NEMA enclosure rating table below. If for example, we needed an enclosure to protect equipment from usual outdoor weather conditions, then a NEMA 3 or
NEMA 4 enclosure would be acceptable. However, if the enclosure were near the ocean or a swimming pool where it would be exposed to corrosive salt water or chlorinated water splash, then a NEMA 4X would be a better choice. In a similar manner, we can conclude that underwater equipment must be NEMA 6P rated, and that an enclosure that is to be mounted on a hydraulic pump should be NEMA 12 or NEMA 13.
12-2
Chapter 12 - System Integrity and Safety
NEMA Enclosure Ratings
|
|
|
|
|
|
|
|
|
|
|
NEMA # |
1 |
2 |
3 |
3S |
4 |
4X |
6 |
6P |
12 |
13 |
|
|
|
|
|
|
|
|
|
|
|
Suggested Usage (I=Indoor, O=Outdoor) |
I |
I |
O |
O |
I/O |
I/O |
I/O |
I/O |
I |
I |
Accidental Body Contact |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
|
|
|
|
|
|
|
|
|
|
|
Falling Dirt |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
|
|
|
|
|
|
|
|
|
|
|
Dust, Lint, Fibers (non volatile) |
|
|
X |
X |
X |
X |
X |
X |
X |
X |
|
|
|
|
|
|
|
|
|
|
|
Windblown Dust |
|
|
X |
X |
X |
X |
X |
X |
|
|
|
|
|
|
|
|
|
|
|
|
|
Falling Liquid, Light Splash |
|
X |
X |
X |
X |
X |
X |
X |
X |
X |
|
|
|
|
|
|
|
|
|
|
|
Hosedown, Heavy Splash |
|
|
|
|
X |
X |
X |
X |
|
|
|
|
|
|
|
|
|
|
|
|
|
Rain, Snow, Sleet |
|
|
X |
X |
X |
X |
X |
X |
|
|
|
|
|
|
|
|
|
|
|
|
|
Ice Buildup |
|
|
|
X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Oil or Coolant Seepage |
|
|
|
|
|
|
|
|
X |
X |
|
|
|
|
|
|
|
|
|
|
|
Oil or Coolant Spray or Wash |
|
|
|
|
|
|
|
|
|
X |
|
|
|
|
|
|
|
|
|
|
|
Occasional Submersion |
|
|
|
|
|
|
X |
X |
|
|
|
|
|
|
|
|
|
|
|
|
|
Prolonged Submersion |
|
|
|
|
|
|
|
X |
|
|
|
|
|
|
|
|
|
|
|
|
|
Corrosive Agents |
|
|
|
|
|
X |
|
X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It would seem logical to simply use NEMA 6P for everything (except oil and coolant exposure). However, the very high cost of NEMA 6P enclosures prohibits their use in nonsubmerged applications. Therefore, because of cost constraints, it is also important to avoid overspecifying a NEMA enclosure.
IEC enclosure numbers address environmental issues as does NEMA. However, the IEC numbers also address safety issues. In particular, they specify the amount of personal protection the enclosure offers in keeping out intrusion by foreign bodies, such as hands, fingers, tools, and screws. IP numbers are always two-digit numbers. The leftmost
(tens) digit specifies the protection against intrusion by foreign bodies while the rightmost (units) digit specifies the environmental protection provided by the enclosure. The IEC IP number ratings are shown in the table below.
12-3
Chapter 12 - System Integrity and Safety
IEC IP Enclosure Ratings
|
|
No Pro- |
Vert. |
Inclined |
Spray |
Splash |
Hose |
Flood- |
Drip- |
|
|
tection |
Water |
Water |
Water |
Water |
|
ing |
ping |
|
|
|
|
|
|
|
|
|
|
|
|
IP_0 |
IP_1 |
IP_2 |
IP_3 |
IP_4 |
IP_5 |
IP_6 |
IP_7 |
|
|
|
|
|
|
|
|
|
|
No Protection |
IP0_ |
X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Foreign Obj. |
|
X |
X |
X |
|
|
|
|
|
50mm max |
IP1_ |
|
|
|
|
|
|||
(hand) |
|
|
|
|
|
|
|
|
|
Foreign Obj. |
|
X |
X |
X |
X |
|
|
|
|
12.5mm max |
IP2_ |
|
|
|
|
||||
(finger) |
|
|
|
|
|
|
|
|
|
Foreign Obj. |
|
X |
X |
X |
X |
X |
|
|
|
2.5mm max |
IP3_ |
|
|
|
|||||
(tools) |
|
|
|
|
|
|
|
|
|
Foreign Obj. |
|
X |
X |
X |
X |
X |
|
|
|
1mm max |
IP4_ |
|
|
|
|||||
(screws, nails) |
|
|
|
|
|
|
|
|
|
Dust |
|
X |
X |
X |
X |
X |
X |
X |
|
Protected |
IP5_ |
|
|||||||
|
|
|
|
|
|
|
|
|
|
Dust Tight |
IP6_ |
X |
X |
X |
X |
X |
X |
X |
X |
|
|
|
|
|
|
|
|
|
|
There is also a rating of IPx8 which is waterproof. There is no tens digit on this rating because since it is waterproof, is it also naturally impervious to any and all foreign objects. Also, since there is only one column 7 rating (which is IP67), it is referred to as either IP67 or IPx7. In the IP_2 column, “inclined water” refers to rain or drip up to 15 degree from vertical, and in the IP_3 column, spray water can be up to 60 degrees from vertical.
As some examples of how to use the IEC table, assume we wish to have an enclosure that will keep out rain (inclined water) and not allow tools to be pushed into any openings. Locating those items in the columns and rows, we find that an IP32 enclosure is needed. Additionally, an enclosure that will keep out hands and offers no environmental protection is an IP10 enclosure. Most consumer electronics products (stereos, televisions, VCRs, etc.) are IP40.
12-4