Siemens SIMATIC NET CP 243-2 Manual page 95

As-interface master
Table of Contents

Advertisement

5.2.15
Get_AS-i_Slave_Status
Purpose
With this call, the status register of the addressed AS-i slave can be read out.
Depending on the type of AS-i slave, the flags of the status register have the
following meaning:
Status
AS-i slave complying with standard 2.0
Bit
S 0
Address volatile
This flag is set
when the internal AS-i slave routine for permanent storage of the AS-i slave
address is active. This can take up to 15 ms and must not be interrupted by a
further addressing call.
when the AS-i internal slave address comparison recognizes that the stored
address is not the same as the entry in the address register.
S 1
Parity error detected
This flag is set when the AS-i slave has
recognized a parity error in a received
frame since the last "read and delete
status" job.
S 2
End bit error detected
This flag is set when the AS-i slave has
recognized an end bit error in a frame
since the last "read and delete status" job.
S 3
Read error in non-volatile memory
This bit is set when the AS-i slave has detected a read error when reading the
non-volatile memory.
Structure of the Job Data in the Send Buffer
Bank
Byte
2
0
2
1
SIMATIC NET CP 243-2 AS-i Master
C79000-G8976-C142/02
Command Interface
AS-i slave complying with standard
2.1
"Address/ID code volatile"
I/O error detected
An AS-i slave can set this flag when
it has detected and error (for
example wire break) in the attached
I/Os.
reserved
Meaning
Command number: 0F
H
AS-i slave address
5-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents