8 Using the Data Record Interface
148
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.1.14 Read_AS-i_Line_Errorcounters
Meaning
This call reads out AS-i line-specific error counters. Bytes 30
−
37 signal the AS-i
slave on which the error occurred (bit=1: error exists).
Meaning of the counters:
Error
Meaning
AS-i Power Fail
AS-i power supply missing, too low, not stable.
Ground short
A short to ground has occurred on AS-i line A or B.
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
AS-i master detects an error in its own send frame (by
checking the receive line).
Structure of the RecordDataRead service − Index 96
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
AS-i Power Fail
Low byte
4
High byte
5
Ground short
Low byte
6
High word / high byte
7
Summator:
High word / low byte
8
Summator:
Slave failure
Low word / high byte
9
Low word / Low byte
10
High word / high byte
11
Summator:
High word / low byte
12
Summator:
Missing slave frame
Low word / high byte
13
Low word / Low byte