Exception Codes - Chauvin Arnoux ULYS FLEX Modbus Notice De Fonctionnement

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

3. EXCEPTION CODES

When the slave (instrument) receives a not-valid query or command, an error response is sent. In this section,
the table describes the error response structure following to a not-valid query or command. This table refers
to a master-slave communication in MODBUS RTU.
Values contained in Response messages are in hex format.
Structure
Slave address
Function code + $80 (e.g. 03+80, 04+80, 10+80, according to the query/command)
Exception code
CRC
Response example: 018301F080
Exception codes for MODBUS RTU/ASCII are following described:
$01
ILLEGAL FUNCTION: the function code received in the query is not an allowable action.
$02
ILLEGAL DATA ADDRESS: the data address received in the query is not an allowable address
(e.g. the combination of register and transfer length is invalid).
$03
ILLEGAL DATA VALUE: a value contained in the query data field is not an allowable value.
$04
ILLEGAL RESPONSE LENGTH: the request would generate a response with size bigger than that
available for MODBUS protocol.
MODBUS RTU/ASCII
Example Byte
01
-
83
-
01
-
F0
High
80
Low
47

Publicité

Table des Matières
loading

Table des Matières