beautypg.com

EUCHNER AS-i 3.0 Command Interface User Manual

Page 84

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

84

Setting the toggle bit:

The new list of protected slaves (LPS) is written.

4. Write permanent parameter (power on parameter) to master

Example as above: 16 bit module at address 4 with PP = 07

hex

No result because toggle bit = 0

Request: SET_LPS

Byte 1

29

hex

Byte 2

80

hex

(T = 1, master 1, single master)

Byte 3

00

hex

Byte 4

10

hex

(LDS byte 0)

Byte 5

00

hex

(LDS byte 1)

Byte 11

00

hex

(LDS byte 7)

Byte 12

00

hex

Response

Byte 1

29

hex

Byte 2

80

hex

(T = 1, result = 0)

Byte 3

00

hex

(or old values)

Byte 12

00

hex

(or old values)

Request: SET_PP

Byte 1

43

hex

(SET_PP)

Byte 2

00

hex

(T = 0, master 1, single master)

Byte 3

04

hex

(slave address to write to master)

Byte 4

07

hex

(PP to write (use low nibble))

Byte 5

00

hex

(LDS byte 1)

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)