EasyManuals Logo

Allen-Bradley SLC 500 Series User Manual

Allen-Bradley SLC 500 Series
694 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 #42 background imageLoading...
Page #42 background image
Publication 1747-RM001G-EN-P - November 2008
2-6 Basic Instructions
Do not use an input or output address to program the address parameter of
the OSR instruction.
Examples
The following rungs illustrate the use of the OSR instruction. The first four
rungs apply to SLC 500 and SLC 5/01 processors. The fifth rung involves
output branching and applies to the SLC 5/02 and higher processors.
TIP
The bit address you use for this instruction must be
unique. Do not use it elsewhere in the program.
] [
I:1.0
0
[OSR]
B3
0
( )
O:3.0
0
TO BCD
Source Tf:0.ACC
Dest O:3
] [
I:1.0
0
[OSR]
B3
0
TOD
SLC 500 and SLC 5/01 Processors
When the input instruction goes from false-to-true, the OSR instruction
conditions the rung so that the output goes true for one program scan. The
output goes false and remains false for successive scans until the input makes
another false-to-true transition.
In this case, the accumulated value of a timer is converted to BCD and moved to an
output word where an LED display is connected. When the timer is running, the
accumulated value is changing rapidly. This value can be frozen and displayed for
each false-to-true transition of the input condition of the rung.
] [
I:1.0
0
[OSR]
B3
0
O:3.0
0
O:3.0
1
( )
( )
] [
I:1.0
0
[OSR]
B3
0
O:3.0
0
O:3.0
1
( )
( )
Using an OSR Instruction in a Branch (SLC 500 and SLC 5/01 Processors)
In the above rung, the OSR instruction is not permitted inside a branch.
In this case, the OSR instruction is not in the branch so the rung is legal.

Table of Contents

Other manuals for Allen-Bradley SLC 500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley SLC 500 Series and is the answer not in the manual?

Allen-Bradley SLC 500 Series Specifications

General IconGeneral
Programming SoftwareRSLogix 500
SeriesSLC 500
CategoryController
ManufacturerAllen-Bradley (Rockwell Automation)
I/O CapacityUp to 4096 I/O points
Communication PortsDH-485
Programming LanguagesLadder Logic
Operating Temperature0 to 60 °C (32 to 140 °F)
Relative Humidity5% to 95% (non-condensing)
Memory4K to 64K words (depending on the processor)
Power SupplyAC or DC (depending on the module)

Related product manuals