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

Models: S5-135U/155U

1 560
Download 560 pages 1.68 Kb
Page 393
Image 393

Analog Input/Output Modules

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

System Manual

9-11

C79000-G8576-C199-06

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