beautypg.com

EUCHNER AS-i 3.0 Command Interface User Manual

Page 22

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

22

It is recommended to start reading the data always using index i

≡ 0. This message

also contains the header. The user data length is therefore reduced by 3 bytes.

Data with length i

≡ 0 can be read successfull only once. Each further read

command with length i

≡ 0 ist quit with an error. Therefore further read pro-

cess (sections) must be carried out with i >0!

Response buffer

Byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

command

1

1. FFh signifies transfer still active, FEh signified transfer interrupted with errors. In the correct case the command from

WRITE_ACYC_TRANS is given here.

2

length byt

2

e n (high)

2. Transmit buffer length n

3

length byte n (low)

4

data 0

...

...

n+3

data n-1

For further information monitor with ACYC_TRANS, page 88>

i=0

i=m-2

read section of the string

command

length byte high

length byte low

data 0

data n-1

command

length byte high

length byte low

data 0

data n-1

m - command interface response length

n - transmit buffer length