PLC-5 item naming
- Last UpdatedAug 29, 2024
- 2 minute read
The general format of item names for data from the PLC-5 controllers matches the naming convention used by the programming software. The following is the format:
[$] X [file] : element [.field] [/bit]
Note: The parts of the name shown in square brackets ([]) are optional.
|
Item Name |
Description |
|---|---|
|
$ |
Purely optional. |
|
X |
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).
|
|
element |
Element number within the file.
|
|
.field |
Valid only for Counter, Timer, ASCII String, PID, SFC Status, Block Transfer, and Control files. Refer to the following table. |
|
/bit |
Valid for all file types except ASCII String and Floating Point.
|
|
Identifier |
File Type |
Default File # |
.fields |
|---|---|---|---|
|
O |
Output |
0 |
N/A |
|
I |
Input |
1 |
N/A |
|
S |
Status |
2 |
N/A |
|
B |
Binary |
3 |
N/A |
|
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 |
N/A |
|
F |
Floating Point |
8 |
N/A |
|
A |
ASCII |
None |
N/A |
|
D |
BCD |
None |
N/A |
|
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 |
|
MG |
Message |
None |
.NR .TO .EN .ST .DN .ER .CO .EW .ERR .RLEN .DLEN .DATA[0] through .DATA[51] |
|
CT |
CNet Message |
None |
.TO .EW .CO .ER .DN .ST .EN .ERR .RLEN .DLEN .FILE .ELEM |
* Available only on certain PLC-5 models. Check the Processor Manual for the model being used.
Related Links
- Output File Items
- Input File Items
- Status File Items
- Binary File Items
- Timer File Items
- Counter File Items
- Control File Items
- Integer File Items
- Floating Point File Items
- ASCII File Items
- BCD File Items
- ASCII String Section Items
- Block Transfer Section Items
- PID Section Items
- SFC Status Section Items
- Message Section Items
- CNetMessage Control Block Items