Siemens S5-135U/155U appendix Example

Models: S5-135U/155U

1 560
Download 560 pages 1.68 Kb
Page 439
Image 439

Analog Input/Output Modules

Note

The start address of the analog module must be a multiple of the double channel number.

8 channels : 0, 16, 32, 48, ... 240

16 channels : 0, 32, 64, 96, ... 224

If one of the inputs or outputs (Channel 0 to 7 or 0 to 15) 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 or 16 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 or 16 inputs (Channel 0 to 7 or 0 to 15) and start address 160 reserves the address range from

160 to address 160 + 7 x 2 = 174 160 to address 160 + 15 x 2 = 190

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

With the 465 analog input module, the size of the address range depends on the number of channels set (8 or 16).

Addresses already assigned must not be set again.

System Manual

9-57

C79000-G8576-C199-06

Page 439
Image 439
Siemens S5-135U/155U appendix Example