Publication 1763-RM001C-EN-P - October 2009
Relay-Type (Bit) Instructions 165
These instructions use two parameters, Storage Bit and Output Bit.
• Storage Bit - This is the bit address that remembers the rung state
from the previous scan.
• Output Bit - This is the bit address which is set based on a
false-to-true (OSR) or true-to-false (OSF) rung transition. The Output
Bit is set for one program scan.
To re-activate the OSR, the rung must become false. To re-activate the
OSF, the rung must become true.
Addressing Modes and File Types can be used as shown in the following
table:
OSR Storage and Output Bit Operation
Rung State Transition Storage Bit Output Bit
false-to-true (one scan) bit is set bit is set
true-to-true bit is set bit is reset
true-to-false and false-to-false bit is reset bit is reset
OSF Storage and Output Bits Operation
Rung State Transition Storage Bit Output Bit
true-to-false (one scan) bit is reset bit is set
false-to-false bit is reset bit is reset
false-to-true and true-to-true bit is set bit is reset
OSR and OSF Instructions Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 82.
Parameter
Data Files Function Files
CS - Comms
IOS - I/O
DLS - Data Log
Address
Mode
Address Level
O
I
S
B
T, C, R
N
F
ST
L
MG, PD
RI/RIX
PLS
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
LCD
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
Storage Bit • • • •
Output Bit • • • • • •
• •
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive