beautypg.com

3 rd_74_75_param, Rd_74_75_param – EUCHNER AS-i 3.0 Command Interface User Manual

Page 17

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

17

If i

≡ 0, then the string is being transferred to the slave.

4.2.3

RD_74_75_PARAM

With this function the parameter string of a slave according to profile S-7.4 is being
read or the slave response according to profile S-7.5 is being read.

If it is about a slave according to profile 7.5, so have the data in the response buffer
the following meaning:

FFh 00

16

: Transfer is still active

FFh xx

16

: Transfer finished with error

The first byte in the buffer not equal FF

16

: slave response. The response is in the

same form registered in the buffer and transmitted over AS-i.

Since the string can be longer than the command interface, it is written into the
buffer. The content of the buffer can read in parts from index i.

The first byte of the buffer is the length of the read string.

If i

≡ 0, the string is being read from the slave, otherwise the function responses

out of the memory; the data can be read consistently.

Request

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

5A

16

2

T

circuit

3

slave address

4

i

5

n

6

buffer byte i

n+5

buffer byte i+n-1

Response

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

5A

16

2

T

results

Request

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

5B

16

2

T

circuit

3

slave address

4

i