Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: Count the Number of Cartons in a Storage Area PLC Logic
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Count the Number of Cartons in a Storage Area PLC Logic

Count the Number of Cartons in a Storage Area PLC Logic

Write a PLC program to count the number of carton boxes in the storage area using the counter and SR flipflop logic instructions.

Last updated: March 4, 2021 10:59 am
Editorial Staff
PLC Tutorials
No Comments
Share
2 Min Read
SHARE

There are two conveyors with a photocell in each one, and there is a storage area between the two conveyors where the first conveyor deliver to storage area and from the storage area to the second conveyor, write a PLC program to count the number of carton boxes in the storage area.

Contents
Inputs & outputs:Count the Number of Cartons in a Storage Area PLC LogicPLC ExplanationNetwork 01Network 02

Note: the best practice to learn the PLC programming is to start writing the PLC program, take your time before you review the answer. 

Inputs & outputs:

I0.0: Start Push Button (Normally open contact)

I0.1: Stop Push Button (Normally Closed Contact)

I0.2: photocell 01 (the photocell installed in the first conveyor).

I0.3: Photocell 02 (the photocell installed in the second conveyor).

I0.4: reset button (to reset the counter to zero).

Q0.0: conveyor 01.

Q0.1: Conveyor 02.

C1: Counter.

MW10: counter current value indication.

Count the Number of Cartons in a Storage Area PLC Logic

Count the Number of Cartons in a Storage Area PLC Logic

PLC Explanation

Network 01

When the Start PB is pressed the set coil of the SR flip flop is energized and the two conveyors will run.

If the stop PB is pressed the reset coil of the SR flip flop is energized and the conveyors will stop.

Network 02

When the carton box passes by the photocell 01 in the first conveyor the count up coil of the counter C01 is energized and adds 1 count to the counter’s counts.

When the carton box passes from the storage area to the second conveyor, the photocell 02 energizes the countdown coil (CD) in the counter and minuses the counter’s counts by one.

When the reset PB is pressed the counts value in the counters rests to zero.

Author: Karim Ali Anwar

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.

Read Next:

  • VFD Ladder Logic
  • Limit Switch PLC
  • Motor PLC program
  • PLC Permissive Inputs
  • Counting with Preset
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !
How-to do Security of SCADA Systems?
What are Trends in SCADA?
How to Create Templates in FactoryTalk View Studio?
Omron PLC Online Training Course
Difference between Machine Expert Basic and Machine Expert – Schneider PLC
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

PLC Program for Water filling and Discharging Process

PLC Program for Water filling and Discharging Process

PLC Program Example on Multiple LEDs using Set Coil

PLC Program Example on Multiple LEDs using Set Coil

PLC Program for Controlling Sequence of Conveyors with Interlocking

PLC Program for Controlling Sequence of Conveyors with Interlock

PID Simulator

PID Simulator Download

Compare Servo Motor and Stepper Motor

Compare Servo Motor and Stepper Motor

PLC automation timers and counters

Medium-Level PLC Exercise for Students in Automation

Pneumatic Circuit Design Using PLC - 2

PLC Pneumatic Circuit Control

Search tank in Intouch Scada

Tank Filling and Emptying using Intouch Scada Script

More Articles

Beam-Detectors-Working-Principle-2

Beam Detectors Working Principle Animation

Control Valve Tubing

Instrument Tube Bending

Selecting Directional Valves

How to Select a Directional Valves

Concept of Interlocking in PLC

Concept of Interlocking in PLC

Power Electronics Objective Questions

Pulse Width Modulation Inverters Questions

Business Skills Every Engineer Needs

Business Skills Every Engineer Needs

Thermocouple Calibration

Thermocouple Calibration

DP Transmitter Located 10 feet Beneath the Vessel

DP Transmitter Located 10 feet Beneath the Vessel

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?