beautypg.com

Siemens CP 243-2 User Manual

Page 45

background image

Interface to the User Program in the S7-200 CPU

2-19

SIMATIC NET CP 243-2 AS-i Master
C79000-G8976-C142/02

Bank 1: Diagnostics on the AS-Interface

The delta list of the AS-i slaves is indicated in this bank.

The delta list contains deviations of the existing AS-i slaves from the configuration
on the CP 243-2.

A set bit can indicate the following:

S

Missing slaves

S

Extra slaves (not in the configuration)

S

Slaves with incorrect I0/ID coding

The delta list is updated both in the configuration and in the protected mode.

The bytes and bits of the delta list are ordered as shown in the table below.
(m: start address of the analog input area of the CP 243-2)

Byte \ Bit

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

Byte m+0 Slave 7

Slave 7A

Slave 6
Slave 6A

Slave 5
Slave 5A

Slave 4
Slave 4A

Slave 3
Slave 3A

Slave 2
Slave 2A

Slave 1
Slave 1A

Slave 0
Slave 0A

Byte m+1 Slave 15

Slave 15A

Slave 14
Slave 14A

Slave 13
Slave 13A

Slave 12
Slave 12A

Slave 11
Slave 11A

Slave 10
Slave 10A

Slave 9
Slave 9A

Slave 8
Slave 8A

Byte m+2 Slave 23

Slave 23A

Slave 22
Slave 22A

Slave 21
Slave 21A

Slave 20
Slave 20A

Slave 19
Slave 19A

Slave 18
Slave 18A

Slave 17
Slave 17A

Slave 16
Slave 16A

Byte m+3 Slave 31

Slave 31A

Slave 30
Slave 30A

Slave 29
Slave 29A

Slave 28
Slave 28A

Slave 27
Slave 27A

Slave 26
Slave 26A

Slave 25
Slave 25A

Slave 24
Slave 24A

Byte m+4 Slave 7B

Slave 6B

Slave 5B

Slave 4B

Slave 3B

Slave 2B

Slave 1B

Slave 0B

Byte m+5 Slave 15B Slave 14B Slave 13B Slave 12B Slave 11B

Slave 10B Slave 9B

Slave 8B

Byte m+6 Slave 23B Slave 22B Slave 21B Slave 20B Slave 19B Slave 18B Slave 17B Slave 16B
Byte m+7 Slave 31B Slave 30B Slave 29B Slave 28B Slave 27B Slave 26B Slave 25B Slave 24B

Banks 2–15: Response data on the AS-Interface

These banks contain the response data of the command calls. The data structures
used and the codings are described in Section 5.2. The number of banks used
depends on the particular command.

Banks 16–30: Reserved area

These areas are reserved for later expansions and cannot be used.

Bank 31: Binary input data of the AS-i slaves 1B – 31B

Via these analog input words, you have access to the binary inputs of the B slaves
(slaves with the extended addressing mode).

The structure of the input data is described in Section 3.1.