beautypg.com

EUCHNER AS-i 3.0 Command Interface User Manual

Page 83

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

83

The single slave configuration for the 16-bit module is written.

This command must be repeated for all 31 A-slaves and all 31 B-slaves. If you
don't connect a slave to an address, write F

hex

for ID, IO, ID1, ID2.

3. Write new list of projected slaves

Write the complete LPS of your AS-i circuit.

Every bit in the LPS corresponds to one slave after the following scheme:

Byte0/Bit 0: slave 0/0A - can not be set!

Byte1/Bit 1: slave 1/1A

...

Byte3/Bit 7: slave 31/31A

Byte4/Bit 0: slave 0B - can not be set!

Byte4/Bit 1: slave 1B

...

Byte7/Bit 7: slave 31B

The slave is projected if the bit is set.

Example above: 16-bit module at address 4

⇒ Set bit 4/byte 0:

No result because toggle bit = 0.

Request: SET_LPS

Byte 1

29

hex

(SET_LPS)

Byte 2

00

hex

(T = 0, 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

00

hex

(or old values)

Byte 2

00

hex

(or old values)

Byte 12

00

hex

(or old values)