SLC-500 item naming
- Last UpdatedAug 29, 2024
- 1 minute read
The general format of item names for data from SLC-500 controllers matches the naming convention used by the programming software. The format is as follows:
[$] 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 # – Identifies the file number.
File numbers 0 - 8 decimal are reserved for predefined file types as listed in the
table.
All other file numbers, 9 - 255 decimal, are open to all file types.
element – Element number within the file.
For Input and Output files, it must be 0 - 30 decimal.
For all other file types, it must be 0 - 255 decimal.
.field – Valid only for Counter, Timer and Control files; see the following table.
/bit – Valid for all file types except ASCII String and Floating Point.
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 .UA |
|
R |
Control |
6 |
.LEN .POS .EN .DN .ER .UL .IN .FD |
|
N |
Integer |
7 |
|
|
F |
Floating Point* |
8 |
|
|
A |
ASCII* |
none |
|
|
ST |
ASCII String* |
none |
*Available only on certain SL-500 models. Check the Processor Manual for the model being used.