Siemens S5-135U/155U appendix On Setting Switch Pressed 128

Models: S5-135U/155U

1 560
Download 560 pages 1.68 Kb
Page 423
Image 423

Analog Input/Output Modules

Example:

Analog input module with 4 inputs

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

160 = 128 + 32 = 27 + 25

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 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

1

2

3

Action

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.

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 25 + 27 = 32 + 128 = 160

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

System Manual

9-41

C79000-G8576-C199-06

Page 423
Image 423
Siemens S5-135U/155U appendix On Setting Switch Pressed 128