8 Using the Data Record Interface
174
IE/AS
−
INTERFACE LINK PN IO
as of hardware version 1, as of firmware version V2.0
Release 08/2018
C79000
−
G8976
−
C216
−
03
8.2.2.23 Read_and_Delete_AS-i_Slave_Errorcounters
Meaning
This call reads out AS-i slave-specific error counters. The AS-i master then also
sets all error counters to 0. The data record can be requested by the
PROFINET IO controller.
Meaning of the counters:
Error
Meaning
Slave failure
The slave was taken out of the list of activated slaves
(LAS) (after several consecutive timeouts).
Missing slave frame
Slave response of an existing slave was not received.
Bad slave frame
Slave response of a slave is mutilated or corrupt.
I/O error
Slave signals “Peripheral Fault” in the response to
Read_Status.
Protocol error
Error in data transfer according to CTT1
−
5 (for example,
bad or missing toggle bit, ...).
Bad master frame (optional)
AS-i master detects an error in its own send frame (by
checking the receive line).
Structure of the RecordDataRead service − Index 99
Byte
Meaning
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
Version_hi = 0x00
1
Version_lo = 0x00
2
High byte
3
Slave failure
Low byte
4
High byte
5
Missing slave frame
Low byte
6
High byte
7
Bad slave frame
Low byte
8
High byte
9
I/O error
Low byte
10
High byte
11
Protocol error
Low byte
12
High byte
13
Bad master frame
Low byte
-