Siemens SIMATIC NET CP 343-2 Manual page 102

Interface master
Table of Contents

Advertisement

5 Using the Command Interface
5.2.31
Read_AS-i_Slave_ID_String
Meaning
With this call, an identification string complying with the AS-i slave profile 7.4 can
be read from the AS-i slave with the AS-i slave address specified in the send
buffer. The AS-i master supplies up to 221 bytes of response data. The number of
ID bytes actually sent by the AS-i slave is signaled by the AS-i master in byte 0 of
the receive buffer (number of ID bytes).
If the AS-i slave sends a string longer than 220 bytes, the AS-i master aborts the
string transfer and terminates the job with an error. The received data are then not
made available to the user program.
As long as the string transfer is active, there is no user/analog data exchange with
the addressed AS-i slave.
Note
As an exception, with this call, the bytes contained in the bits "Follows" and "Valid"
are also transferred (see AS-i slave profile 7.4).
Structure of the Job Data in the Send Buffer
Byte
0
1
Structure of the Response Data in the Receive Buffer
Byte
0
1
2
...
...
...
Maximum value for n=220
102
Meaning
Command number 42
H
Slave address
Meaning
Number of ID bytes
String byte (1)
String byte (2)
.....
String byte (n-1)
String byte (n)
CP 343−2 / CP 343−2 P AS−Interface Master
Release 08/2008
C79000−G8976−C149−04

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic net cp 343-2 p asSimatic net cp 343-2 p6gk7 343-2ah01-0xa06gk7 343-2ah11-0xa0

Table of Contents