4. 8 Good Design Practices for PLC Systems-1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

9/16/21, 5:58 PM 8 good design practices for PLC systems

MENU

Home / Plant Services Articles / 2021 Plant Services Articles / 8 good design practices for PLC systems

Industrial Automation / Control Systems

8 good design practices for PLC systems


Proper PLC design will extend its service life and improve operational efficiency.

By Jim Davis, Motion


Jun 18, 2021

PLCs (programmable logic controllers) are found everywhere in industry today. Proper PLC system
design can provide many years of service for a machine or process and greatly improve efficiency
and profitability for the owner.

Why do we use a PLC? PLCs can be “relay replacers,” providing logic, timing, and counting
capabilities that would be difficult to do with discrete components (see Figure 1). PLCs can perform
math functions, making calculations based on external signals and/or HMI (human-machine interface)
input. A good example of PLC use is with VFDs (variable frequency drives). PLCs can now be

https://www.plantservices.com/articles/2021/8-good-design-practices-for-plc-systems/?utm_source=bc&utm_medium=recforyou&utm_campaign=bott… 1/10
9/16/21, 5:58 PM 8 good design practices for PLC systems

networked to many VFDs via Ethernet/IP or other fieldbus type communications protocols. By using
the communications protocol, a great deal of wiring can be eliminated.

Before we apply a PLC to a machine or process, let’s look at some design and maintenance practices
that are critical to a successful implementation.

Figure 1. PLCs provide logic, timing, and counting capabilities that would be difficult to do with discrete
components. (Source: Motion)

Safety

Before we embark on a PLC application to a machine or process, a safety review must be performed.
The first step is a hazard and operability analysis (HAZOP) of the machine/process. Once the HAZOP
is completed, safety devices are applied to eliminate or reduce the hazard. Safety issues can include

https://www.plantservices.com/articles/2021/8-good-design-practices-for-plc-systems/?utm_source=bc&utm_medium=recforyou&utm_campaign=bott… 2/10
9/16/21, 5:58 PM 8 good design practices for PLC systems

guarding, light curtains, operator safety, protection from falling hazards, electrical shock, or thermal
issues (burns, open flames).

Some manufacturers offer safety PLCs, which have special safety-related functions integral to the
device. It is recommended to use safety relays for emergency stop circuits, light curtains, safety mats,
guarding devices, and interlocking switches. Safety relays use a dual-channel approach and provide
higher levels of safety. They cannot be easily defeated.

Safety functions can be quite involved, and many firms will perform a safety audit for you.

https://www.plantservices.com/articles/2021/8-good-design-practices-for-plc-systems/?utm_source=bc&utm_medium=recforyou&utm_campaign=bott… 3/10
9/16/21, 5:58 PM 8 good design practices for PLC systems

Grounding

Grounding is a huge topic, but some basics must be heeded. Poor grounding has caused many
problems in industrial control systems. Every good panel design should have a single point to attach
the system ground. It is typical practice to use a ground lug and/or a ground bar. Scrape the paint off
the subpanel where you are attaching the ground lug and ground bar. Make sure that all devices are
grounded per the manufacturer’s recommendations.

Environmental concerns (heat / cold / surges)

PLCs must be protected from heat, extreme cold, and electrical surges. Make sure you read the
specifications for the PLC and associated modules. Cooling devices such as fans, air conditioners,
coolers, and pneumatic coolers can be applied to keep the enclosure interior at a desired
temperature. For outdoor or cold environments, consider having panel heaters installed. Make sure
that cooling or heating devices have thermostats to prevent runaway conditions and to save energy.

It is recommended to use surge suppression devices to protect against external surges such as
lightning and utility switching disturbances as well as internal surges caused by the plant’s electrical
equipment.

Electrical design strategy

First, always use a master control relay (MCR). This latching relay circuit energizes when all
emergency stop pushbuttons and other safety devices are satisfied, and the user presses a control
start pushbutton. Typically, a control stop push button in the circuit can also de-energize the
MCR.

Additional contacts on the MCR supply control power to the PLC output modules. Therefore, when an
emergency stop condition arises, the MCR de-energizes and output power to the PLC is dropped.

https://www.plantservices.com/articles/2021/8-good-design-practices-for-plc-systems/?utm_source=bc&utm_medium=recforyou&utm_campaign=bott… 4/10
9/16/21, 5:58 PM 8 good design practices for PLC systems

More articles about industrial automation

Bridging the safety experience gap with industrial automation to guide future decisions

Why a strong company culture and social mission are good for business

Transitioning from basic to adaptive automation

Caution! Remember that safety must be the prime consideration in the PLC design. Always ask
yourself, “Will de-energizing any output in an emergency stop condition cause a hazardous
situation?”

Some designers like to use the MCR to disable PLC input circuits as well. Other designers do not do
this, as they may want the PLC to be aware of all input conditions regardless of what the emergency
stop circuit and MCR circuit are doing. Again, safety comes first.

