beautypg.com

EUCHNER AS-i 3.0 Command Interface User Manual

Page 79

background image

AS-i 3.0 Command Interface

Command Interface Examples

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

79

Set the toggle bit:

The master has now been ordered to switch to the protected mode. It must be
maintained now until the master changes into the operation mode.

4.Wait until master is in normal operation mode (and protected mode)

Reading out the flags until NA (Normal Operation Active) has been set.

No result because toggle bit = 0.

Request: SET_OP_MODE

Byte 1

0C

hex

(SET_OP_MODE)

Byte 2

80

hex

(T = 1, master 1, single master)

Byte 3

00

hex

(= protected mode)

Byte 4

00

hex

Byte 12

00

hex

Response

Byte 1

0C

hex

Byte 2

80

hex

(T = 1, result = 0)

Byte 3

00

hex

(or old values)

Byte 12

00

hex

(or old values)

Request: GET_FLAGS

Byte 1

47

hex

(GET_FLAGS)

Byte 2

00

hex

(T = 0, master 1, single master)

Byte 3

00

hex

Byte 12

00

hex

Response

Byte 1

00

hex

(or old values)

Byte 2

00

hex

(or old values)

Byte 12

00

hex

(or old values)