Example for an array with manual addressing

Previous chapterNext chapter Show allShow all    Hide allHide all

The property "Automatic addressing" has to be deactivated. Now the address properties (net address, offset, datablock (optional) and bit number (optional)) can be set individually for each array element. Für our example above this could result in the following:

1

Array of BOOL[1] has the address: Net address 0, datablock 50, offset 100, bit number 0

2

Array of BOOL[2] has the address: Net address 0, datablock 50, offset 100, bit number 2

3

Array of BOOL[3] has the address: Net address 0, datablock 50, offset 101, bit number 0

4

Array of BOOL[4] has the address: Net address 0, datablock 50, offset 101, bit number 2

5

Array of BOOL[5] has the address: Net address 0, datablock 50, offset 102, bit number 0

attention Attention

If either the start offset of the array or the size of the arrray dimension is changed, all address informationen (offset and bit address) is newly calculated. Here all settings entered by handare lost and have to be set again!