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
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: D Flip Flop PLC Ladder Logic
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
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > D Flip Flop PLC Ladder Logic

D Flip Flop PLC Ladder Logic

This is the PLC Program to implement D flip flops in PLC. Learn PLC programming based on simple digital electronics examples.

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

This is the PLC Program to implement D flip flops in PLC. Learn PLC programming based on simple digital electronics examples.

Contents
D Flip Flop PLC Ladder LogicProblem DiagramProblem SolutionList of inputs and outputsPLC Ladder Diagram for D-FlipflopProgram DescriptionResult

D Flip Flop PLC Ladder Logic

Problem Description

Implement D flip flop in PLC using ladder language programming.

Problem Diagram

D Flip Flop PLC Ladder Logic

Problem Solution

D flip flop has one input which denoted with D. D latch is simple flip flop with NAND gate circuit between S and R input.

In SR flip flop when S=R=1 and S=R=0, outputs either do not change or they are invalid (no action).

As we can see in diagram in D flip flop S and R inputs always be the complements of each other. Hence S=R=1 and S=R=0 conditions will never occur.

This disadvantage of the SR flip flop can be overcome by using D flip flop.

Truth Table for the D Latch

D Flip Flop Truth Table

List of inputs and outputs

Digital Inputs

  • SET/RESET :- I0.0

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 for D-Flipflop

PLC D Flip Flop
D flip flop logic PLC
D Flipflop Ladder Logic
PLC D Flip Flop Logic

Program Description

For this application, 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 NO contact of SET/RSET input (I0.0) and in parallel connection we used NC contact of relay coil 2 (M0.1) to operate relay coil 1 (M0.0).

Network 2:

Here we used NC contact of SET/RSET input (I0.0) and in parallel connection we used NC contact of relay coil 1 (M0.0) to operate relay coil 2 (M0.1).

Network 3:

When relay coil 1 (M0.0) is ON, Q output (Q0.0) will be ON.

Network 4:

When relay coil 2 (M0.1) is ON, Q^ output (Q0.1) will be ON.

As per D flip flop, a condition of Q=1 and Q^=0 is set and a condition of Q=0 and Q^=1 is reset.

Here we can see in diagram as well as in ladder diagram, difference in D flip flop and SR flip flop is that it uses inverted value of S input.

So in D flip flop we are using only one in put for SET/RESET.

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 D flip flop.

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

Result

Simulation of D flip flop in PLC

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:

  • Permissive and Interlock Circuits
  • PLC Program Conveyor Motor
  • SCADA Interview Questions
  • Motor Control Circuits
  • PLC Programming languages
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

Muting Functions of Safety Control Circuits – PLC Example
Advanced Skills Required for a PLC Programmer to Get a Job
Remote Factory Acceptance Test
VFD Pros and Cons – Variable Frequency Drives
Ladder Diagram Example using Memory Bits and Set Coils
PLC Mixing Process with Adjustable Timer and Valve Control
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
6 Comments
  • Archimedes says:
    August 17, 2018 at 10:14 pm

    Hi there! any idea why we can’t download this pdf? I have the same issue and to the other plc tutorials that you upload here…

    Reply
    • S Bharadwaj Reddy says:
      August 18, 2018 at 2:52 pm

      Hi, We have small issue with latest version of Google Chrome,meanwhile please use other browsers like mozilla, opera etc. We try to solve this issue soon.

      Reply
      • Archimedes says:
        August 18, 2018 at 8:38 pm

        Sorry to bother you here but can you check this link please? i had asked a question about vfd drives….

        Reply
        • S Bharadwaj Reddy says:
          August 18, 2018 at 10:04 pm

          Yes, You can get 380V 3 phase output using an single phase 230V Inverter.

          Inverter manufacturers do not recommend VFD drives for single-phase supplies in excess of 3kW to ensure compliance with European Power Quality Standards such as BSEN 61000-3-2:2006 and BS EN 61000-3- 12:2005.

          For similar reasons inverter manufacturers do not recommend drives with an output voltage that is different to the supply voltage (e.g.: 240v input, 415v output).

          Reply
          • Archimedes says:
            August 19, 2018 at 9:21 am

            Thank you sir!

  • Archimedes says:
    August 18, 2018 at 5:57 pm

    Thank you sir for your usefull information! Keep on the great job!

    Reply

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

Traffic Lights Ladder Diagram using Timers
PLC Crane Movement Control with Limit Switches
PLC Electric Motor Interlocks
Your First Steps Through STL Language
DC Injection Braking in VFD
Dosing Pump PLC Logic
Commissioning Checklists for Industrial Automation Systems
Oil and Water Separation Process using PLC Programming

Keep Learning

OB and FB Blocks in Siemens PLC

Procedure for Siemens S7-300 Download from PC to PLC

PLC Program for an Alternate output circuit

PLC Program for Alternate Output Circuit with Latched Function

Basic Concepts of the Safety Relay

Basic Concepts of the Safety Relay

PLC Program for Two ways switch logic for staircase light

PLC Program for Two Way Switch Logic

Preventive Maintenance of Variable Frequency Drive

Preventive Maintenance of Variable Frequency Drive (VFD)

PLC Program for Automatic Parameter initialization

PLC Program for Automatic Parameter Initialization When Power UP

Compare Servo Motor and Stepper Motor

Compare Servo Motor and Stepper Motor

Studio 5000 Logix Emulate

Simulation of Studio 5000 and FactoryTalk View Studio

Learn More

Digital Electronics Projects

Top 100 Digital Electronics Project Ideas for Engineering Students

Parallel Open Circuit Fault

Parallel Open Circuit Faults

11 KV Bus A to Bus B Phase Check Problem

11 KV Bus A to Bus B Phase Check Problem

Ladder Diagram PLC program

PLC Counter Instructions

ultrasonic-level-measurement

Ultrasonic Level Transmitter Working Principle

Abbreviations of Pressure, Temperature & Flow

Abbreviations of Pressure, Temperature & Flow

Encode and Decode Instructions

How to Use Encode and Decode Instructions in PLC ?

Tilt Level Switch Working Animation

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?