How to use
- Browse the list, or search a keyword (e.g. 03, float, coil).
- Filter by read / write / diagnostic / other.
- Consult the exception code section for causes and fixes.
FAQ
What does 0x83 mean?
Function 03 (Read Holding Registers) failed: 0x80 + 0x03. The following byte is the specific exception code.
Which exception codes are most common?
02 (Illegal Data Address) and 03 (Illegal Data Value), usually from address conversion or range mistakes.
Why is the device silent?
Mismatched slave ID, baud rate or parity, or a link problem. If it replies with an exception, match the code instead.
About this Function Code Reference
Codes 1–127 are public or user-defined; 128–255 are reserved for exception responses. When a slave errors it sets the high bit of the original code (a request of 0x03 comes back as 0x83) and appends an exception code explaining why. When troubleshooting, find the failing function code first and then match the exception code — it usually saves a lot of guesswork.