Inst ToolsInst ToolsInst Tools
  • 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: One-Shot Rising and Falling Edge Instructions in Rockwell PLC
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • 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 > 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 !

Recommended Articles

PLC Sequence Programming Ladder Logic
Difference between Motion Controller and PLC
Free Industrial Control System (ICS) Cyber Security Training Course
SCADA Hardware and Software
How to use Converters in PLC
Extended Timer Logic in PLC
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

  • William Snyder on Top Non-PLC Certification Courses for Automation Professionals
  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

Check Block Consistency Tools

Check Block Consistency Tools in Simatic Manager

Control Panel

What is a Control Panel and its types?

Control Methods in Servo Motor Drives

Various Control Methods in Servo Motor Drives

Schneider PLC Programming Example

Schneider PLC Programming Example for Beginners

PLC Program for Counting Objects on Conveyor

PLC Program for Counting Moving Objects on Conveyor

Introduction to PLC

Introduction to PLC – Advantages of PLC

Basics of Sinking and Sourcing

Basics of Sinking and Sourcing – Automation System MCQ

PLC Ladder Logic Simulator Mobile Apps For Android

PLC Ladder Logic Simulator Mobile Apps For Android

More Articles

Applications of Synchronous Motors

types of maintenance programs

Maintenance – Preventive, Predictive, Proactive, Corrective

Shift Bit Register in PLC

Shift Bit Register in PLC

Bio Sensors Objective Questions

Bio Sensors Objective Questions

Advantages & Disadvantages of Air Insulated Substation

Advantages & Disadvantages of Air Insulated Substation

Emergency Block Valve

SIS Emergency Block Valves (EBV)

Power Electronics Objective Questions

Thyristors Quiz

Digital input signals in safety circuits

1oo2 Evaluation Safety Instruction in Safety PLC

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?