beautypg.com

10 write parameter (write_p), 11 read parameter (read_pi: read_parameter), Write parameter (write_p) – EUCHNER AS-i 3.0 Command Interface User Manual

Page 49: Read parameter (read_pi: read_parameter)

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

49

4.5.10

Write parameter (WRITE_P)

The AS-i slave parameter value transferred with the command is passed on to the
addressed AS-i slave.

The parameter is stored in the AS-i Master only temporarily and is not stored as a
configured parameter in the EEPROM!

The AS-i slave transfers its current parameter value in the response (parameter
echo). This can deviate from the value that has just been written according to the
AS-i master specification.

Meaning of bit B:

B = 0 Single AS-i slave or A-slave

B = 1 B-slave

4.5.11

Read parameter (READ_PI: Read_Parameter)

This call returns the current parameter value (actual parameter) of an AS-i slave
sent by the AS-i Master. This value must not be confused with the parameter echo
that is supplied by the AS-i slave as a response to the write_p job.

This command can not be used for a directly reading of an AS-i parameter out of
an AS-i slave.

Request

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

02

16

2

T

circuit

3

B

slave address

4

parameter

Response

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

02

16

2

T

result

3

slave response

Request

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

03

16

2

T

circuit

3

B

slave address

Response

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

03

16

2

T

result

3

PI