beautypg.com

2 commands acc. to profile s-7.4/s-7.5, 1 overview of the commands, 2 wr_74_75_param – EUCHNER AS-i 3.0 Command Interface User Manual

Page 16: Commands acc. to profile s-7.4/s-7.5, Overview of the commands, Wr_74_75_param

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

16

4.1.9

Write 16 channels 16-bit slave out. Data (OP_WR_16BIT_IN_CX)

With this command, the 16 channels of the 16-bit input-data for slaves with suc-
cessive addresses according to slave profile (S-7.3, S-7.4, S-7.5, S-7.A.8, S.A.9,

S-7.A.A) can be written.

4.2

Commands acc. to Profile S-7.4/S-7.5

4.2.1

Overview of the commands

4.2.2

WR_74_75_PARAM

With this function the parameter string of a slave according to profile S-7.4 is being
written or the data transfer with a slave according to profile S-7.5 is started.

By a slave according to profile 7.5, data have to be registered into the buffer in the
same form, as they have to be sent by AS-i.

Since the string can be longer than the command interface, it is written into the
buffer in parts at first and then it is transferred to the slave.

n is the length of the part of the string which should be written into the buffer from
index i on.

Request

Byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

4D

16

2

T

circuit

3

1. slave

4

1. channel

5

1. slave, 1. channel, high byte

6

1. slave, 1. channel, low byte

35

16. channel, high byte

36

16. channel, low byte

Response

Byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

4D

16

2

T

result

Values for command

see page

Command

Value

Meaning

Req
Len

Res
Len

page 16

WR_74_75_PARAM

5A

16

write S-7.4/S-7.5-slave parameter

≥6

2

page 17

RD_74_75_PARAM

5B

16

read S-7.4/S-7.5-slave parameter

4

≥3

page 18

RD_74_75_ID

5C

16

read S-7.4/S-7.5-slave ID string

4

≥3

page 19

RD_74_DIAG

5D

16

read S-7.4/S-7.5-slave diagnosis
string

4

≥3