0% found this document useful (0 votes)
32 views1 page

Exception Codes: EN-9 Xe-145F Modbus Rev B

The document describes exception codes supported by a controller. There are three exception codes: 1. Illegal Function - Occurs when an unsupported function code is received or a message has an incorrect number of bytes. 2. Illegal Data Address - Occurs when the data address received is not a valid address range for coils, discrete inputs, registers, or analog inputs. 3. Illegal Data Value - Occurs when a value in the query data field is invalid, such as requesting zero coils/registers, exceeding maximum parameters, or sending an invalid force command value.

Uploaded by

Daniel Pestana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views1 page

Exception Codes: EN-9 Xe-145F Modbus Rev B

The document describes exception codes supported by a controller. There are three exception codes: 1. Illegal Function - Occurs when an unsupported function code is received or a message has an incorrect number of bytes. 2. Illegal Data Address - Occurs when the data address received is not a valid address range for coils, discrete inputs, registers, or analog inputs. 3. Illegal Data Value - Occurs when a value in the query data field is invalid, such as requesting zero coils/registers, exceeding maximum parameters, or sending an invalid force command value.

Uploaded by

Daniel Pestana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

EN

EXCEPTION CODES
The controller supports the following exception codes:

Name Code Description


Illegal Function 1 The function code received in the query is not an allowable action for the slave. This exception
code happens when:
(1) the function code is other than 1, 2, 3, 4, 5, 6, 15 or 16
(2) a message has the incorrect number of bytes for the function specified
Illegal Data 2 The data address received in the query is not an allowable address for the slave. This exception
Address code happens when:
(1) the address is not programmed
(2) the address is outside of the ranges
(a) 00001-00512 for coils
(b) 10001-10512 for discrete inputs
(c) 30001-31024 for integer and fractional analog inputs
(d) 33001-34024 for floating point analog inputs
(e) 40001-41024 for integer and fractional input registers
(f ) 43001-44024 for floating point analog input registers
Illegal Data 3 A value contained in the query data field is not an allowable value for the slave. This exception
Value code happens when:
(1) the number of coils, discrete inputs, registers or analog inputs is equal to zero
(2) request for more than the maximum number of parameters
(3) the force single coil command, Function 05, is issued and the value is other than FF00 or 0000
(4) the force multiple coil command, Function 15, is issued and the number of bytes does not
equal the number of bits to set
(5) the preset single register command, Function 6, or preset multiple registers commands,
Function 16, is issued and the starting address is not even, or the number of registers specified
does not correspond to the number of bytes in the message, or the integer part of the number is
outside the range –32768 to +32767, or the fractional part of the number is outside of the range
0-9999, or the value is not a valid 32 bit floating point number

EN- Xe-145F Modbus Rev B

You might also like