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 !
PLC, DCS, and ESD Marshalling Cabinet Checks
Sequential Operation of Output Bits using Two Push buttons
Structured Text vs. Instruction List for PLC Programming
How to use Master Control Reset (MCR) Instruction in PLC
PLC Logic: Control Spray Nozzle, Fans, and Puncher
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

  • 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

SCL Language in Siemens Tia Portal

FOR DO Statement in SCL Language

While Do Statement in Structured Text PLC Program

While Do Statement in Structured Text PLC Program

Scaling in PLC

PLC Ladder Logic for Sensor Scaling with Offset

Static and Temp Variables in PLC

Static and Temp Variables in PLC

Ladder Logic Questions and Answers

Ladder Logic MCQ Questions and Answers

PLC Cabinet

PLC Programming Videos

PLC Programmer Tools

Tools Required for PLC Programmer to Carry at Site

PLC Instruction List Example for Level Control of Tank

PLC Instruction List Example for Level Control of Tank

More Articles

Nuclear Power Plant Multiple Choice Questions

Nuclear Power Plant Multiple Choice Questions

Structured Control Language (SCL) Elements

Value Assignments in SCL Language – Single, Multiple, Combined

WirelessHART Device Terminals

WirelessHART Network Gateway Device

Electrical Machines Objective Questions

Electrical Machines MCQ Series 2

What is HIPPS System in Oil and Gas

What is HIPPS System in Oil and Gas?

How to test SCR using Multimeter

How to test SCR using Multimeter

Smart Transmitter Calibration Tutorial

Smart Transmitter Calibration Tutorial Part 1

Displacer Level Transmitter weight calibration

Displacer Level Transmitter Dry Calibration with Weights

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?