EasyManuals Logo

Allen-Bradley MicroLogix 1200 Reference Manual

Allen-Bradley MicroLogix 1200
424 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #131 background imageLoading...
Page #131 background image
Publication 1762-RM001C-EN-P
Relay-Type (Bit) Instructions 7-7
Use the OSR and OSF instructions to trigger an event to occur one time.
These instructions trigger an event based on a change of rung state, as
follows:
Use the OSR instruction when an event must start based on the
false-to-true (rising edge) change of state of the rung.
Use the OSF instruction when an event must start based on the
true-to-false (falling edge) change of state of the rung.
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:
Table 7.12 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
Table 7.13 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
Table 7.14 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 page4-2.
Parameter
Data Files Function Files
CS - Comms
IOS - I/O
Address
Mode
Address
Level
O
I
S
B
T, C, R
N
ST
L
MG, PD
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
DAT
TPI
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
Storage Bit ••
Output Bit •• ••

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1200

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley MicroLogix 1200 and is the answer not in the manual?

Allen-Bradley MicroLogix 1200 Specifications

General IconGeneral
SeriesMicroLogix 1200
TypeProgrammable Logic Controller (PLC)
MountingDIN rail or panel mount
Programming LanguageLadder Logic
Programming SoftwareRSLogix 500
I/O PointsUp to 40
Communication PortsRS-232, RS-485
Memory6 KB user memory
Power Supply24V DC or 120/240V AC
ExpansionSupports expansion I/O modules
Operating Temperature0°C to 55°C (32°F to 131°F)
Dimensions90 mm x 110 mm
Weight0.5 kg (1.1 lbs)

Related product manuals