No. 0F: Read_Status - Siemens SIMATIC ET 200SP Manual

As-interface master cm as-i master st 3rk7137-6sa00-0bc1
Hide thumbs Also See for SIMATIC ET 200SP:
Table of Contents

Advertisement

9.4.15

No. 0F: Read_Status

Meaning
This command reads the status register for the addressed AS-i slave. Generally, this
command is not required because the slave status is automatically managed by the AS-i
master. The following functions are available for detecting an I/O fault: alarm message, read
diagnostic data sets, execution of command "Get_LPS, Get_LAS, Get_LDS, Get_Flags"
command number B0 hex.
The flags of the status register have the following meaning depending on the type of the
AS-i slave:
Table 9- 26
Meaning of the flags of the status register depending on the type of the AS-i slave
Status bit
AS-i slave according to AS-i specification V2.0
S0
Address volatile
This flag is set if
The internal routine of the AS-i slave for permanent storage of the AS-i slave address is running. This
can last up to 15 ms and must not be interrupted by another addressing call.
The internal address comparison of the AS-i slave determines that the permanently saved address is
not identical to the entry in the address register.
S1
Parity error detected
This flag is set if the AS-i slave has detected a parity
error in a receive frame since the last "Read and
delete status" job.
S2
End bit error detected
This flag is set if the AS-i slave has detected an end
bit error in a message frame since the last "Read
and delete status" job.
S3
Read error in non-volatile memory (EEPROM)
This bit is set if the AS-i slave has discovered a read error when reading the non-volatile memory.
Structure of the job data in the send buffer
Table 9- 27
Structure of the job data in the send buffer
Byte
0
1
Structure of the job data in the receive buffer
Table 9- 28
Structure of the response data in the receive buffer
Byte
Bit 7
0
0
AS-Interface master CM AS-i Master ST (3RK7137-6SA00-0BC1)
Manual, 07/2017, A5E02655262020A/RS-AD/004
AS-i slave AS-i specification V2.1 and higher
Address/ID code volatile
Peripheral fault detected
An AS-i slave can set this flag if it detects a fault,
e.g. wire break, on the connected I/O.
Reserved
Meaning
Command number: 0F
H
Slave address
Meaning
Bit 4 Bit 3
S 3
Using the command interface
9.4 Description of the AS-i commands
Bit 2
Bit 1
S 2
S 1
Bit 0
S 0
121

Advertisement

Table of Contents
loading

Table of Contents