
76
76
SIF5600 - Manual - 03 - 2008
- return Slave Message Count Request: CODE = 14, DATA = 0
Response: INFO = counter
- return Slave No Response Count Request: CODE = 15, DATA = 0
Response: INFO = counter
- return Slave NAK Count Request: CODE = 16, DATA = 0
Response: INFO = counter
- return Slave Busy Count Request: CODE = 17, DATA = 0
Response: INFO = counter
3.11 Exception responses
Any query received that contains a non-existent device address, a framing error, or CRC error is ignored.
No response is transmitted and the CRC counter errors is incremented. Queries addressed to a protection
relay with an unsupported function or illegal values in the data block result in an error response message
with an exception response code.
The supported exception response codes are provided below.
Exception response message framing:
| ADDR | FUNC | EXCP | CRCH | CRCL |
|------|------|------|------|------|
byte 1 byte 2 byte 3 byte 4 byte 5
where:
ADDR address
FUNC error code (bit 7 = 1):
To mark error, the most significant bit of the request message is set.
EXCP exception code:
- 01: illegal function -> FUNC not implemented
- 02: illegal data address -> invalid address ADR
- 03: illegal data value -> DIM icorrect value
- 04: slave device failure -> not used
- 05: acknowledge -> not used
- 06: slave device busy -> not used
- 07: negative acknowledge -> generic error:
- framing error in the response
- out of range data
- etc.
- 08: memory parity error -> not used
CRCH MSB byte
CRCL LSB byte
SECTION 4 DATA STRUCTURE FRAMING
4.1 Framing description
The list of data structure framing RREG and WREG is provided in sections 6 and 7 of this document.
Following elements are included in the framing description:
- progressive number
- structure name
- basic data layout
- size expressed in number of 16 bit registers
- synopsis: concise list of data useful for the message building
Message framing:
NUM Description: STRU_NAME
Framing:
TYPE [NR] DATA_NAME (...comments)
comments
TYPE [NR] DATA_NAME (...comments)
comments
...
Dimension : DIM
Synopsis : SYNOPSIS
where:
NUM data structure number within proper class:
example: RREG NUM=5 (5th structure of RREG class)
WREG NUM=3 (3th structure of WREG class)
STRU_NAME structure name
NR nr. of register: it points position (nr. of 16 bit registers) within
structure (from 1 to n)
TYPE data type identifier related to NR:
it may be INT, LONG, ENUM, B32 o B16.