beautypg.com

17 get_extended_total_configuration – Siemens CP 243-2 User Manual

Page 100

background image

Command Interface

5-32

SIMATIC NET CP 243-2 AS-i Master

C79000-G8976-C142/02

5.2.17

Get_Extended_Total_Configuration

Purpose

With this command, the following data are read from the CP 243-2:

S

The list of active slaves (LAS). This indicates which of the connected slaves are
activated.

S

The current configuration data of the connected slaves (I/O configuration and ID
code).

S

The current parameters of the slaves (actual parameters).

S

The current flags.

This command can, for example, be used to find out the configuration of the
stations connected to the AS-i cable after installation. The configuration data read
in can, if necessary, be modified and saved on the CP 242-8 as the expected
configuration using the command ‘Store_Extended_Total_Configuration’ (see
Section 5.2.18).

Structure of the Job Data in the Send Buffer

Bank

Byte

Meaning

2

0

Command number: 39

H

Structure of the Job Data in the Receive Buffer

Bank

Byte

Meaning

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

2

0

39H

2

1

Command status

2

2

LAS

slave 0

LAS

slave 1

LAS

slave 2

LAS

slave 3

LAS

slave 4

LAS

slave 5

LAS

slave 6

LAS

slave 7

2

3

LAS

slave 8

LAS

slave 9

LAS

slave 10

LAS

slave 11

LAS

slave 12

LAS

slave 13

LAS

slave 14

LAS

slave 15

2

4

LAS

slave 16

LAS

slave 17

LAS

slave 18

LAS

slave 19

LAS

slave 20

LAS

slave 21

LAS

slave 22

LAS

slave 23

2

5

LAS

slave 24

LAS

slave 25

LAS

slave 26

LAS

slave 27

LAS

slave 28

LAS

slave 29

LAS

slave 30

LAS

slave 31

2

6

reserv.

LAS

slave 1B

LAS

slave 2B

LAS

slave 3B

LAS

slave 4B

LAS

slave 5B

LAS

slave 6B

LAS

slave 7B

2

7

LAS

slave 8B

LAS

slave 9B

LAS

slave

10B

LAS

slave

11B

LAS

slave

12B

LAS

slave

13B

LAS

slave

14B

LAS

slave

15B