beautypg.com

Siemens S5-135U/155U User Manual

Page 439

background image

9-57

System Manual
C79000-G8576-C199-06

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

Analog Input/Output Modules