3 write_parameter – Siemens CP 243-2 User Manual

Page 83

Advertising
background image

Command Interface

5-15

SIMATIC NET CP 243-2 AS-i Master
C79000-G8976-C142/02

5.2.3

Write_Parameter

Purpose of the Command

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

The parameter is stored on the CP 243-2 only temporarily and is not entered as a
configured parameter in the EEPROM!

The AS-i slave transfers its current parameter value in the reply (parameter echo).
This can deviate from the value that has just been written according to the AS-i
master specification (/2/). The AS-i slave response is supplied as a parameter
echo in the receive buffer.

This call is not permitted for AS-i slaves that comply with the AS-i slave standard
profile 7.4. For these slaves, the AS-i master handles the AS-i slave parameter
assignment itself.

Structure of the Job Data in the Send Buffer

Bank

Byte

Meaning

Bit 7

Bit 4

Bit 3

Bit 0

2

0

Command number: 02

H

2

1

AS-i slave address

2

2

irrelevant

Parameter

Structure of the Job Data in the Receive Buffer

Bank

Byte

Meaning

Bit 7

Bit 4

Bit 3

Bit 0

2

0

Echo of the command number: 02

H

2

1

Command status

2

2

Parameter echo

Advertising