Available addressing modes – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual
Page 418
Appendix C
Valid Addresssing Modes and File Types
for Instruction Parameters
C–2
The following addressing modes are available:
•
immediate
•
direct
•
indexed direct
Immediate Addressing
Indicates that a constant is a valid file type.
Direct Addressing
The data stored in the specified address is used in the instruction. For
example:
N7:0
T4:8.ACC
ST20:5
Indexed Direct Addressing
You may specify an address as being indexed by placing the “#” character in
front of the address. When an address of this form is encountered in the
program, the processor takes the element number of the address and adds to
it the value contained in the Index Register S:24, then uses the result as the
actual address. For example:
#N7:10 where S:24 = 15
The actual address used by the instruction is N7:25.
Available Addressing Modes