Campbell PakBus Error Codes
The generated error codes are a combination of the ID of the module creating the error plus the error code. For example, an error code of 0x0608 hex, is a combination of 0x0600 (GetTableDefinition) and 0x8 (Port connection failed).
Use hex rather than decimal to separate the module ID from the error message. In all cases, error messages make up the first (right-most) two bytes and the module ID value is stored in the next two.
Module ID Values
Module Number (Decimal) | Module Number (Hex) |
Module |
---|---|---|
256 | 0x0100 | Unknown |
512 | 0x0200 | VTS Read |
768 | 0x0300 | Send Wake Up |
1024 | 0x0400 | Build Message |
1280 | 0x0500 |
Say Hello |
1536 | 0x0600 | Get Table Definition |
1792 | 0x0700 | Get Logger Data |
2048 | 0x0800 | Xmit / Rcv |
2304 | 0x0900 | Clock Transaction |
2560 | 0x0A00 | Receiver |
2816 | 0x0B00 | Say Goodbye |
3072 | 0x0C00 | Link Connect Ctrl |
4096 | 0x1000 | VTS Write |
Error Codes
Error code (Decimal) |
Error code (Hex) |
Meaning |
---|---|---|
00 | 0x0 | No Error |
01 | 0x1 | Invalid TX Buffer |
02 | 0x2 | Echo Timeout |
03 | 0x3 | Response Timeout |
04 | 0x4 | Lost TX Semaphore |
05 | 0x5 | Message Type Mismatch |
06 | 0x6 | Message TID Mismatch |
07 | 0x7 | RX Signature Mismatch |
08 | 0x8 | Port Connection Failed |
09 | 0x9 | Lost Port Connection |
10 | 0xa | Table Not Defined |
11 | 0xb | Invalid 'More Records' Flag |
12 | 0xc | Wrong Table Number |
13 | 0xd | Table Response Code Error |
14 | 0xe | Bad BMP1 Packet Size |
15 | 0xf | Bad Pakbus Packet Size |
16 | 0x10 | Packet Number Mismatch |
17 | 0x11 | File Upload Permission Denied |
18 | 0x12 | File Upload Invalid Name |
19 | 0x13 | File Upload Not Accessible |
20 | 0x14 | File Upload Unknown Error |
21 | 0x15 | Network Description Response Code Error |
22 | 0x16 | BMP1 Packet Undeliverable |
23 | 0x17 | Unmapped Driver |
24 | 0x18 | Table Config not Read |
25 | 0x19 | Field Read Only Flag is Set |
26 | 0x1a | Permission Denied |
27 | 0x1b | Invalid Table or Field Name |
28 | 0x1c | Data Type Conversion Not Supported |
29 | 0x1d | Memory Bounds Violation |
30 | 0x1e | Timed Out Waiting for Link Semaphore |
31 | 0x1f | Unexpected File Fragment In Response |
99 | 0x63 | Unknown Error Code |