versadac  1
versadac - Scalable Recorder Firmware
ENUM_MCFunctionCodes.h
1 
2 /*
3 Enumerations for Master comms modbus function codes
4 $Id: ENUM_MCFunctionCodes.h 4938 2006-10-10 14:20:18Z martinto $
5 */
6 
7 #ifndef __ENUM_MCFUNCTIONCODES_H
8 #define __ENUM_MCFUNCTIONCODES_H
9 
10 enum ENUM_MCFunctionCodes
11 {
12  ENUM_MC_NotUsedZero,
13  ENUM_MC_ReadCoilStatus,
14  ENUM_MC_ReadInputStatus,
15  ENUM_MC_ReadHoldingRegisters,
16  ENUM_MC_ReadInputRegisters,
17  ENUM_MC_PresetSingleCoil,
18  ENUM_MC_PresetSingleRegister,
19  ENUM_MC_ReadExceptionStatus,
20  ENUM_MC_LoopBackTest,
21  ENUM_MC_NotUsed9,
22  ENUM_MC_NotUsed10,
23  ENUM_MC_FetchCommEventCounter,
24  ENUM_MC_FetchCommEventLog,
25  ENUM_MC_NotUsed13,
26  ENUM_MC_NotUsed14,
27  ENUM_MC_PresetMultipleCoils,
28  ENUM_MC_PresetMultipleRegister,
29  ENUM_numberOfFunctionCodes,
30  ENUM_MC_XModemStatus = 66
31 };
32 #endif /* __ENUM_MCFUNCTIONCODES_H */