MicroLogix 1000: specifying logical addresses
The format of a logical address,
xf:e
, corresponds directly to the location in data storage.Where | Is the: | ||||
---|---|---|---|---|---|
x | File type: | O | output | T | timer |
I | input | C | counter | ||
S | status | R | control | ||
B | binary | N | integer | ||
f | File #: | 0 | output | 4 | timer |
input | 5 | counter | |||
status | 6 | control | |||
binary | 7 | integer | |||
: | Element delimiter: | Colon or semicolon delimiter separates file and structure/word numbers | |||
e | Element number: 0 to: | 0 | output | 39 | timer |
input | 31 | counter | |||
32 | status | 15 | control | ||
31 | binary | 104 | integer |
Assign logical addresses to instructions from the highest level (element) to the lowest level (bit). Refer to these addressing examples:
To specify the address of a: | Use these parameters: | Where: | Is the: |
---|---|---|---|
File | N7:2 | N7: 2 | File Type File Number |
Word within an integer file | T4:7/ACC | T 4 : 7 / ACC | File Type File Number File Delimiter Structure Number Delimiter Word |
Bit within an integer file | R7:2/5 | R 7 : 2 / 5 | File Type File Number File Delimiter Word Number Bit Delimiter Bit Number |
Bit within a binary file | B3/31 | / 31 | Bit Delimiter Bit Number Bit files are bit stream continuous files, and therefore you can address them by word and bit, or by bit alone. |
Bit within a structure file | R6:7/DN | R 6 : 7 / DN | File Type File Number File Delimiter Structure Number Delimiter Mnemonic |
Provide Feedback