beautypg.com

12 select_autoprogramming – Siemens CP 243-2 User Manual

Page 92

background image

Command Interface

5-24

SIMATIC NET CP 243-2 AS-i Master

C79000-G8976-C142/02

5.2.12

Select_Autoprogramming

Purpose

This call can enable or disable the “automatic address programming” function (see
also Section 6.1).

The AUTO_ADDR_ENABLE bit is stored permanently; in other words it is retained
after a warm/hot restart on the AS-i master.

Structure of the Job Data in the Send Buffer

Bank

Byte

Meaning

Bit 7

Bit 1

Bit 0

2

0

Command number: 0B

H

2

1

reserved

Value for AUTO_ADDR_ENABLE

1=Automatic address programming

enabled

0=Automatic address programming

disabled

Structure of the Job Data in the Receive Buffer

Bank

Byte

Meaning

2

0

Echo of the command number: 0B

H

2

1

Command status