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: Start the Counting from a Preset Value in PLC
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 > 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
 Inputs & outputs: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 !
#16 PLC Best Practices – Create Trend for Cycle Time on HMI
Dosing Pump PLC Logic
PLC Math instructions
Introduction to PLC Ladder Diagrams
OPC in Old PLC Systems
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

  • 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
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers

Related Articles

Difference between Signal Cables and Control Cables

Difference between Signal Cables and Control Cables

PLC Program Paint Spraying

PLC Program for Paint Spraying

Real-time and historical SCADA Trends

What are Trends in SCADA?

AENT Module in Rockwell PLC

AENT Module in Rockwell PLC – Remote IO Adapter

Interlock Philosophy

Types of Interlocks

Testing and Validation in PLC Development

Testing and Validation in PLC Development

PLC Program using Logic GATEs

PLC Logic GATE Program

Count the Number of Bottles

Count the Number of Bottles in Packaging Carton PLC Logic

More Articles

Core-Type Transformer

Transformer Theory of Operation

Digital Electronics Multiple Choice Questions

Read Only Memory (ROM) Objective Questions – Part 3

Laser Level Measurement

Laser Level Measurement Principle

Displacer Level Transmitter Calibration Procedure

Displacer Level Transmitter Calibration using Water & Process Liquid

Convert-Process-Variable-to-Percentage

Convert Process Variable to Percentage

Allen-Bradley PLC Program

Troubleshoot Allen Bradley PLC Logic

Flow Switch Working

Flow Switch : What is it? – Applications

Guided wave radar Measurement Principle

Instrument Salesperson Question

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?