PLC Tutorials

Troubleshoot Allen Bradley PLC Logic

A engineer needs to write a program for an Allen-Bradley CompactLogix PLC to control a pressure relieving solenoid valve in a gas processing system.

A pair of high-pressure control switches signals the PLC when to open the solenoid valve: one telling the PLC to open the valve after a 3-second time delay and the other (called the “high-high” switch, with a higher trip setting) telling the PLC to open the valve immediately.

A pushbutton switch serves as a manual override to open the solenoid valve immediately when pressed.

In all cases, the solenoid vent valve will remain open (energized) until pressure falls below the setting of a low-pressure gas switch.

The operating statuses of these switches are listed here:
  • Override pushbutton (normally-open): open when unpressed, closed when pressed
  • Low gas pressure (normally-closed): closed when pressure is less than 10 PSI, open when pressure exceeds 10 PSI
  • High gas pressure (normally-closed): closed when pressure is less than 30 PSI, open when pressure exceeds 30 PSI
  • High-high gas pressure (normally-open): open when pressure is less than 40 PSI, closed when pressure exceeds 40 PSI

Allen Bradley PLC Logic

The engineer’s first attempt is shown here, but it contains a serious error. Identify and correct this error:

Answer :

The High pressure contact instruction should be drawn as normally-closed rather than normally-open as shown in the engineer’s first draft of the PLC program.

This particular switch signals a high-pressure condition by opening its contacts, since the real-world switch is normally-closed (NC).

We want the 3-second timer to begin timing when this switch senses a high pressure, and so we need the contact instruction to color when the real-world high-pressure switch trips (opens).

A PLC contact instruction that colors when it senses a “0” bit condition is a normally-closed (NC) instruction.

Share Your Answers

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

You've successfully subscribed !
Share

Recent Articles

  • Electrical Basics

Electrical Drives – Modes, Types, Speed Control Applications

Electrical Drives control the motion of electric motors. Motion control is required in industrial and…

4 days ago
  • PLC Tutorials

PLC Ladder Logic Design: Control 3 Motors with Toggle Switch

PLC ladder logic design to control 3 motors with toggle switch and explain the program…

3 weeks ago
  • PLC Tutorials

VFD Simulator Download – Free Yaskawa V1000 Software

VFD simulator download: Master the online tool from the Yaskawa V1000 & programming software for…

4 days ago
  • PLC Tutorials

Conveyor Sorting Machine PLC Program with Calculation Function

The conveyor sorting machine is widely used in the packing industries using the PLC program…

1 week ago
  • PLC Tutorials

Example of Flip-Flop PLC Program for Lamps Application

Learn the example of flip-flop PLC program for lamps application using the ladder logic to…

1 week ago
  • PLC Tutorials

STAR DELTA Programming using PLC Controller

In this article, you will learn the STAR DELTA programming using PLC controller to start…

1 week ago