beautypg.com

4 read actual configuration (read_cdi), 5 set permanent configuration (set_pcd), Read actual configuration (read_cdi) – EUCHNER AS-i 3.0 Command Interface User Manual

Page 45: Set permanent configuration (set_pcd)

background image

AS-i 3.0 Command Interface

Commands of the Command Interface

Subject to reasonable modifications due to technical advances

Id.-No.: 102875 Issue date - 3.12.2007

EUCHNER GmbH + Co. KG

Kohlhammerstraße 16, D-70771 Leinfelden-Echterdingen

Tel. +49/711/7597-0, Fax +49/711/753316

45

4.5.4

Read actual configuration (READ_CDI)

With this call, the following configuration data of an addressed AS-i slave obtained
by the AS-i master on the AS-i are read.

• I/O configuration

• ID code

• Extended ID1 code

• Extended ID2 code

The configuration data are specified by the manufacturer of the AS-i slave.

Meaning of bit B:

B = 0 Single AS-i slave or A-slave

B = 1 B-slave

4.5.5

Set permanent configuration (SET_PCD)

This call sets the following configuration data for the addressed AS-i slave:

• I/O configuration

• ID code

• Extended ID1 code

• Extended ID2 code

The configuration data are stored permanently on the EEPROM of the AS-i Master
and are used as the expected configuration by the AS-i master in the protected
mode. The configuration data are specified by the manufacturer of the AS-i slave.

If the addressed AS-i slave does not support an extended ID code 1/2, the value
F

hex

must be specified.

Response

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

07

16

2

T

result

Request

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

28

16

2

T

circuit

3

B

slave address

Response

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

28

16

2

T

result

3

xID2

xID1

4

ID

I0