One-shot rising (osr) – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual
Page 231

Chapter 16
Bit Instructions
16–7
One–Shot Rising
OSR
Input Instruction
[OSR]
B3
0
OSR
F1
F2
F3
F4
F5
ZOOM on OSR –|OSR|– 2.3.0.0.2
NAME: ONE SHOT RISING
BIT ADDR: B3/0 ***************0
EDT_DAT
HHT Ladder Display:
HHT Zoom Display:
Ladder Diagrams and APS Displays:
(online monitor mode)
The OSR instruction is a retentive input instruction that triggers an event to
occur one time. Use the OSR instruction when an event must start based on
the change of state of the rung from false–to–true, not on the resulting status.
Applications include starting events triggered by a pushbutton switch. An
example is freezing rapidly displayed LED values.
This instruction makes a rung true for one program scan upon every
false-to-true transition of the conditions preceding it in the rung. The output
instructions on the rung are executed for only one program scan, even if the
rung goes true and remains true.
Instruction Parameters
Use a bit address from either the bit or integer data file. The addressed bit is
set (1) as long as rung conditions preceding the OSR instruction are true; the
bit is reset (0) when rung conditions preceding the OSR instruction are false.
The address assigned to the OSR instruction is not the one–shot address to be
referenced by your program. The address allows the OSR instruction to
“remember” its previous rung state. The output instruction(s) that follow the
OSR instruction can be referenced by your program.
The bit address you use for this instruction must be unique. Do not use it
elsewhere in the program.
We recommend that you do not use an input or output address to program the
address parameter of the OSR instruction.
The following rungs illustrate the use of the OSR instruction.
One-Shot Rising (OSR)