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
  • Request
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: One-Shot Rising and Falling Edge Instructions in Rockwell PLC
Share
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
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > One-Shot Rising and Falling Edge Instructions in Rockwell PLC

One-Shot Rising and Falling Edge Instructions in Rockwell PLC

Learn the functions and working principle of one-shot rising edge and one-shot falling edge instructions in Rockwell PLC.

Last updated: October 19, 2023 2:56 pm
Editorial Staff
PLC Tutorials
No Comments
Share
6 Min Read
SHARE

In any PLC, it is important to understand how its instructions have been written. The basic understanding is the same in all the languages; the difference is how it is illustrated. If we are clear with the instructions, then we can work with any type of PLC software.

Contents
One Shot Rising Edge (OSR)One Shot Falling Edge (OSF)

One of the most widely used brands in automation is Rockwell. There are many different types of instructions in it for programming. In that, there are two instructions that are mostly required in any PLC logic. They are – One-shot rising edge and one-shot falling edge. In this post, we will see the working of these two instructions.

One Shot Rising Edge (OSR)

In PLC programming, you must have heard two common types of objects – positive peak and negative peak. A positive peak means that it takes a trigger only when the variable changes from 0 to 1. The output of this object comes in a trigger pulse type.

Now, instead of the variable state, there is one additional instruction in PLCs where you get the trigger output of the whole rung. This means, that when the whole rung or condition changes its state from 0 to 1, then the output will come in a pulse-type trigger condition. This is rising trigger instruction in PLC. In Rockwell PLC, it is called one-shot rising edge instruction.

Refer to the below image for understanding. As you can see, the instruction takes two inputs in its condition. Both are written as NO logic; meaning when both are on, then only the condition is true. Now, when this happens, the instruction has two variables in it – storage bit and output bit. The function of the storage bit is to store the condition state.

When both the bits turn on and the condition changes from 0 to 1, then the storage bit gets updated as 1 and passes on this value to the output bit. The output bit turns on for a very short duration of time, in milliseconds. This pulse output can then be used by the PLC programmer in his logic.

As long as the condition is true, the storage bit does not change. As soon as the condition becomes false, the storage bit is updated with 0. When again the condition becomes true, then the output bit turns on as a pulse.

One-Shot Rising and Falling Edge Instructions in Rockwell PLC

This shows that this instruction is very useful when you want to turn an output by only a pulse, and this pulse must be generated only when the whole condition is true, and not when a single variable becomes true.

One Shot Falling Edge (OSF)

Now, take an example where it is required to take action when the system is stopped. This means, that when the condition becomes false from true, then some action must be taken. And the action must be done in a trigger type; it should not be continuously on. This is called a negative peak. To execute this function, either a negative peak must be taken from the variable or the negative peak must be taken from the whole condition as discussed earlier. For the second type, one-shot falling edge instruction is used in Rockwell PLC.

Refer to the above image. There are 2 NO conditions in the rung, and the output of this rung is connected to the OSF block. The block has two bits – storage and output. The storage bit is used to store the condition of the rung.

When the condition becomes true, then the storage bit is updated to 1. When the condition becomes false from true, then the storage bit is updated to 0 and the output bit becomes 1 in a pulse form. The cycle repeats again when the condition becomes true once again. The output bit is in pulse form and is on for a very short time, in milliseconds.

This shows that this instruction is very useful when you want to turn an output by only a pulse, and this pulse must be generated only when the whole condition is false, and not when a single variable becomes false.

In this way, we saw the one-shot rising edge and one-shot falling edge instructions in Rockwell PLC.

If you liked this article, then please subscribe to our YouTube Channel for Electrical, Electronics, Instrumentation, PLC, and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • AENT Module Rockwell PLC
  • Comparison of Control Loops
  • Top Best Practices of PLC Wiring
  • Site Commissioning Steps for PLC
  • Top 100 PLC Projects for Students
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

Tia Portal – Different Instances of Calling a Function Block
MCQ on PLC (Programmable Logic Controller)
PLC Sequential Operation Example Program
Motor Control Circuits
Automatic Paper Cutting Machine Using CX-Programmer
PLC Program for Sequential Motor Control
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
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

PLC Raw Count Calculation for Pressure Transmitter
PLC Structured Text Program for Light Sequences via Timers
PLC Program for Bank Counter Application
Examples of PLC Programming using Boolean Functions
PLC Program for Automatic Bottle Rejection System
Label the Electrical Circuit Schematic
Features of Scada Which are Must in an IoT System
Instrumentation System Architecture

Keep Learning

PLC Batch System for 4 Tanks Mixing using CX-Programmer

PLC Batch System for 4 Tanks Mixing using CX-Programmer

Current to Voltage Conversion Circuit

How to Convert Current to Voltage using Resistor ?

FIFO and LIFO Sequences in PLC

What are FIFO and LIFO Sequences in PLC?

PLC Interview Questions and Answers

PLC Interview Questions and Answers

Omron PLC increment and decrement

Increment & Decrement Instructions in CX-Programmer (OMRON)

How to use Scale and Normalize Instructions in PLC

Scale and Normalize Instructions in PLC

Converter Instruction in Siemens PLC Programming

Converter Instruction in Siemens PLC Programming

How to Use Analog Input in Mitsubishi FX3U LOLLETTE PLC

How to Use Analog Input in Mitsubishi FX3U LOLLETTE PLC?

Learn More

Resistive Transducers Objective Questions

Resistive Transducers Objective Questions

Design a PLC program for Operational Sequence of Packaging Process

Design a PLC program for Operational Sequence of Packaging Process

Linear to Square Root Extraction

Establish Communication Between Two PLC Via PROFIBUS Protocol

Establish Communication Between Two PLC Via PROFIBUS Protocol

PLC Circuit Answers

PLC connected to Three Pushbutton Switches

interview-questions-and-answers-on-natural-gas

Oil and Gas Interview Questions Answers

Control Loops Multiple Choice Questions

Control Loop Multiple Choice Questions

Chemical Reactor Vessel P and ID

Questions on Chemical Reactor Vessel P & ID

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?