1 Di Vs 1 Do Graph

5 min read

Mastering the 1 DI vs 1 DO Graph: A Complete Guide to PLC Timing Diagrams and I/O Logic

Understanding the relationship between a single Digital Input (DI) and a single Digital Output (DO) is the foundational building block of all industrial automation. Whether you are a student learning PLC programming, a technician troubleshooting a packaging line, or an engineer designing a safety circuit, the 1 DI vs 1 DO graph—commonly known as a timing diagram—is your primary diagnostic and design tool. This article provides a deep dive into reading, drawing, and utilizing these graphs to master discrete control logic.

What Exactly is a 1 DI vs 1 DO Graph?

At its core, a 1 DI vs 1 DO graph is a visual representation of cause and effect over time. It plots the state of one Digital Input (the cause: a sensor, pushbutton, or switch) against the state of one Digital Output (the effect: a solenoid, motor starter, or indicator light) on a shared time axis Turns out it matters..

Unlike a trend chart for analog signals (which shows continuous voltage or current), this graph is binary. So it deals exclusively in two states: ON (True/1/High/24V) and OFF (False/0/Low/0V). The "graph" appears as a series of rectangular pulses or step functions But it adds up..

`

The horizontal axis represents Time, while the vertical axes (typically stacked) show the binary states of the DI and DO. The space between the two lines is not just empty—it is where the logic of your PLC program is visualized. By examining the gap between a change in the input and the resulting change in the output, you can identify crucial timing parameters like scan cycle time, logic execution delay, and any intentionally programmed timers or flip-flop functions Which is the point..

Key Components to Identify on Your Graph

When you look at a 1 DI vs 1 DO graph, focus on these critical elements:

  1. Rising and Falling Edges: These are the vertical transitions between OFF and ON (rising edge) and ON and OFF (falling edge). They mark the precise moment a signal changes state.
  2. Time Delay (ΔT): The horizontal distance between a DI edge and its corresponding DO edge. This delay is the sum of the input filter time, the PLC scan cycle, the program logic execution time, and the output update time. For a simple, direct assignment (DO = DI), this delay is often just a few milliseconds, primarily due to the scan cycle.
  3. Pulse Width: The duration for which a signal remains in the ON state. This is critical for applications like debouncing a switch or ensuring a solenoid is energized long enough to actuate.
  4. State Logic: The pattern of ON/OFF states reveals the logic at play. A simple "direct control" will show the DO mirroring the DI after a minimal delay. More complex patterns indicate the use of latching (SR) commands, timers (TON/TOF), or edge-triggered instructions.

Practical Applications: From Theory to the Factory Floor

Understanding this graph is not an academic exercise; it is an indispensable skill for several key tasks:

  • System Design and Documentation: Before writing a single line of code, engineers use timing diagrams to map out how inputs should control outputs. This serves as a blueprint for the entire control system, ensuring all team members understand the intended behavior.
  • Troubleshooting and Diagnostics: When a machine malfunctions, the timing diagram is your first point of investigation. By comparing the actual behavior (observed with a scope or PLC diagnostic tool) against the expected graph, you can pinpoint the failure. Is the output not turning on? Check if the input signal is present. Is there an unexpected delay? The issue might be a slow input filter or a complex logic routine taking too long to execute.
  • Program Verification: After programming, you can simulate the logic and generate a timing diagram. This allows you to verify that the program behaves as intended under different input scenarios before downloading it to the PLC, saving valuable downtime during commissioning.

Advanced Scenarios: Introducing Logic and Timing

The true power of the 1 DI vs 1 DO graph is revealed when simple logic is applied. Consider these common scenarios:

  • Latching Logic (Start-Stop Circuit): A momentary pushbutton (DI) starts a motor (DO). The graph will show the DO turning ON when the DI pulses and, crucially, staying ON even after the DI returns to OFF. The DO will only turn OFF when a second "stop" input is activated.
  • Timer-On-Delay (TON): A DI triggers a timer. The graph will display a distinct, programmed delay (ΔT) between the DI turning ON and the DO turning ON. This is used for applications like delaying a conveyor start after a gate closes.
  • Pulse Generation: A long DI signal is converted into a short DO pulse. The graph shows the DO turning ON briefly at the rising edge of the DI and then turning OFF after a fixed time, regardless of how long the DI remains ON. This is essential for triggering events like incrementing a counter.

Conclusion: The Graph as Your Universal Language of Control

So, to summarize, the 1 DI vs 1 DO graph transcends its simplicity. Now, it is the universal language of discrete control, bridging the gap between physical-world events and the digital logic that governs them. On the flip side, by mastering the interpretation of this graph, you move from merely writing code to truly designing and understanding automated processes. So naturally, it is the definitive tool for ensuring your systems are not only functional but also efficient, reliable, and safe. Whether you are implementing a basic switch or a complex safety interlock, the principles visualized in this fundamental graph are the bedrock of industrial automation.

Hot Off the Press

Just Landed

Explore a Little Wider

Stay a Little Longer

Thank you for reading about 1 Di Vs 1 Do Graph. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home