This functionality is only available for certain module packages. Info / Copyright

Address Formats

A PLC address is usually composed of several address elements. However, the structure of PLC addresses can vary with the type of PLC. Digital and analog input and output addresses are also differently constructed in many cases.

  • Addressing digital inputs and outputs: Digital input and output addresses are usually constructed from a letter (for input or output), a byte address and a bit address. In addition to bit and byte addresses, there are also higher-order addresses such as WORD and DWORD addresses (for PLC cards, PLC modules etc.).
  • Addressing analog inputs and outputs: With analog inputs and outputs, often only the byte address and the higher-order address element are specified and the bit address is omitted. Addressing of analog inputs and outputs is done using bytes, words or double-words. You can recognize this at a particular position in the address (i.e. the code) or the data type. In accordance with this, the analog addresses are incremented in steps of 1, 2, or 4. These can occur mixed in a PLC. You can define the size of the addressing range based on the data type. If you specify the data type of a PLC address, then the defined addressing range is automatically accounted for when addressing.

When addressing, the first level (as viewed from the rear) begins with the starting value and is incremented until the end value is reached. A carried value is then created for the address element. The end value is disregarded in the last level since the carried value can no longer be displayed.

Structure of the format elements

Every address element of a PLC address is represented using a format element of type "Counter". Separators between the counters show the borders of the address elements. Areas with fixed numbers of positions within the address format can be placed after each other without a separator.

You can include the configuration data of the PLC box and the channel designation in the format. When addressing, the suggestion for the start address then contains this information. When addressing several cards, the value for every new card is obtained from the card data; when addressing a single card the counting proceeds from the start address.

A format element for a counter is built in the following manner:

[C<number system, start value, end value, number of digits, configuration value from property>]

The number system and the configuration value are each specified by an identifier:

Number system identifier

Example

d = decimal

0,1,2,3....9, 10,11....19, 20....

o = octal

0,1,2,3....7, 10,11....17, 20....

h = hexadecimal

0,1,2,3....9, a,b,c,d,e,f, 10,11....19, 1a,1b,1c,1d,1e,1f, 20....

Configuration value identifier

Property

O

No configuration value

N

PLC station: ID

R

PLC card is placed on rack ID

M

Position (slot / module)

G

Start address of PLC card

C

CPU: Name

If the address format contains more than one address element then, during automatic addressing, "PLC box oriented" addressing is performed, i.e., the addresses within the box will always begin with the starting value of the first level. With only one address element, simple sequential addressing is performed.

Address with configuration value

If a configuration value is used in the address format, and the cards to be addressed have a valid and standardized configuration value, then the addresses are consolidated – even across multiple cards. The counter is incremented sequentially, starting from the configuration value (e.g. 25). When the end value is reached (e.g. 25.7), the start value specified by the configuration value is increased by one, and addressing continues (new addresses, e.g. 26.0 ... 26.7, etc.).

If no configuration value is set in the address format, the start address specified in the dialog Address PLC connection points is used for addressing purposes. In this case the addresses are not consolidated, and the counter restarts with each new card (new addresses, e.g. 25.0, 25.1, 26.0, 26.1, etc.).

Note:

The addresses will not be consolidated if the cards to be addressed do not have a standard configuration value, or have one that is blank or invalid. If the configuration value is blank or invalid, the start address from the dialog Address PLC connection points, or the most recently used address, will be used for addressing purposes.

See also