- •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
12-6. Safety Interlocks
When designing control systems for heavy machinery, robotics, or high voltage systems, it is imperative that personnel are prevented from coming in contact with the equipment while it is energized. However, since maintenance personnel must have access to the equipment from time to time, it is necessary to have doors, gates, and access panels to the equipment. Therefore, it is a requirement for control systems to monitor the access points to assure that they are not opened when the equipment is energized, or conversely, that the equipment cannot be energized while the access points are opened. This monitoring method is done with interlocks.
Interlock Switches
The simplest type of interlock uses a limit switch. For example, consider the door on a microwave oven. While the door is opened, the oven will not operate. Also, if the door is opened while the oven is operating, it will automatically switch off. The reason for this is that a limit switch is positioned inside on the door latch such that when the door is unlatched, the switch is opened, and power is removed from the control circuitry. The most common drawback to switch interlocks is that they are easy to defeat. Generally, a match stick, screwdriver, or any other foreign object can be jammed into the switch mechanism to force the machine to operate. Designers go to great lengths to design interlock mechanisms that cannot be defeated.
More sophisticated interlock system can be used in lieu of limit switches. These include proximity sensors, keylocks, optical sensors, magnetically operated switches, and various combinations of these. For example, consider the interlock shown in Figure 12-6.
This is a combination deadbolt and interlock switch. When the deadbolt is closed as shown on the left, a plunger and springs activate a switch which enables the machine to be operated. When the deadbolt is opened as shown on the right, the switch opens also.
12-10
Chapter 12 - System Integrity and Safety
Figure 12-6 - Deadbolt Interlock Switch
(Scientific Technologies, Inc.)
Pressure Sensitive Mat Switch
The pressure sensitive mat switch is simply a mat that will close an electrical connection when force is applied to the mat. This is illustrated in Figure 12-7. They are available in many sizes, and can be used for a wide variety of safety applications. For example, within a fenced area in which a robot operates, a mat such as this will sense when someone has stepped within the reach of the robot arm, and can disable the robot.
Another application is to place a mat in front of the operator panel of a machine. Then connect the mat such that if the contacts in the mat are not closed, the machine will not run. Keep in mind that if they are used in “deadman’s switch” applications such as this, that they can be defeated by simply sitting a heavy object on the mat.
12-11
Chapter 12 - System Integrity and Safety
Figure 12-7 - Pressure Sensitive Mat Switch
(Scientific Technologies, Inc.)
Pull Ropes
City transit buses use pull ropes on each side of the bus so that a rider can pull the rope, which switches on a buzzer notifying the driver that they wish to get off at the next stop. The technique is popular because only one switch is needed per pull rope and the rope can be of most any desired length putting it within reach over a large area. In short, it is a simple, reliable, and inexpensive mechanism. This same idea can be applied to machine controls as an emergency shutoff method. Figure 12-8 shows a pull rope interlock. The rope is securely fastened to a fixed thimble on one end and to a pull switch on the other. A turnbuckle tensioner allows for the slack to be adjusted out of the rope, and eye bolts support the rope. If necessary, the rope can even be routed round corners using pulleys. In use, the switch is N/C and connected into the controls as an additional STOP switch. When the rope is pulled by anyone, the switch contacts open and the machine stops.
12-12
Chapter 12 - System Integrity and Safety
Figure 12-8 - Pull Rope Interlock Switch
(Scientific Technologies, Inc.)
Light Curtains
When it is imperative that an operator’s hands stay out of certain areas of a machine while it is operating, one excellent way to assure this is by using a light curtain. It is basically a “spinoff” of the thru-beam optical sensor; however, instead of the beam being a single straight line, the beam is extended (by scanning) to cover a plane, and the receiver senses the scanning beam over the entire plane. Any object intersecting the light curtain plane causes the electronic circuitry in the light curtain to output a discrete signal which can be used by the control circuitry to shut down the machine. The light used in this system is infrared and pulsed. Since it is infrared, it is invisible and does not distract the machine operator. Since the light is pulsed, it is relatively immune to flourescent lights, arc welding, sunlight, and other light interference.
As shown in Figure 12-9, light curtains generally come in three parts - the transmitter wand, the receiver wand, and the power supply & logic (electronic) enclosure. The transmitter and receiver wands strictly produce and detect the infrared beams that makeup the plane of detection. They are connected by electrical cables to the electronic enclosure, which contains all the necessary circuitry to operate the wands, power the system, make logical decisions based on the interrupted beams, and provide relay outputs. This is a complete “turnkey” stand-alone system. The designer simply supplies AC line power, and connects the relay outputs to the machine controls.
12-13
Chapter 12 - System Integrity and Safety
Figure 12-9 - Light Curtain Components
(Scientific Technologies, Inc.)
If interlock coverage is needed over several planes, the transmitter and receiver wands of the light curtain can be cascaded as shown in Figure 12-10. In this case, two wands are cascaded on each end of the work area. One pair are transmitter wands and the other pair are receiver wands. One pair of vertically positioned wands provides a vertical light curtain directly in front of the operator, and a second pair of horizontally positioned wands provides a horizontal light curtain underneath the work area. By doing this the designer can realize some cost savings, since all the wands can be operated by one electronics enclosure.
12-14
Chapter 12 - System Integrity and Safety
Figure 12-10 - Cascaded Light Curtains
(Scientific Technologies, Inc.)
12-15
Chapter 12 - System Integrity and Safety
Chapter 12 Review Question and Problems
1.Select the best NEMA number for an electrical box mounted on an above ground swimming pool pump. It will be exposed to outdoor weather and an occasional splash of chlorinated (corrosive) pool water.
2.Select the best IEC IP number for an electrical box used in a textile mill. It must be dust tight and be able to withstand an occasional water hosedown by the cleaning crew.
3.Convert the IEC rating IP64 to the nearest equivalent NEMA rating.
12-16