beautypg.com

Siemens S5-135U/155U User Manual

Page 423

background image

9-41

System Manual
C79000-G8576-C199-06

Example:

Analog input module with 4 inputs

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

160 = 128 + 32 = 2

7

+ 2

5

IB 160

128

64

32

16

8

4

2

1

ADB7

ADB6

ADB5

ADB4

ADB3

ADB2

ADB1

ADB0

On Setting

(Switch Pressed)

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

160 to address 160 + 3 x 2 = 166

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

Addresses already assigned must not be set again.

Example:

On an analog input module with start address 160 (IB 160 = input byte 160),
input channel 3 is to be scanned by the program.

Step

Action

1

Affix the self-adhesive label with address 160 on the free field

under the addressing switch on the module. ADB 5 and ADB 7
are marked on the label.

2

Press the appropriate rockers of the addressing switch down on

the side marked by a dot on the module cover. Set the other
rockers to the opposite setting. This way sets the start address of
the module.

ADB 5 and ADB 7 results in 2

5

+ 2

7

= 32 + 128 = 160

3

Enter the address 160 + 3 x 2 = 166 in the program for input

channel 3.

Analog Input/Output Modules