Interface to the User Program in the S7-200 CPU
2-16
SIMATIC NET CP 243-2 AS-i Master
C79000-G8976-C142/02
2.5
Access to the Analog Input and Output Words
Principle
Using a bank-select mechanism, the 8 analog input words and the 8 analog output
words can be switched to 64 different analog input areas (banks) and 64 different
analog output areas (banks) on the CP 243-2.
Each of these banks is 8 words long.
Advantage
This bank-select mechanism has the advantage that the analog data area of 8
words available for the expansion module is increased according to the number of
banks.
Access in the User Program
The switchover to the various banks is made using bits BS0–BS5 in the control
byte of the CP 243-2 (see Section 2.3.4).
The bank select bits are binary coded and select banks as shown below:
BS5
BS4
BS3
BS2
BS1
BS0
Bank No.
0
0
0
0
0
0
Bank 0 selected
0
0
0
0
0
1
Bank 1 selected
0
0
0
0
1
0
Bank 2 selected
0
0
0
0
1
1
Bank 3 selected
0
0
0
1
0
0
Bank 4 selected
0
0
0
1
0
1
Bank 5 selected
0
0
0
1
1
0
Bank 6 selected
0
0
0
1
1
1
Bank 7 selected
0
0
1
0
0
0
Bank 8 selected
0
0
1
0
0
1
Bank 9 selected
0
0
1
0
1
0
Bank 10 selected
0
0
1
0
1
1
Bank 11 selected
0
0
1
1
0
0
Bank 12 selected
0
0
1
1
0
1
Bank 13 selected
0
0
1
1
1
0
Bank 14 selected
0
0
1
1
1
1
Bank 15 selected
0
1
0
0
0
0
Bank 16 selected
0
1
0
0
0
1
Bank 17 selected
0
1
0
0
1
0
Bank 18 selected
0
1
0
0
1
1
Bank 19 selected
0
1
0
1
0
0
Bank 20 selected
0
1
0
1
0
1
Bank 21 selected
0
1
0
1
1
0
Bank 22 selected
0
1
0
1
1
1
Bank 23 selected
0
1
1
0
0
0
Bank 24 selected
0
1
1
0
0
1
Bank 25 selected
Содержание SIMATIC NET CP 243-2
Страница 4: ...Preface ii SIMATIC NET CP 243 2 AS i Master C79000 G8976 C142 02 ...
Страница 8: ...Contents vi SIMATIC NET CP 243 2 AS i Master C79000 G8976 C142 02 ...
Страница 26: ...Technical Description and Installation Instructions 1 18 SIMATIC NET CP 243 2 AS i Master C79000 G8976 C142 02 ...
Страница 64: ...Access to the Data of the AS i Slaves 3 16 SIMATIC NET CP 243 2 AS i Master C79000 G8976 C142 02 ...
Страница 68: ...Signaling Errors and Diagnostics in the User Program 4 4 SIMATIC NET CP 243 2 AS i Master C79000 G8976 C142 02 ...
Страница 128: ...Command Interface 5 60 SIMATIC NET CP 243 2 AS i Master C79000 G8976 C142 02 ...
Страница 134: ...Dealing with Problems Error Displays 6 6 SIMATIC NET CP 243 2 AS i Master C79000 G8976 C142 02 ...
Страница 142: ...Notes on the CE Mark C 2 SIMATIC NET CP 243 2 AS i Master C79000 G8976 C142 02 ...
Страница 148: ...Glossary Glossary 4 SIMATIC NET CP 243 2 AS i Master C79000 G8976 C142 02 ...