Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: Start the Counting from a Preset Value in PLC
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Start the Counting from a Preset Value in PLC

Start the Counting from a Preset Value in PLC

Write a plc program such that the counter start counting from a preset value for the packaging application.

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

Write a plc program where there are boxes running by start-stop pushbuttons (PB) and there is a photocell sensor to count the number of boxes and there is a set pushbutton (PB) whenever it’s pressed the counter start counting from a preset value.

Contents
Start the Counting from a Preset Value in PLCPLC Logic 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.1: Set Push Button (Normally Open Contact)

Q0.0: conveyor

C1: Counter

Start the Counting from a Preset Value in PLC

Start the Counting from a Preset Value in PLC

PLC Logic Explanation

Network 01

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

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

Network 02

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

When the set PB has pressed the count value in the preset value PV will be moved to the counter’s counts.

When the stop PB is pressed the counter’s counts will be reset to 0.

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
  • Up Down Counter
  • Motor PLC program
  • PLC Permissive Inputs
  • Problems in the PLC
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 !

Continue Reading

PLC Program for Controlling Sequence of Conveyors with Interlock
PLC Program for Counting Moving Objects on Conveyor
Tia Portal – OB20 Time Delay Interrupt Organization Block
Best Way to Build Troubleshooting Mindset for Automation Engineer
T-Junction Traffic Control System – PLC Programming
Ladder Logic for Control of Double-acting Pneumatic Cylinder
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
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

#2 PLC Best Practices – Track Operating Modes
How to use PLC with SQL Database? – Basics & Tutorials
Emergency Stop Switch Spurious Trip
PLC Data Comparison Instructions
What Factors Affect the Choice of PLC Programming Software?
PLC Sinking and Sourcing Explanation
How to Design an Effective HMI? – Human Machine Interface
Troubleshoot Allen Bradley PLC Logic

Keep Learning

4-20mA Current Loop for Flow Transmitter and Control Valve Positioner

4–20 mA Process Control Loops

PLC Programming Projects for Beginners

PLC Programming Projects for Beginners

What is a Tag in SCADA

What is a Tag? Types of Tags in SCADA

LCS Configuration equipped with LOTO Facility

Motor Control Signal Interface

Two-Conveyor PLC Control System

Basic Conveyor System for Product Handling in Omron PLC

Online time of the PLC

System and Local Time in PLC

Instrumentation Design Details

I&C Engineer Roles & Responsibilities – Instrumentation Design

PLC program to control a water pump

PLC Program to Control a Water Pump

Learn More

Paddle Type Level Switch

What is a Level Switch? Types of Level Switches

Electrical Machines Objective Questions

Electrical Machines MCQ Series 6

Industrial Instruments Questions and Answers

Industrial Instruments Questions and Answers

Current Earth Leakage Circuit Breaker

Types of Earth Leakage Circuit Breaker

PLC Questions - 1

Sketch a Ladder Diagram for PLC to Energize the Lamp

Siemens S7 300 and STEP 7 PLC program using SIMATIC Software

overview-of-communication-protocols

Industrial Automation Communication Protocols

PLC Program using Counters

PLC Counters Program

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

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?