beautypg.com

3 store actual configuration (store_cdi), Store actual configuration (store_cdi) – EUCHNER AS-i 3.0 Command Interface User Manual

Page 44

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

44

In configuration mode, all detected AS-i slaves (except for AS-i slave "0") are ac-
tivated. This also applies to AS-i slaves for which there are differences between
the expected and actual configuration.

The “OPERATION MODE” bit is stored permanently; in other words, it is retained
after a cold/warm restart.

When you change from configuration mode to protected mode, the AS-i master will
do a warm restart (change to the offline phase followed by a change to the online
mode).

Meaning of bit operation mode:

0 = protected mode

1 = configuration mode

4.5.3

Store actual configuration (STORE_CDI)

With this call, the (actual) configuration data (I/O configuration, ID code, extended
ID1 code and extended ID2 code) of all AS-i slaves are stored permanently in the

EEPROM as the (expected) configuration data. The list of activated AS-i slaves
(LAS) is adopted in the list of permanent AS-i slaves (LPS).

When this command is executed, the AS-i master changes to the offline phase and
then changes back to the normal mode (warm restart on the AS-i master).

This command can only be executed in the configuration mode.

If an AS-i Slave with address "0" is entered in the LDS, the AS-i Master can-
not change from configuration mode to protected mode.

Request

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

0C

16

2

T

circuit

3

operation mode

Response

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

0C

16

2

T

result

Request

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

07

16

2

T

circuit