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 #69 background imageLoading...
Page #69 background image
Publication 1762-RM001C-EN-P
Programming Instructions Overview 4-7
Example - Using Indirect Addressing to Duplicate Indexed
Addressing
In this section, an indexed addressing example is shown first. Then an
equivalent indirect addressing example is shown. Indexed addressing is
supported by SLC 500 and MicroLogix 1000 programmable controllers.
The MicroLogix 1200 and 1500 do not support indexed addressing. This
example is shown for comparison purposes.
Indexed Addressing Example
The following ADD instruction uses an indexed address in the Source A
and Destination addresses. If the indexed offset value is 20 (stored in
S:24), the controller uses the data stored at the base address plus the
indexed offset to perform the operation.
In this example, the controller uses the following addresses:
Operand Base Address Offset Value in S:24 Working Address
Source A N7:0 20 N7:20
Destination N15:0 20 N15:20
NOTE
In the SLC and ML1000 controllers, there are some
instructions that clear S:24 after the instruction completes.
For this reason, you must insure that the index register is
loaded with the intended value prior to the execution of
an indexed instruction.
ADD
Add
Source A #N7:0
Source B 25
Dest #N15:0
ADD ADD
Add
Source A N7:20
Source B 25
Dest N15:20
ADD
Indexed
Addresses
Working
Addresses

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