Chap 13 PLC Installation Practices
Chap 13 PLC Installation Practices
“
Outline and describe requirements for a PLC
enclosure
Identify and describe noise reduction techniques
Describe proper grounding practices and
preventive maintenance tasks associated with
PLC systems
List and describe specific PLC troubleshooting
procedures
2
Introduction
This chapter discusses guidelines for the installation, maintenance, and
troubleshooting of a PLC-controlled system.
The chapter gives you information on proper grounding that ensures
personal safety as well as correct operation of equipment.
Unique troubleshooting procedures that apply specifically to PLCs are listed
and explained.
3
1-PLC enclosure
The design of PLCs includes a number of rugged features that allow them to be
installed in almost any industrial environment. However, problems can occur if the
system is not installed properly.
Programmable logic controllers (PLCs) require protection against temperature
extremes, humidity, dust, shock, and vibration or corrosive environments. For these
reasons, PLCs are generally mounted within a machine or in a separate enclosure as
shown in the figure.
4
PLC enclosure
○ An enclosure is the chief protection from atmospheric
conditions.
○ Based on the degree of protection of an enclosure, the
National Electrical Manufacturers Association (NEMA) has
defined enclosure types.
○ Typically, metal enclosures are used because metal
enclosures provide shielding that helps minimize the effects
of electromagnetic radiation that may be generated by
surrounding equipment.
5
Heat problem
○ Every PLC installation will dissipate heat from its power supplies, local I/O
racks, and processor. This heat accumulates in the enclosure and must
be dissipated from it into the surrounding air.
○ For many applications, normal convection cooling will keep
the controller components within the specified temperature operating
range.
○ The temperature inside the enclosure must not exceed the maximum
operating temperature of the controller (typically 60°C maximum).
Additional cooling provisions, such as a fan or blower, may be required
where high internal or ambient temperatures are encountered.
6
Master Control Relay
7
• A power disconnect switch is provided so that,
when required, the PLC can be serviced with the
power off.
• The step-down transformer provides isolation
from the main power distribution system and
decreases the voltage to the 120 V required for
the controller power supplies and DC power
supplies.
• The momentary start button is pressed to energize
the master control relay.
• Pressing any one of the emergency-stop switches
de-energizes the master control relay and thus
deenergizes the I/O devices.
• Power to the processor of the PLC remains on so
status LEDs can continue to provide up-to-date
information.
• Emergency stop buttons use normally closed contacts
wired in series for fail-safe operation. In the event a wire
is broken or comes off a terminal, the MCR relay is de-
energized and power is removed.
8
2- Electrical noise
○ Electrical noise, also called electromagnetic interference, or EMI, is
unwanted electrical signals that produce undesirable effects and otherwise
disrupt the control system circuits.
○ EMI may be either radiated or conducted.
○ Radiated noise originates from a source and travels through the air.
9
Noise reduction
The following reduce the effect of electrical interference:
• Manufacturer design features
• Proper mounting of the controller within an enclosure
• Proper equipment grounding
• Proper routing of wiring
• Proper suppression added to noise-generating devices
10
General guidelines for PLC wire routing:
12
Solution for leaky inputs/ outputs
○ A common solution to the problem of leaky current is to connect a bleeder
resistor across or in parallel with the input or output.
○ The bleeder resistor acts as an additional lower resistance load, which
allows the leakage current to flow through the lower resistance path.
Typically a 10 to 20 kΩ resistor is used to solve the problem.
13
4- Grounding
○ Proper grounding is an important safety measure in all
electrical installations. Most manufacturers provide
detailed information on the proper grounding methods to
use in an enclosure.
○ A properly installed grounding system will provide a low
impedance path to earth ground.
○ These connections should exhibit low DC resistance and
low high-frequency impedance.
○ A central ground bus bar is provided as a single point of
reference inside the enclosure to which all chassis and
power supply equipment grounding conductors are
connected. The ground bus is then connected to the
building’s earth ground.
14
Grounding
○ Ground connections should be made
with a star washer between the
grounding wire and lug and metal
enclosure surface.
○ Any protective ground wires must
have a resistance value of less than
0.1 Ω.
○ The resistance from the system
ground to the earth ground must
have a value of less than 0.1 Ω
15
Ground loops
○ Ground loops can cause problems by adding or
subtracting current or voltage from input signal
devices.
○ A ground loop circuit can develop when each
device’s ground is tied to a different earth
potential thereby allowing current to flow between
the grounds.
○ If a varying magnetic field passes through one of
these ground loops, a voltage is produced and
current flows in the loop.
○ For this reason, in shielded cables, each shield
should be grounded at one end only, as a shield
grounded at both ends forms a ground loop. 16
5-Voltage Variations and Surges
○ If voltage fluctuations exceed the range that the PLC power supply is
designed to sustain, then a system shutdown will occur.
○ In areas where excessive line voltage variation or extended brownouts are
anticipated, installing a constant voltage (CV) transformer may be required to
minimize nuisance shutdowns of the PLC.
○ A normal practice is to place the PLC power supply and I/O devices on a
separate transformer that may also serve as a step-down transformer to
reduce the incoming voltage to the desired level.
17
Voltage Variations and Surges
○ An additional external suppression device is recommended if an output module is used
to control devices such as relays, solenoids, motor starters, or motors.
○ The suppression device is wired in parallel (directly across) and as close as possible to
the load device. The suppression components must be rated appropriately to suppress
the switching transient characteristic of the particular inductive device.
18
MOV- Surge protection device
○ The metal oxide varistor (MOV) surge
suppressor, is the most popular surge protection
device. It functions in a manner similar to two
Zener diodes connected back-to-back. The
operation of an MOV can be summarized as
follows:
• The device acts as an open circuit until the
voltage across it in either direction exceeds its
rated value.
• Any greater voltage peak instantly makes the
device act like a short circuit that bypasses this
voltage away from the rest of the circuit.
19
6- Program Editing and commissioning
○ Editing is simply the ability to make changes to an existing program
through a variety of editing functions. Using the editing function, instructions
and rungs can be added or deleted; addresses, data, and bits can be
changed. Again, the editing format varies with different manufacturers and
PLC models.
○ Commissioning is preparing a control process for start-up. It involves a
series of tests to ensure that the PLC, the ladder logic program, the I/O
devices, and all associated wiring operate according to specifications.
So before commissioning any control system, you should have a good
understanding of how the control system operates and how the various
components interact.
20
General steps to be followed when commissioning
a PLC system:
○ Before applying power to the PLC or the input devices, disconnect or isolate any
output device that could potentially cause damage or injury.
○ Apply power to the PLC and input devices. Measure the voltage to verify that
rated voltage is being applied.
○ Examine the PLC’s status indicator lights. If power is properly applied, the
power indicator should be on, and there should be no fault indication.
○ Verify that you have communication with the PLC via the programming device
that is running the PLC programming software.
○ Place the PLC in a mode that prevents it from energizing its output circuits.
Depending on the make of the PLC, this mode may be called disable,
continuous test, or single-scan mode. This mode will allow you to monitor input
devices, execute the program, and update the output image file while
keeping the output circuits de-energized. 21
General steps to be followed when
commissioning a PLC system:
○ Manually test each output. One way you can do this is by applying power
to the terminal where the output device is wired. This test will check the
output field device and its associated wiring.
○ After verifying all inputs, outputs, and program addresses, verify all preset
values for counters, timers, and so on.
○ Reconnect any output devices that may have been disconnected and
place the PLC in the run mode.
○ Test the operation of all emergency stop buttons and the total system
operation.
22
7- Programming and Monitoring
There is two types of programming:
offline programming, which involves writing and storing the program in
the personal computer without its being connected to the PLC and later
downloading it to the PLC.
online programming the program can be modified, the modifications can
be tested, and finally they can be accepted or rejected while the PLC is
running.
○ However, offline programming is the safest manner in which to edit a
program because additions, changes, and deletions do not affect the
operation of the system until downloaded to the PLC.
○ An online programming mode permits the user to change the program
during machine operation. Any modification made is executed immediately
on entry of the instruction. Therefore, the user should assess in advance
all possible sequences of machine operation that will result from the
change. 23
Monitoring
Two useful monitoring tools provided with PLC programming packages
are data monitor and cross reference:
○ Data monitoring functions allow you to monitor and/or modify
specified program variables.
○ cross reference function allows you to search each instance of a
particular address
24
Cross reference
○ When troubleshooting a PLC, it may be
necessary to locate each instance of a
particular address in the ladder
program. The cross reference function
searches all program files to locate
each instance of the selected address.
○ The contact histogram function allows
you to view the transition history (the
on and off states) of a data table value.
25
8-Preventive Maintenance
26
8-Preventive Maintenance
○ Connections to the I/O modules should be checked for
tightness. Loose connections may result not only in improper
function of the controller but also in damage to the components
of the system.
○ All field I/O devices should be inspected to ensure that they are
adjusted properly.
○ Care should be taken to ensure that heavy noise- or heat-
generating equipment is not moved too close to the PLC.
○ Check the condition of the battery that backs up the
RAM memory in the CPU.
NB: To avoid injury to personnel and to prevent equipment damage,
connections should always be checked with power removed from
the system.
27
9- Troubleshooting
○ In the event of a PLC fault, you should employ a careful and systematic
approach to troubleshoot the system to resolve the problem.
○ If a control system has been operating, you can be fairly confident of the
accuracy of the program logic. For a system that has never worked or is
just being commissioned, programming errors should be considered.
○ When a problem occurs, the first step in the troubleshooting procedure is
to identify the problem and its source. The source of a problem can
generally be narrowed down to the processor module, I/O hardware,
wiring, machine inputs or outputs, or ladder logic program.
28
Troubleshooting-Processor Module
○ Most PLCs incorporate a watchdog timer to monitor the scan process of the
system. The watchdog timer circuit monitors how long it takes the
CPU to complete a scan. If the CPU scan takes too long, a watchdog major
error will be declared. 30
Malfunctions:
○ If the controller is operating in the RUN mode but output devices do
not operate as programmed, the faults could be associated with any
of the following:
• Input and output wiring between field devices and modules
• Field device or module power supplies
• Input sensing devices
• Output actuators
• PLC I/O modules
31
Example of input malfunction
○ When input hardware is suspected to be the source
of a problem, the first check is to see if the status
indicator on the input module illuminates when it is
receiving power from its corresponding input device
(e.g., pushbutton, limit switch).
○ If the status indicator on the input module does not
illuminate when the input device is on, take a voltage
measurement across the input terminal to check for
the proper voltage level.
○ If the voltage level is correct, then the input module
should be replaced.
○ If the voltage level is not correct, power supply,
wiring, or input device may be faulty.
32
typical input device troubleshooting guide
33
Output Malfunctions
○ Electronic protection, is used to provide
protection for the modules from short-
circuit and overload current conditions.
○ In the event of a short-circuit or overload
current condition on an output channel,
that channel will limit current within
milliseconds after its thermal cut-out
temperature has been reached.
○ All other channels continue to operate as
directed by the processor.
34
Typical discrete output module troubleshooting
guide:
35
Ladder Logic Program
36
Suspend instruction
○ The suspend (SUS) instruction, is used
to trap and identify specific conditions for
program debugging and system
troubleshooting.
○ When an instruction does not seem to
be working correctly, the problem may
be an addressing conflict caused
by the same address being used for two
or more coil instructions in the same
program. As a result, multiple rung
conditions can control the same output
coil, making troubleshooting more
difficult.
37
○ Questions?
38