beautypg.com

1 analog input area – Siemens CP 243-2 User Manual

Page 44

background image

Interface to the User Program in the S7-200 CPU

2-18

SIMATIC NET CP 243-2 AS-i Master

C79000-G8976-C142/02

2.5.1

Analog Input Area

Assignment of the Input Areas

The input area of the analog module of the CP 243-2 is mapped to the analog
inputs of the user program using bank selection as shown below:

Binary inputs
slave 1 to 31 or
slave 1A to 31A

Memory
assignment

Bank 0

S7-200 CPU

CP 243-2

reserved

BS5...BS0

Bank 1

Bank 2

Bank 30

Bank 15

Bank 16

Bank select bits

⋅⋅

Analog inputs

Binary inputs
slave 1B to 31B

Analog inputs
slave 1 to 31

reserved

Bank 31

Bank 32

Bank 47

Bank 48

*) The address area depends on
the slot of the CP 243-2 (see
Section 2.2)

8 AIW
e.g. AIW0..AIW14

*)

⋅⋅

⋅⋅

Bank 63

⋅⋅

⋅⋅

Response data

AS-i diagnostics
(Delta list)

Figure 2-4

The bank select bits are set in the control byte of the digital module by the user
program (see Section 2.3.4).

Bank 0: Binary input data of the AS-i slaves 1 to 31 or 1A to 31A

With this analog input words, you can access the binary inputs of the standard
slaves or A slaves (slaves with extended addressing mode).

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