beautypg.com

6 set_extended_permanent_configuration – Siemens CP 243-2 User Manual

Page 86

background image

Command Interface

5-18

SIMATIC NET CP 243-2 AS-i Master

C79000-G8976-C142/02

5.2.6

Set_Extended_Permanent_Configuration

Purpose

This call sets the following configuration data for the addressed AS-i slave.

S

I/O configuration

S

ID code

S

Extended ID1 code

S

Extended ID2 code

The configuration data are stored permanently on the EEPROM of the CP 243-2
and are used as the expected configuration by the AS-i master in the protected
mode. The configuration data are specified by the manufacturer of the AS-i slave.
The meaning of the configuration data is described in /2/.

If the addressed AS-i slave does not support an extended ID code 1/2, the value F
H must be specified.

When executing this command, the AS-i master changes to the offline phase and
then changes back to normal operation (restart on the AS-i master). This call is not
executed in the protected mode.

Structure of the Job Data in the Send Buffer

Bank

Byte

Meaning

Bit 7

Bit 4

Bit 3

Bit 0

2

0

Command number 25

H

2

1

Slave address

2

2

ID code

I/O configuration

2

3

Extended ID1 code

Extended ID2 code

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: 25

H

2

1

Command status