Allen-Bradley PLC-5/250 via TCP/IP - Data Types
- Last UpdatedAug 01, 2025
- 3 minute read
Note: The Allen-Bradley PLC-5/250 has many data types. The driver makes a separate request for each different data type, and each request has a finite overhead. It is more efficient to read fewer data types, so you should move the I/O and other data into a few main blocks to be read by Plant SCADA.
|
Data Types |
Address Format |
Plant SCADA Data Type |
|---|---|---|
|
Output image |
O:O/o |
DIGITAL |
|
Input image |
I:O/o |
DIGITAL |
|
Status words 0 to 350 |
S:w/b |
DIGITAL |
|
Internal storage |
IS:w/b |
DIGITAL |
|
Status words 0 to 31 |
nS:w/b |
DIGITAL |
|
Timer |
nTf:w.t |
DIGITAL |
|
Timer |
nTf:w/b |
DIGITAL |
|
Counter |
nCf:w.c |
DIGITAL |
|
Counter |
nCf:w/b |
DIGITAL |
|
Control |
nRf:w.r |
DIGITAL |
|
Control |
nRf:w/b |
DIGITAL |
|
Binary |
nBf:w/b |
DIGITAL |
|
Integer |
nNf:w/b |
DIGITAL |
|
Floating Point |
nFf:w/b |
DIGITAL |
|
Long |
nLf:w/b |
DIGITAL |
|
PID |
nPDf:w.p |
DIGITAL |
|
Block transfer data |
nBTDf:w/b |
DIGITAL |
|
Output image |
O:O |
BCD / INT |
|
Input image |
I:O |
BCD / INT |
|
Status words 0 to 350 |
S:w |
BCD / INT |
|
Internal storage |
IS:w |
BCD / INT |
|
Status words 0 to 31 |
nS:w |
BCD / INT |
|
Counter |
nCf:w.T |
BCD / INT |
|
Control |
nRf:w.C |
BCD / INT |
|
Binary |
nBf:w |
BCD / INT |
|
Integer |
nNf:w |
BCD / INT |
|
Block transfer data |
nBTDf:w |
BCD / INT |
|
Shared data words 0-1023 |
nSDf:w |
BCD / INT |
|
Timer |
nTf:w.T |
LONG / LONGBCD |
|
Long |
nLf:w |
LONG / LONGBCD |
|
Floating Point |
nFf:w |
REAL |
|
PID |
nPDf:w.P |
REAL |
|
String 82 bytes long |
nSTf:w |
STRING |
Where:
|
n |
Optional Module Number 0 to 8 decimal |
|
f |
File Number 0 to 9999 decimal |
|
:w |
Element Number 0 to 9999 decimal |
|
:O |
Element Number 0 to 777 octal |
|
/b |
Bit Number 0 to 15 decimal |
|
/o |
Bit Number 0 to 17 octal |
|
.T |
Timer/Counter Sub Element PRE = Preset Value |
|
.C |
Control Sub Element LEN = Length |
|
.P |
PID Sub Element SP = Set Point |
|
.t |
Timer bits EN = Enable |
|
.c |
Counter bits CU = Count Up |
|
.r |
Control bits EN = Enable |
|
.p |
PID bits EN = Enable |
Examples
|
Data Type |
DIGITAL |
|
Address |
I:1/15 |
|
Comment |
Input Image - Element Number 1 / Bit Number 15 |
|
Data Type |
INT |
|
Address |
N7:3 |
|
Comment |
Input Image - Element Number 1 / Bit Number 15 |
Allen Bradley 5/250 PLCs support remapping reads and writes.