Addressing Example—800 Series I/O Modules with Control Expert
(Original Document)
Analog Module
The following example compares the 2 possible addressing modes. An 8-channel analog input module B875-200 with the following configuration data is used:
To access the I/O data from the module you can use the following syntax:
Module data
Flat addressing
Topological addressing
Concept addressing
Channel 3
%IW203
%IW\2.4\3.5.3
300203
For comparison, the register addressing as used with concept is added in the last column.
Discrete Module
The following example compares the 2 possible addressing modes. An 32-channel discrete output module B838-032 with the following configuration data is used:
To access the I/O data from the module you can use the following syntax:
Module data
Flat addressing
Topological addressing
Concept addressing
Output 5
%MW101.11
%QW\2.4\3.4.1.1.11
300101
Output17
%MW102.15
%QW\2.4\3.4.1.2.15
300102
For comparison, the register addressing as used with concept is added in the last column. As concept does not support direct addressing of a bit in a word, the bit extraction has to be performed in the user program.
The same configuration as before but data mapped into bits:
To access the I/O data from the module you can use the following syntax:
Module data
Flat addressing
Topological addressing
Concept addressing
Output 5
%M5
%Q\2.4\3.4.5
000005
Output17
%M17
%Q\2.4\3.4.17
000017
For comparison, the register addressing as used with Concept is added in the last column.