Home » PLC Selective Execution of the Application
PLC Tutorials

PLC Selective Execution of the Application

PLC Selective Execution of a Application

This is PLC Program for selective execution of the application.

Problem Description

There are pigments of three colors. We need to fill different pigments into jar by selecting the selector switches. Implement the PLC program using ladder programming language.

Problem Diagram

PLC Program for Selective Execution of the Application

Problem Solution

  • In this system we will consider S7-300 PLC and TIA portal software for programming.
  • Here we need to fill different pigments in the jar as per requirement. So consider 3 types of different color pigments (Yellow, blue and green.).
  • Two valves are used for controlling the pigments. (As we know mixing of yellow and blue is green color so there is no need of separate valve for green color.)
  • When both yellow and blue color are filled at the same time, it will become green color. Selector switch is used for color selection in the system and ON/OFF switch is used for system STOP.

List of Inputs/Outputs

Inputs List

  • ON/OFF :-  I2.0
  • START PB :- I0.0
  • STOP PB :- I0.1
  • Yellow pigment selection :- I0.2
  • Blue pigment selection :- I0.3
  • Green pigment selection :- I0.4

Outputs List

  • Cycle ON :- Q0.0
  • Yellow control valve :- Q0.1
  • Blue control valve :- Q0.2

Ladder diagram for Selective Execution of the Application

PLC Selective Execution PLC Selective

PLC Selective Execution Example

Program Description

Network 1 :-

When ON/OFF switch (I2.0) is ON and START PB is pressed, Cycle ON (Q0.0) lamp will be ON.

Network 2 :-

If cycle is ON and yellow color pigment is selected (I0.2), yellow color control valve (Q0.1) will be ON.

Network 3 :-

If cycle is ON and blue color pigment is selected (I0.3), blue color control valve (Q0.2) will be ON. If green color pigment is selected (I0.4), both the valves will be ON and pigment will become green color.

Runtime Test Cases

PLC Selective Example

Author : Bhavesh

Articles You May Like :

PLC Control Valve Scaling

Split Range Control Application using PLC

Opposite Acting Control Valves using PLC

Siemens S7 1200 PLC configuration in TIA Portal

PLC Program for Paint Spraying

Similar Articles:

Related Articles

How to implement SR Flip Flop using PLC Ladder Logic

S Bharadwaj Reddy

Relay circuits

S Bharadwaj Reddy

Automatic Empty Bottle detection using PLC Logic

S Bharadwaj Reddy

PLC Math instructions

S Bharadwaj Reddy

Basics of Fail-safe Circuits

S Bharadwaj Reddy

D Flip Flop PLC Ladder Logic

S Bharadwaj Reddy

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

WordPress Image Lightbox