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: Playground Swing Logic Exercise Program 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 > Playground Swing Logic Exercise Program in PLC

Playground Swing Logic Exercise Program in PLC

In Playground Swing Logic, a timer should count down from 30 seconds when a child starts Swinging. An Alarm activates after time is up.

Last updated: May 20, 2024 10:44 am
Editorial Staff
PLC Tutorials
2 Comments
Share
5 Min Read
SHARE

In Playground Swing Logic, a timer should count down from 30 seconds when a child starts Swinging. An Alarm activates after time is up.

Contents
Playground Swing LogicPLC Basics for StudentsInputs and OutputsProgram in PLCExplanationSimulation ResultsWhen the Start Button is turned ON (Child Starts Swinging)When the Reset Button is Pressed and Released

Note: This PLC program was created for the persons to learn the PLC basics.

Playground Swing Logic

Problem Statement

Design a PLC ladder logic for the following application.

We are using one toggle switch and one Push Button to control the Alarm.

When a child starts Swinging, a timer should count down from 30 seconds. An Alarm should sound when the time is up.

A Reset Button will start the countdown again.

PLC Basics for Students

Instrumentation Tools provides the PLC basics with simple problems and solutions for students.

This video explains swing example programming using ladder logic.

Inputs and Outputs

Digital Inputs:

Start Button: I0.0

Reset Button: I0.1

Digital Outputs:

Alarm: Q0.0

Program in PLC

Playground Swing Logic Exercise Program in PLC

Explanation

We have used Normally Open Contact for the Start Button (I0.0).

We have used Normally Closed Contact for the Reset Button (I0.1).

In Rung 0:

  1. Normally Open Contact is used for the Start Button (I0.0) to Turn ON the output Alarm (Q0.0)
  2.  Timer TON is used to delay the turning ON time of the output Alarm (Q0.0) for some time.
  3. Normally Closed Contact is used for Reset Button (I0.1) to turn OFF the output Alarm (Q0.0) and restart the timer.

When the Start Button (I0.0) is turned ON or (child starts swinging), the output Alarm (Q0.0) will turn ON after 30 seconds as Timer Function Block TON is used to delay the turning ON time of the output Alarm (Q0.0). The time is set to 30 seconds.

In a false state, Normally Closed Contact used for the Reset Button (I0.1) passes the signal to turn ON the output Alarm (Q0.0). After 30 seconds, the output Alarm (Q0.0) will turn ON.

When Reset Button (I0.1) is pressed and released, the output Alarm (Q0.0) will turn OFF because When the Reset Button (I0.1) is pressed, Normally Closed Contact used for Reset Button (I0.0) will be in True state and does not allow the signal to pass through it and the output Alarm (Q0.0) will turn OFF.

When the Reset Button is released (I0.1), Normally Closed Contact used for the Reset Button (I0.0) will be in a false state and allow the signal to pass through it. Then, the timer again starts in the Timer Function Block type TON. The time is set to 30 seconds. After 30 seconds, the output Alarm (Q0.0) will turn ON again.

Simulation Results

Now we simulate our PLC program and discuss the results.

When the Start Button is turned ON (Child Starts Swinging)

When the Start Button (I0.0) is turned ON or (child starts swinging), the output Alarm (Q0.0) will turn ON after 30 seconds as Timer Function Block TON is used to delay the turning ON time of the output Alarm (Q0.0).

The time is set to 30 seconds.

Logic Program in PLC

In a false state, Normally Closed Contact used for the Reset Button (I0.1) passes the signal to turn ON the output Alarm (Q0.0).

After 30 seconds, the output Alarm (Q0.0) will turn ON.

swing plc logic tutorial

When the Reset Button is Pressed and Released

When the Reset Button (I0.1) is pressed and released, the output Alarm (Q0.0) will turn OFF because When the Reset Button (I0.1) is pressed.

Normally Closed Contact used for the Reset Button (I0.0) will be in a True state and does not allow the signal to pass through it and the output Alarm (Q0.0) will turn OFF.

Exercise Program in PLC for Students

When the Reset Button is released (I0.1), Normally Closed Contact used for the Reset Button (I0.0) will be in a false state and allow the signal to pass through it.

Then, the timer again starts in the Timer Function Block type TON. The time is set to 30 seconds. After 30 seconds, the output Alarm (Q0.0) will turn ON again.

PLC exercise programs for students

If you liked this article, 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:

  • Traffic Lights PLC Program using Timers
  • Heater and Cooler PLC Exercise Problem
  • PLC Applications Examples of Door Lock
  • Door Lock with Delay PLC Exercise Problem
  • PLC Emergency Stop Example Programming
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 !
Unknown Do’s Need to Know as a PLC Programmer
Electric Motor Forward Reverse with Repeat Cycle PLC Logic
Ladder Logic for Control of Double-acting Pneumatic Cylinder
Car Wash Program using Functional Block Diagram (PLC)
Step-by-Step Guide to Choose Right Fuse for a Panel
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
2 Comments
  • Biplab Newar says:
    July 18, 2024 at 1:57 am

    Hello sir, how do I get a PLC programmer certificate?

    Reply
    • Editorial Staff says:
      July 18, 2024 at 9:45 am

      Join Here – https://learn.automationcommunity.com/courses/

      Reply

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

SCADA Interview Questions

SCADA Interview Questions and Answers

PLC Analog I/O Potential Problems

PLC Analog I/O Potential Problems – Troubleshooting & Issues

Why Are Charcoal and Salt Added to an Earthing Pit

Why Are Charcoal and Salt Added to an Earthing Pit?

OPC Server

What is the OPC Server?

Difference Between PLC and CNC Machine

Difference Between PLC and CNC Machine

Difference Between SCADA and HMI

Difference Between SCADA and HMI

Human Machine Interface

What is Human Machine Interface (HMI) ?

Siemens Tia Portal Function Block

Function Blocks in PLC (FBs) – What You Need To Know?

More Articles

Air Release Valve

What is an Air Valve? Purpose, Types, Advantages, Disadvantages

Turbine Flowmeter Parts

What is a Turbine Flow Meter?

4 TO 20 MA ANALOG CURRENT SIGNALS

Basics of 4 to 20 mA analog Signals

Differences between No-load Supply Current and Load Current

Differences between No-load Supply Current and Load Current

Snubber Circuits

Thyristor Protection Circuits (SCR) – Types, Principle, Explanation

Electric Drives and Traction Objective Questions and Answers

Electric Drives and Traction Interview Questions

Motor Protection Relay

Motor Protection Circuits

Capacitance Level Switch Working Principle

Capacitance Level Switch Working Principle

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?