PLC Tutorials

T Flip Flop PLC Ladder Diagram

This is a PLC Program to implement T flip flop. Learn the ladder diagrams with example-based programming.

T Flip Flop Logic using PLC

Problem Description

Implement T flip flop in PLC using ladder diagram programming language.

Problem Diagram

T Flip Flop Logic using PLC Ladder Diagram

Problem Solution

We will use PLC S7-1200 for this application. We can implement this logic by using other PLC also.

T flip flop has two inputs, one is clock input and other one is T (toggle) input.

Ladder diagram of the T flip flop can be obtained by using T input in this flip flop.

This can be done by rising edge instruction. But many PLC’s do not have such type of instruction. So for that PLCs we can use this logic.

List of inputs & outputs

List of inputs

  • T (Toggle) :- I0.0

List of outputs

  • output (Light) :- Q0.0
  • One Shot (OS) logic output :- Q0.1

M memory

  • Relay coil :- M0.0

PLC Ladder Diagram

For easy understanding, here we assumed ” a Light ” is connected at output to check the flipflop logic status.

Program Description

For this application, we used S7-1200 PLC and TIA portal software for programming.

Network 1:

When T input (I0.0) is triggered, relay coil (M0.0) will go high immediately

Network 2:

During the second scan cycle, when Network 1 is scanned, status of Q0.1 is observed “1” .

Network 3:

When the network 3 is scanned, it receives input “1” from the image table which was set while scanning network 1. It triggers light output (Q0.0).

Even if T input is withdrawn, the light output (Q0.0) does not change. Even if the T input is withdrawn, the light output (Q0.0) does not change.

This logic can be implemented by using OSR instruction or rising edge of the PLC. Here we used only latching concept to hold the output.

Note:- This example is only for explanation purpose only. We can implement this logic in other PLC also. This is the simple concept of T flip flop, 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. Also all interlocks are not considered in the application.

Result

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:

You've successfully subscribed !

View Comments

  • thank you sir for all this helpfull articles! Just to inform you that i am still facing problems to download these tutorials to my PC even though i tried to use mozzilla as you told me earlier...Hope to find a solution to this problem. Thank you again!

Share

Recent Articles

  • PLC Tutorials

Shutter Door Control using Motor and Limit Switches

 In this article, we are going to discuss about shutter door control using induction motor…

5 days ago
  • Electrical Basics

Electrical Drives – Modes, Types, Speed Control Applications

Electrical Drives control the motion of electric motors. Motion control is required in industrial and…

5 days ago
  • PLC Tutorials

PLC Ladder Logic Design: Control 3 Motors with Toggle Switch

PLC ladder logic design to control 3 motors with toggle switch and explain the program…

3 weeks ago
  • PLC Tutorials

VFD Simulator Download – Free Yaskawa V1000 Software

VFD simulator download: Master the online tool from the Yaskawa V1000 & programming software for…

5 days ago
  • PLC Tutorials

Conveyor Sorting Machine PLC Program with Calculation Function

The conveyor sorting machine is widely used in the packing industries using the PLC program…

1 week ago
  • PLC Tutorials

Example of Flip-Flop PLC Program for Lamps Application

Learn the example of flip-flop PLC program for lamps application using the ladder logic to…

1 week ago