Though the MCR is key to design strategy, below are some other important considerations.

Control voltage: 24Vdc is becoming the de facto standard for control voltages, although 120Vac is
still very common.

Physical layout: PLC manufacturers have guidelines for mounting the device. Always ensure that
you have left adequate space around the PLC for airflow. It is also a good idea to leave three to four
inches below the PLC device or chassis for wiring. If mounting a PLC that does not have a fixed
chassis, leave extra DIN rail space to the right of the last I/O module for future expansion. Don’t paint
yourself into a corner, space-wise.

Always use good panel-building practices. Use stranded machine tool wire (MTW) and use properly
sized wire. Typically, #18 AWG (American Wire Gauge) stranded MTW conductors are used for PLC
inputs and outputs. Prewired terminal modules are also available from PLC manufacturers to facilitate
quick field wiring.

Make sure that all terminal blocks are marked with the wire number.

Follow the manufacturer’s recommendations and read the specifications carefully when choosing
wiring for the PLC. Be sure to use the proper color codes for wiring. Blue is typically for DC, red for
120Vac hot, white for 120Vac neutral. Some engineers like to use other colors to denote PLC inputs
and outputs; this is fine as long as you are consistent. Some designers have used gray wire for inputs
and orange wire for outputs. Never use yellow for any wire except wiring coming from another panel
that may be energized. If in doubt, check the Underwriters Laboratory (UL) 508A, Joint Industrial
Council (JIC), and National Fire Protection Association (NFPA) 79 standards.

https://www.plantservices.com/articles/2021/8-good-design-practices-for-plc-systems/?utm_source=bc&utm_medium=recforyou&utm_campaign=bott… 5/10
9/16/21, 5:58 PM 8 good design practices for PLC systems

Separation of different voltage levels: Good panel design keeps higher voltage power devices
away from control signals and analog signals. Typically, designers tend to place the 460V or 230V
devices at the top of the subpanel and to the left. The PLC and control components are usually
located near the bottom and to the right. There are many ways to layout a panel; use common sense.
The UL 508A standard is a good source of information regarding the separation of conductors and
isolation. If power and signal wires must be near each other, make sure they cross at right angles.

PLC digital outputs typically can handle 1 or 2 amps at most. For driving solenoid valves or other
loads, it is recommended to use interposing relays.

Analog I/O concerns: Analog inputs and outputs are prone to noise issues. As the current signal is
less likely to be affected by noise, 4–20mA signals are commonly used for analog circuits. Use good
quality shielded cable; shielding and grounding techniques are well beyond the scope of this article,
but make sure to follow the manufacturer’s recommendations for wiring practices.

I/O count and spares: This is a very important topic. A good rule of thumb is to have 20% spare I/O
in a system. Unless you are installing a very simple “brick” type PLC, account for spare slots and
spare I/O for your system. Always wire every PLC input and output to a terminal block, even if they
are spares. This is a good practice and makes future additions to the system much easier to
implement.

Networking: Many modern PLC systems communicate with Ethernet or some other fieldbus. If using
Ethernet, provide a good quality industrial Ethernet switch such as Cat. 6, and use shielded Ethernet
cables. Many systems use a 120Vac outlet and Ethernet interface device on the front door of the
electrical enclosure. These devices can be ordered with a single or duplex 120Vac outlet and an
Ethernet port. When performing maintenance on the system, you can plug in a laptop and you don’t
have to look for a nearby outlet. Further, it maintains arc flash integrity of the enclosure, as the door
need not be opened.

Make sure that the network IP addresses, subnet mask, and gateway are all documented.

Electrical schematic documentation

A good PLC design must include proper PLC documentation. Create a PLC overview drawing—this
sheet shows the complete PLC chassis, with all modules in an overview format. This drawing should
show the part numbers of each module, slot numbers, and which wire numbers pertain to each
module. Also, be sure to include a reference for the sheet number(s) that contain each module’s
schematics.

A networking sheet is required that must show each device on the network with its part number and
associated IP address. Make sure to include the subnet mask and gateway address. This drawing
should show a suggested programming laptop IP address, to prevent any conflicts.

https://www.plantservices.com/articles/2021/8-good-design-practices-for-plc-systems/?utm_source=bc&utm_medium=recforyou&utm_campaign=bott… 6/10
9/16/21, 5:58 PM 8 good design practices for PLC systems

The electrical schematic for each module can be on its own sheet, although most times, designers
tend to put two modules of the same type on one sheet. It depends on the size of the system. Make
sure to identify the PLC module with a part number and slot number. Reference all wires to their origin
and their destinations on other sheets.

The documentation shows wire numbers, PLC input and output numbers, and connection points for
the input and output devices. Figure 2 shows all the parts of documenting the drawing properly.

