Home Installing WebPort WebPort User Interface Technical Reference Glossary Search

Contents

Micro/SLC-500/PLC 5 Addressing Formats

The general format of value names for data from the listed controllers matches the naming convention used by the programming software. The format is shown below. The parts of the name shown in in square brackets [] are optional.

General Value Name Format: X: [file] element [.field] [/bit]

X is the file type. The following table lists valid file types, the default file number for each type, and fields allowed:

X File Type Default File Number 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 8  
A ASCII None  

File elements:

Output File Elements:

Output File Element Format: O[n]:e.s[/b]

Input File Elements:

Input File Element Format: I[n]:e.s[/b]

Status File Elements:

Status File Element Format: S[n]:e[/b]

Binary File Elements:

Binary File Element Format: B[n]:e[/b]

  • n. Represents the file number. Optional. If not specified, it is assumed to be 3. Otherwise it must be between 3 and 255 decimal.
  • e. Indicates the element number in the file (0 to 255).
  • b. Specifies the bit (0 to 15).

Timer File Elements:

Timer File Element Format: T[n]:e[.f][/b]

  • n. Represents the file number. Optional. If not specified, it is assumed to be four. Otherwise it must be between 4 and 255 decimal.
  • e. Indicates the element number (3 words per element) in the file (0 to 255).
  • f. Identifies one of the valid values for timer fields specified in the table above. If omitted, it is assumed to be the word containing the status bits.
  • b. Specifies the bit (0 to 15).

Counter File Elements:

Counter File Element Format: C[n]:e[.f][/b]

  • n. Represents the file number. Optional. If not specified, it is assumed to be five. Otherwise it must be between 5 and 255 decimal.
  • e. Indicates the element number (3 words per element) in the file (0 to 255).
  • f. Identifies one of the valid values for timer fields specified in the table above. If omitted, it is assumed to be the word containing the status bits.
  • b. Specifies the bit (0 to 15).

Control File Elements:

Control File Element Format: C[n]:e[.f][/b]

  • n. Represents the file number. Optional. If not specified, it is assumed to be six. Otherwise it must be between 6 and 255 decimal.
  • e. Indicates the element number (3 words per element) in the file (0 to 255).
  • f. Identifies one of the valid values for timer fields specified in the table above. If omitted, it is assumed to be the word containing the status bits.
  • b. Specifies the bit (0 to 15).

Integer File Elements:

Integer File Element Format: N[n]:e[/b]

  • n. Represents the file number. Optional. If not specified, it is assumed to be seven. Otherwise it must be between 7 and 255 decimal.
  • e. Indicates the element number in the file (0 to 255).
  • b. Specifies the bit (0 to 15).

Floating File Elements:

Floating File Element Format: F[n]:e

  • n. Represents the file number. Optional. If not specified, it is assumed to be eight. Otherwise it must be between 8 and 255 decimal.
  • e. Indicates the element number in the file (0 to 255).

ASCII File Elements:

ASCII File Element Format: A[n]:e[/b]

  • n. Represents the file number and is not optional.
  • e. Indicates the element number in the file (0 to 255).
  • b. Specifies the bit (0 to 15).

Contents