TestBench.tools
GitHub

Allen-Bradley SLC 500 Address Converter

Decode N7:2/8, B3/16 and slot-based I:2.1/3 SLC addresses.

Reserved files

O0 Output · I1 Input · S2 Status · B3 Bit · T4 Timer · C5 Counter · R6 Control · N7 Integer · F8 Floating point

Files 9–255 are whatever you configure them to be.

Canonical
N7:2/8
File
N7 — Integer (reserved)
Element
2 — one 16-bit word
Bit
8
Bit from start of file
40
Bit-only shorthand
N7/40

This tool decodes Allen-Bradley SLC 500 addresses. Enter a data-table address such as N7:2/8, the bit shorthand B3/16, or an I/O address like I:2.1/3, and it returns the file and its type, the element, the bit, and the bit's position counted from the start of the file. Reference: N7:2/8 is bit 8 of element 2 in integer file 7.

How it works

SLC memory is organised as numbered files rather than one flat address space, so an address has to say which file it means, which element inside that file, and — when it is a bit operation — which of the sixteen bits. That is exactly what the punctuation encodes: a colon before the element, a slash before the bit. Because each element is a single 16-bit word, the bit range stops at 15, and an address like N7:0/16 is not a deeper bit but a mistake.

The first nine files are reserved, which is why you cannot put integers in file 3 or bits in file 7 — those numbers already mean something. From file 9 upward the type is whatever the program declares, so the letter in the address is the only clue to what a file holds. I/O breaks the pattern deliberately: its words come from physical slots, so the number after the colon is a slot position and the terminal you are chasing is the bit within that slot's word.

Worked example

N7:2/8 → integer file 7, element 2, bit 8
bit from start of file → 2 × 16 + 8 = 40
same bit as shorthand → N7/40
I:2.1/3 → input, slot 2, word 1, bit 3 → terminal 19 of that slot
N7:0/16 → rejected — an element holds bits 0-15

Reserved files and syntax

ParameterValueNotes
O0 / I1Output / Inputaddressed by slot
S2Status
B3Bit
T4 / C5 / R6Timer / Counter / Control
N7Integer
F8Floating point
9–255User-assignedB T C R N F ST A
:Element delimiterelement 0–255
/Bit delimiterbit 0–15

Source: SLC 500 Instruction Set Reference Manual, Rockwell Automation publication 1747-RM001G-EN-P (November 2008), Processor Files.

FAQ

What does N7:2/8 mean?

Bit 8 of element 2 in integer file 7. The colon separates the file from the element and the slash selects a bit inside it. An SLC element is one 16-bit word, so the element number runs 0 to 255 and the bit runs 0 to 15.

Why is file 7 always integers?

Files 0 to 8 are reserved with fixed meanings: O0 output, I1 input, S2 status, B3 bit, T4 timer, C5 counter, R6 control, N7 integer and F8 floating point. Files 9 to 255 are the ones you configure, and they can be bit, timer, counter, control, integer, floating point, ASCII or string.

How does B3/16 relate to B3:1/0?

They are the same bit. The shorthand counts bits straight through the file, and since each element holds 16 bits, bit 16 is the first bit of element 1. The tool shows both forms so you can move between a bit list and an element view.

Why is I/O addressed differently?

Because I/O words come from the chassis rather than from a data table. In I:2.1/3 the first number is the slot, the second is the word within that slot and the third is the bit. The word part is only needed when a module has more than 16 points, which is why O:5 and O:5.0 mean the same thing — your programming software will display the fuller form.

Where does this come from?

The SLC 500 Instruction Set Reference Manual, Rockwell Automation publication 1747-RM001G-EN-P (November 2008), in the Processor Files chapter: the element and bit delimiters and their ranges, the slot/word I/O format, and the default file assignments.

Does it cover ControlLogix tags?

No. Logix controllers are tag-based rather than file-based, so there is no numeric address to convert. This tool covers the SLC 500 style file addressing.

Related tools