Figure 2. Proper documenta-tion, as shown in this electrical schematic sample, lessens downtime and
provides a good basis for future upgrades. Here, PLC inputs are shown on the left side and PLC outputs
on the right, with wire numbers and colors as well as terminal numbers noted. (Source: Motion)

Programming considerations

Programming a PLC is well beyond the scope of this article; however, there are some things to
remember. Ensure that the programmer documents the PLC program so that people servicing the
machine or making future alterations can see what the program is doing.

You must always understand how your machine or process works and ensure that the program is
written clearly and can be understood by your maintenance personnel. What alarms are needed?
What happens during abnormal events? How do you shut down the process safely?

https://www.plantservices.com/articles/2021/8-good-design-practices-for-plc-systems/?utm_source=bc&utm_medium=recforyou&utm_campaign=bott… 7/10
9/16/21, 5:58 PM 8 good design practices for PLC systems

It is good to print out a paper copy of the PLC logic and keep it handy for future reference. This can
be a great troubleshooting aid if the maintenance person does not have the software to view the PLC
program. Always document any changes to the electrical schematics and the PLC logic.

Make sure that you have electronic copies of the PLC program stored in a secure location. If the
process or machine is ultra-critical, consider storing in more than one place, including off-site.

Finally, document any equipment upgrades. Not doing so risks maintenance personnel trying to repair
a machine, only to find that the wiring or program has been changed and the update was not
documented.

Use an HMI

HMIs are very inexpensive, and they give you a nice window into the PLC operation. Many firms
struggle because they do not have the programming ability or the software for the PLC. With an HMI,
you can adjust timer and counter settings, see the status of internal bits and values, set analog
values, and do many more things. Passwords can be used to keep operators out of sensitive areas.

Maintenance

Always keep electrical panels free of dust, dirt, and other debris. Make sure that wiring is kept neat
and wire duct covers are kept in place. Periodically, all screw terminals should be inspected and
tightened. Do not overtighten the terminals; snug is good, but overtightening can make things worse.
If in doubt, follow the manufacturer’s recommendation for a torque setting.

Make sure the panel is labeled with the networking IP addresses, fuse ratings, the PLC program file’s
name, and anything that makes it easy to service the machine.

In summary

We have barely scratched the surface of PLC system designs in this high-level overview; however,
keep the following points in mind for system optimization:

1. safety
2. good grounding practices
3. environmental concerns
4. design strategy
5. electrical schematic and PLC logic documentation
6. programming considerations

https://www.plantservices.com/articles/2021/8-good-design-practices-for-plc-systems/?utm_source=bc&utm_medium=recforyou&utm_campaign=bott… 8/10
9/16/21, 5:58 PM 8 good design practices for PLC systems

7. HMI usage
8. maintenance factors

Following the tips above will arm you with helpful information whether you are the system designer or
working with a qualified in-house or third-party specialist. Implementation will also help you realize
many years of service from your PLC system.

This story originally appeared in the June2021 issue of Plant Services. Subscribe to Plant Services
here.

About the Author: Jim Davis

Jim Davis works for Motion and manages its Automation Center in Woodridge, Illinois. He has more than
40 years of electrical experience, including work as an electrician, project engineer, program manager,
and principal electrical engineer. A holder of four U.S. patents, Davis has a BSEET degree from Purdue
University and an MBA from the Keller Graduate School of Management. Davis is also a former adjunct
instructor at a local community college, where he taught industrial electrical courses.

Original research and perspectives: Visit the industry research


library
You probably think of Plant Services as your go-to source for industry opinions and
technical articles, but do you also know that we produce original research reports?
We regularly poll our readers to get their opinions and insights on disruptive
technologies and how these advances are changing their plants.

More on this topic


1. Making the case for facility modernization
Are legacy control systems dragging down your maintenance KPIs? You may be ready to
modernize your assets.

https://www.plantservices.com/articles/2021/8-good-design-practices-for-plc-systems/?utm_source=bc&utm_medium=recforyou&utm_campaign=bott… 9/10
9/16/21, 5:58 PM 8 good design practices for PLC systems

2. Mitigate safety risks on automated assets


In this installment of Automation Zone, learn why you and your teams need to follow a regular
process of safety evaluation and enhancement.

3. How to build a better integration team


In this installment of Automation Zone, get your designers and builders on the same team for
effective system integration.

ABOUT

CONTENT

MAGAZINE

STAY CONNECTED

Contact Us | Advertise | Privacy Policy | Do Not Sell My Personal Information | Legal Disclaimers, Terms
& Conditions
Copyright © 2004 - 2021 Plant Services. All rights reserved.
P: 630-467-1300 | 1501 E. Woodfield Road, Suite 400N, Schaumburg, IL 60173

Chemical Processing | Control | Control Design | Food Processing | Pharma Manufacturing | Plant
Services | Smart Industry

https://www.plantservices.com/articles/2021/8-good-design-practices-for-plc-systems/?utm_source=bc&utm_medium=recforyou&utm_campaign=bo… 10/10

You might also like