beautypg.com

25 read_as-i_slave_id2 – Siemens CP 243-2 User Manual

Page 119

background image

Command Interface

5-51

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

5.2.25

Read_AS-i_Slave_ID2

Purpose

With this call, the ID2 code of an AS-i slave can be read out directly over the AS-i
cable. The call is intended for diagnostic purposes and is not required in the normal
master mode.

Structure of the Job Data in the Send Buffer

Bank

Byte

Meaning

2

0

Command number: 38

H

2

1

AS-i slave address

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

H

2

1

Command status

2

2

reserved

Slave ID2