modbus vacon • 23
24-hour support +358 (0)40 8371 150 • Email: vacon@vacon.com
6.1.2
Exception responses
Error response is given when the Slave receives a message without communication errors, but can-
not handle it. Examples of such messages are an incorrect register address, data value or unsup-
ported message. No answer is given if a CRC or parity error occurs or the message is a broadcast
message.
ILLEGAL FUNCTION
The message function requested is not recognized by
the slave.
ILLEGAL DATA AD-
DRESS
The received data address is not an allowable ad-
dress for the slave
ILLEGAL DATA VALUE The received data value is not an allowable value for
the slave.
SLAVE DEVICE BUSY The message was received without error but the
slave was engaged in processing a long duration
program command.
Table 8. Exception response codes
Example of an exception response
In an exception response, the Slave sets the most-significant bit (MSB) of the function code to 1. The
Slave returns an exception code in the data field.
Command Master – Slave:
01 hex
Slave address 1 hex (= 1)
04 hex
Function 4 hex (= 4)
17 hex
Starting address 1770 hex (= 6000)
00 hex Invalid number of registers 0005 hex (= 5)
05 hex
CRC field 3466 hex (= 13414)
66 hex
Message frame: