OpenBIC
OpenSource Bridge-IC
modbus_server.h
Go to the documentation of this file.
1
5/* Modbus exception codes */
6#define MODBUS_EXC_NONE 0
7#define MODBUS_EXC_ILLEGAL_FC 1
8#define MODBUS_EXC_ILLEGAL_DATA_ADDR 2
9#define MODBUS_EXC_ILLEGAL_DATA_VAL 3
10#define MODBUS_EXC_SERVER_DEVICE_FAILURE 4
11#define MODBUS_EXC_ACK 5
12#define MODBUS_EXC_SERVER_DEVICE_BUSY 6
13#define MODBUS_EXC_MEM_PARITY_ERROR 8
14#define MODBUS_EXC_GW_PATH_UNAVAILABLE 10
15#define MODBUS_EXC_GW_TARGET_FAILED_TO_RESP 11