beautypg.com

Siemens S5-135U/155U User Manual

Page 393

background image

9-11

System Manual
C79000-G8576-C199-06

Note

The start address of the analog module must be a multiple of the double
channel number.
4 channels : 0, 8, 16, 24, ... 248
8 channels : 0, 16, 32, 48, ... 240

If one of the inputs or outputs (Channel 0 to 7) of a module is to be
addressed, the relevant subaddress must be specified in the program.

The subaddress of the input or output, based on the start address of the
module, is given by:

Start address + 2 x channel no. = subaddress

Example:

Analog input module with 8 inputs

The address is the sum of the significances set with the individual coding
switches.

160 = 128 + 32 = 2

7

+ 2

5

On Setting
(Switch Pressed)

IB 160

128

64

32

16

8

4

2

1

ADB7

ADB6

ADB5

ADB4

ADB3

ADB2

ADB1

ADB0

A module with 8 inputs (Channel 0 to 7) and start address 160 reserves the
address range from

160 to address 160 + 7 x 2 = 174

In this example, the next free address for another module is 176.

Addresses already assigned must not be set again.

Analog Input/Output Modules