
Addressing
Indexed/Indirect
2-7
Indexed Addressing
Indexed addressing offsets an address by the number of elements you select. You store the offset value in an offset word in word 24 of the status
file S:24. The processor starts operation at the base address plus the offset. You can manipulate the offset word in your ladder logic.
The indexed address symbol is the # character. Place the # character immediately before the file-type identifier in a logical a ddress.
Important:
File instructions manipulate the offset value stored at S:24. Make sure that you monitor or load the offset value you want prior to
using an indexed address. Unpredictable machine operation could occur.
Indirect Addressing
• You can indirectly address the following: file number; element number; bit number
• Substitute address must be of type: N, T, C, R, B, I, O, S.
• Enter the address in brackets [ ]
Examples:
Indirect Address
Variable
N[N7:0]
file number
N7:[C5:7.ACC]
element number
B3:/[I:017]
bit number