Installation manual

Publication 1747-RM001G-EN-P - November 2008
Data File Organization and Addressing E-15
Examples
Creating Data for Indirect Addresses
Data tables are not expanded automatically to accommodate indirect
addresses. You must create this data with your programming software.
Crossing File Boundaries
Crossing file boundaries is not allowed. A runtime error occurs if you use an
offset value which would result in crossing a file boundary.
Monitoring Indirect Addresses
An asterisk is displayed at all times when monitoring an indirect address.
Addressing File Instructions - Using the File Indicator (#)
File instructions employ user-created files. These files are addressed with the #
sign. They store an offset value in word S:24, just as with indexed addressing
discussed in the last section.
Table E.6 Valid Addresses
Valid Address Variable Explanation
N7:[C5:7.ACC] Word number The word number is the accumulated value of counter 7 in file 5.
B3/[I:0.17] Bit number The bit number is stored in input word 17.
N[N7:0]:[N9:1] File and word
number
The file number is stored in integer address N7:0 and the word number in integer address N9:1.
St10:[N7:0].1 Element number The element number is stored in N7:0.
I:[N7:0].1/1 Slot number The slot number is stored in N7:0.
COP
FLL
BSL
BSR
FFL
FFU
Copy File
Fill File
Bit Shift Left
Bit Shift Right
(FIFO Load)*
(FIFO Unload)*
LFL
LFU
SQO
SQC
SQL
(LIFO Load)*
(LIFO Unload)*
Sequencer Output
Sequencer Compare
Sequencer Load*
* Available in the SLC 5/02 and higher processors.