Command Interface

5.2.15Get_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 Bit

S 0

S 1

S2

S 3

AS-i slave complying with standard 2.0

AS-i slave complying with standard

 

2.1

 

 

Address volatile

ªAddress/ID code 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.

Parity error detected

I/O error detected

This flag is set when the AS-i slave has

An AS-i slave can set this flag when

recognized a parity error in a received

it has detected and error (for

frame since the last ªread and delete

example wire break) in the attached

statusº job.

I/Os.

 

 

End bit error detected

reserved

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.

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

20

21

Meaning

Command number: 0F H

AS-i slave address

SIMATIC NET CP 243-2 AS-i Master

5-27

C79000-G8976-C142/02

Page 95
Image 95
Siemens CP 243-2 GetAS-iSlaveStatus, Address volatile ªAddress/ID code volatileº, Parity error detected Error detected