PLC-5 item naming
- Last UpdatedAug 29, 2024
- 2 minute read
The general format of item names for data from 1785 PLC-5 controllers matches the naming convention used by the programming software. The following is the format:
[$] identifier [file #] : element [.field] [/bit]
Note: The parts of the name shown in square brackets ([]) are optional.
$ – Purely optional.
identifier – Identifies the file type. The following table summarizes the valid file types, the default file number for each type, and the fields allowed (if any).
file # – File number (0 - 999 decimal).
File 0 must be Output.
File 1 must be Input.
File 2 must be Status.
element – Element number within the file.
For Input and Output files it is also called rack-and-group number and must be 0 -
277 octal.
For all other file types, it must be 0 - 999 decimal.
.field – Valid only for Counter, Timer, Control, ASCII String, PID, SFC Status, and Block Transfer files. Refer to the following table.
/bit – Valid for all file types except ASCII String and Floating Point.
For Input and Output files it must be 0 - 17 octal.
For all other file types it must be 0 - 15 decimal.
|
Identifier |
File Type |
Default File # |
.fields |
|---|---|---|---|
|
O |
Output |
0 |
|
|
I |
Input |
1 |
|
|
S |
Status |
2 |
|
|
B |
Binary |
3 |
|
|
T |
Timer |
4 |
.PRE .ACC .EN .TT .DN |
|
C |
Counter |
5 |
.PRE .ACC .CU .CD .DN .OV .UN |
|
R |
Control |
6 |
.LEN .POS .EN .EU .DN .EM .ER .UL .IN .FD |
|
N |
Integer |
7 |
|
|
F |
Floating Point |
8 |
|
|
A |
ASCII |
none |
|
|
D |
BCD |
none |
|
|
ST |
ASCII String* |
none |
.LEN |
|
PD |
PID* |
none |
.ADRF .ADRE .BIAS .CA .CL .CT .DB .DO .DVDB .DVN .DVNA .DVP .DVPA .EN .ERR .EWD .INI .KD .KI .KP .MAXI .MAXO .MAXS .MINI .MINO .MINS .MO .OLH .OLL .OUT .PE .PV .PVDB .PVH .PVHA .PVL .PVLA .PVT .SO .SP .SPOR .SWM .TIE .UPD |
|
SC |
SFC Status* |
none |
.DN .ER .FS .LS .OV .PRE .SA .TIM |
|
BT |
Block Transfer* (Read-Only) |
none |
.EN .ST .DN .ER .CO .EW .NR .RW .TO .RLEN .DLEN .FILE .ELEM |
* Available only on certain PLC-5 models. Check the Processor Manual for the model being used.