PLC-5 / SLC Item Syntax |
Home Back Next |
The item syntax for PLC-5 and SLC is set up as shown below:
Legend: <> mandatory [ ] optional <Area>
1 BIT-oriented means that one bit is addressed for each physical address. WORD-oriented means that one word (16 bits) is addressed for each physical address. DOUBLE WORD-oriented means that one double word (32 bits) is addressed for each physical address. [File number]Specification of the file number is optional. If it is not specified, the default file number is used. See column marked Default File Number in the table. <Start address>The start address specifies the address starting at which read or write accesses begin. The start address can consist of 2 pieces of information. Word (floating) number and when a single bit is accessed, then the bit number. The word number can be omitted with a bit. The word number or the floating number is introduced by a colon (:). The bit number is then introduced with a slash (/) <:word> or <:float> or </bit>.
The address is octal for some areas. It is decimal for others. See column labeled Address.
Either the word number, the float number or the bit number is specified as the start address. <:word> or <:float> or </bit>
The following syntax is used to address a certain bit within a word. <:word/bit>
NOTE: When bits are write-accessed, the whole word is written!
[Array size]Arrays are created to combine several units of one data type in a field together. Arrays are only possible for word areas and float areas. The array size is initiated with a #. Examples: N23:4#10 [Tani-Suffix]A value can be represented in another format with the aid of a suffix. If no suffix is specified, the formats from the column Orientation apply. For more information on suffixes, see also Suffixes.
[RsLinx-Suffix]The alternative syntax allows you to use one or more suffixes. Every suffix is initiated. The order is arbitrary.
NOTE: The combination of RSLINX-Suffixes and Tani-Suffixes is not possible.
|