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
Notification Show More
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

Exhaust Fan Control: Example of PLC Timer Programming
What is Sequential Function Chart (SFC?)
#10 PLC Best Practices – Assign Register Blocks by Function
Cybersecurity in PLC
DeMorgan’s Theorems using Ladder Diagram
Functional Block Diagram PLC Example for Traffic Light System
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

Compare Online and Offline PLC Programs
Workstation Healthiness Checks
Free Mitsubishi PLC Online Training Course and Tutorials
DCS versus PLC Architecture
Automated Test Bench – Complex PLC Programming Examples
HMI Handbook
Design Document for Project Systems Architecture
PLC Selective Execution of the Application – Example Program

Keep Learning

PLC Programming Example on Timers Function Block

PLC Programming Example on Timers Function Block

Repeat Until Statement in SCL Language

Repeat Until Statement in SCL Language

Single Line Diagram of UPS System

UPS Selection Factors for a Control System

PLC Controlling a Motor

PLC Motor Control Ladder Logic Programming

Omron PLC Mixing System

Mixing Program with Timers and Counters in Omron PLC

DC Circuit

Main differences between Sinking and Sourcing Circuits

Allen Bradley PLC Example with Sub routines

How to use Sub Routines with Allen Bradley PLC

How to Get a PLC Programming Job With No Experience

How to Get a PLC Programming Job With NO Experience?

Learn More

Difference between Feedback, Feedforward, and Cascade Control

Difference between Feedback, Feedforward, and Cascade Control?

Non‐contact RADAR Level Transmitter Pulse

Non Contact RADAR Level Transmitter Principle, Limitations, Design, Installation and Calibration

PLC based Automatic Packaging System

PLC based Automatic Packaging System

Valves Legend P&ID

Comparison of Gate Valves and Globe Valves

Series-Wound DC Generator Principle

Series-Wound DC Generators

Gas Turbine Temperature Control using Siemens Tia Portal

Gas Turbine Temperature Alarms using Siemens TIA Portal

Instrumentation Engineer in Process Plant Project

Instrumentation Engineer in Process Plant Project

Power Systems Questions & Answers

Power Systems MCQ Series 2

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?