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: How to implement SR Flip Flop using PLC Ladder Logic
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 > How to implement SR Flip Flop using PLC Ladder Logic

How to implement SR Flip Flop using PLC Ladder Logic

This is the PLC Program to implement SR flip flop in PLC. Learn the PLC programming with this example logic.

Last updated: November 3, 2023 12:13 pm
Editorial Staff
PLC Tutorials
No Comments
Share
4 Min Read
SHARE

This is the PLC Program to implement SR flip flop in PLC. Learn the PLC programming with this example logic.

Contents
SR Flip Flop using PLC Ladder LogicProblem DiagramPLC SolutionList of inputs/outputsDigital InputsDigital OutputsM memoryPLC Ladder Diagram to implement SR flip-flopProgram ExplainedNetwork 1:Network 2:Network 3:Network 4:Result

SR Flip Flop using PLC Ladder Logic

Problem Description

Implement a program for SR flip-flop logic in PLC using ladder language.

Problem Diagram

SR Flip Flop Logic

PLC Solution

As we know, more complex systems cannot be controlled with combinational logic alone. The main reason is that we cannot, or choose not to add sensors to detect all conditions. In these cases we can use event to estimate the condition of the system.

SR flip flop is used for Latch on or unlatch – to lock something ON or turn it OFF.

Most PLC has special instruction for SR flip flop function. so no custom logic required for such types of PLCs. SR flip flop first executes SET function and then RESET function.

Note :- Here we are considering simple function of SR flip flop instruction without using special instruction or using latch function. Here we are using simple latching circuit for SR flip flop function.

SR Flip Flop Truth Table

Here as shown in figure two push buttons or two inputs are taken for program implementation.

When user will press SET button or 1 is received at S input, Q output will be ON and if RESET button pressed or 1 received at R input, Q^ will be ON.

List of inputs/outputs

Digital Inputs

  • Set Input :- I0.0
  • Reset input :- I0.1

Digital Outputs

  • Q output :- Q0.0
  • Q^ output :- Q0.1

M memory

  • Relay coil 1 :- M0.0
  • Relay coil 2 :- M0.1

PLC Ladder Diagram to implement SR flip-flop

SR Flip Flop using PLC Ladder Logic
SR Flip Flop Ladder Logic
PLC SR Flip Flop
PLC Ladder Flip Flop SR

Program Explained

For this PLC program we use S7-300 PLC and TIA portal software for programming. We can implement this logic by using other PLC also.

Network 1:

Here we used NC contact of relay coil 1(M0.0) so when reset button is pressed, Q output (Q0.0) is OFF.

Network 2:

Here we used NC contact of relay coil 2 (M0.1) so when set button is pressed, Q^ output (Q0.1) is OFF.

Network 3:

Here when we press RESET button (I0.0), relay coil 1(M0.0) will be latched.

Network 4:

Here when we press SET button (I0.1), relay coil 2(M0.1) will be latched.

If both the inputs are low during power up, Q^ output (Q0.1) will go high because of its order. If both the inputs are

Note :- Above application may be different from actual application. This example is only for explanation purpose only. We can implement this logic in other PLC also. This is the simple concept of implementing SR flip function without instruction. we can use this concept in other examples also.

All parameters considered in example are for explanation purpose only, parameters may be different in actual applications.

Result

Ladder SR Flip Flop

Author: Bhavesh

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:

  • PLC Pneumatic Circuit Control
  • Blinking Lamp on 5 Seconds Interval
  • Entry and Exit Control of Car Parking
  • Alarm Indication in Process Control
  • Drain Same Products from Two Tanks
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 !
How to Download GX Works? Mitsubishi PLC Software
What is Rewire Tool in Simatic Manager?
Upgrading and Migration of PLC Systems
Daily Alarm PLC Program using Real-Time Clock
What is SCADA ? How does SCADA Works ?
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

Safety PLC Coding Practices

Safety PLC Coding Practices – Programming Recommendations

Causes of PLC Stop Mode

Various Causes for PLC Going in Stop Mode

PLC Program for Washing Machine

PLC Program for Washing Machine

PLC Program for Control Valve Scaling

PLC Program for Control Valve Scaling

Top 100 PLC Objective Questions and Answers

Top 100 PLC Objective Questions and Answers

One-Shot Rising and Falling Edge Instructions in Rockwell PLC

One-Shot Rising and Falling Edge Instructions in Rockwell PLC

Siemens Tia Portal PLC Training Course

Siemens Tia Portal PLC Training Course

Automated Test Bench - Complex PLC Programming Examples

Automated Test Bench – Complex PLC Programming Examples

More Articles

Pollution Monitoring Instruments Questions and Answers

Sulphur Di-oxide Monitoring Questions & Answers

Real-time PLC Projects

Real-time PLC Projects – Industrial Automation

ball Valve Animation

Basics of Ball Valves

Split Range Control for Temperature Control Application

Split Range Control Working Principle

valve trim

Valve Actuator Bench Set

Ladder Logic Example with Timers

Ladder Logic Example with Timers

Parallel Circuit Parallel Current Calculations

Parallel Circuit Current Calculations

Fibre Optic Sensors Objective Questions

Fibre Optic Sensors Objective Questions

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?