Siemens S5-135U/155U appendix Addressing for

Models: S5-135U/155U

1 560
Download 560 pages 1.68 Kb
Page 440
Image 440

Analog Input/Output Modules

Addressing for

However, analog input modules and analog output modules may be given the

Cyclic/Selective

same address with cyclic sampling because they are distinguished by the user

Sampling

program. This is not possible with selective sampling.

 

For cyclic sampling, you can address the module in the address range from 0

 

to 255, and for selective sampling from 128 to 255. For selective sampling,

 

you can also use the address range from 0 to 127 after appropriate

 

programming in DB 1 of the user program.

 

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.

9-58

System Manual

C79000-G8576-C199-06

Page 440
Image 440
Siemens S5-135U/155U appendix Addressing for