MIcroLogix 1400 and RS500: OSR & OTL

Saulo35

Member
Join Date
Jan 2012
Location
Port Coquitlam, BC
Posts
112
Hi,

I am reviewing somebody else's logic and I find the following:

|----(some logic)----[OSR StorageBit OutputBit]-----|
|----[XIC OutputBit]------------------[OTL SomeOtherBit]----|

To me, the OSR instruction is unnecessary. The following logic should produce the same results:

|----(some logic)----[OTL SomeOtherBit]----|

This is a MicroLogix 1400 Series B with RS500 8.30.01.

Your thoughts?

Thank you,

Saulo35
 
Hi,

I am reviewing somebody else's logic and I find the following:

|----(some logic)----[OSR StorageBit OutputBit]-----|
|----[XIC OutputBit]------------------[OTL SomeOtherBit]----|

To me, the OSR instruction is unnecessary. The following logic should produce the same results:

|----(some logic)----[OTL SomeOtherBit]----|

This is a MicroLogix 1400 Series B with RS500 8.30.01.


There is a substantial difference. Without the OSR instruction, as long as (some logic) is true, (SomeOtherBit) will latch every scan. This means that even if somewhere else in the program a OTU (SomeOtherBit) is executed, the bit will relatch on the following scan (or just stay latched, if the OTL follows rather than precedes the OTU).

The purpose of a OSR (or an ONS on other Logix platforms) is to have the truth of the output only last for one program scan, regardless of the input conditions. The OSR (One-Shot Rising) output bit will be true for ONE scan on a FALSE-to-TRUE transition of the preceding rung logic. There is also a OSF (One-Shot Falling) instruction which will turn on an output for ONE scan on a TRUE-to-FALSE transition.

Two good examples of uses for a OSR:
1. After an XIC of a PB or HMI input which performs math on an analog value. You wouldn't want the incrementing or decrementing to continue the entire time the button is pressed, so you use the OSR to ensure the logic only executes once per button press.
2. When you have an alarm that turns on an audible buzzer. Whenthe alarm condition is scanned by the PLC as true, you can use a OSR after the condition prior to latching a bit that turns on the buzzer. That way, the alarm can be acknowledged and silence the buzzer, even though the alarm still exists. (Similarly, I use OSR's with "Alarm Ack" buttons so operators can't defeat alarms by wedging something in to hold the ack button "on")

Anyway, that's my $.02 on one-shots. That and another 73 cents may even buy you a soda.

Welcome to the Forum!
Cheers,
Dustin
 
Thank you very much Dustin and I apologize for my delayed reply. I was somehow convinced that the OTL instruction had an ONS or OSR "built-in" at its input. If that were true, then even if an OTU were executed, SomeOtherBit would not be latched again until (some logic) transitioned to FALSE and then to TRUE again.

Following your advice, I did not eliminate the OSR in the reviewed program.

Best regards,

Saulo35
 

Similar Topics

I'm using a SLC typed write from the ControlLogix5572 to the MicroLogix 1400, with path: 2, (MicroLogix IP). The ControlLogix equipment has a...
Replies
0
Views
87
Hi, I am working with a Micrologix 1400 model 1766-L32BXB. With no input wires connected to the “in12” thru “in19”, I am getting 24 volts while...
Replies
4
Views
221
Hi everyone, I hope I don't butcher this up, please feel free to critique me wherever if I do, I have an issue I would equate to "chasing...
Replies
4
Views
300
Hi everyone, I'm working on a project where I need to exchange data between a Siemens S7-1200 PLC and an Allen-Bradley MicroLogix 1400 PLC. The...
Replies
8
Views
637
I'm not super familiar with the Micrologix line of processors, but I am pretty familiar with RSLogix 500. I'm trying to simply copy a string to...
Replies
4
Views
302
Back
Top Bottom