ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
piezoHwErrors.hpp
Go to the documentation of this file.
1 
10 #ifndef FCF_DEVMGR_DEVICE_PIEZO_HW_ERRORS_HPP
11 #define FCF_DEVMGR_DEVICE_PIEZO_HW_ERRORS_HPP
12 
13 #include <unordered_map>
14 
15 namespace fcf {
16 namespace devmgr {
17  namespace piezo {
18 
19  enum {
27  };
28 
29  const std::unordered_map<short, std::string> hw_errors = {
30  {HW_ERR_HW_NOT_OP, "TwinCAT not in OP state or CouplerState not mapped"},
31  {HW_ERR_WRONG_CMD, "Piezo unknown command"},
32  {HW_ERR_INCONSISTENT, "Piezo inconsistent hardware signals"},
33  {HW_ERR_INIT_FAILURE, "Piezo init failure"},
34  {HW_ERR_ENABLE_FAILURE, "Piezo enable failure"},
35  {HW_ERR_DISABLE_FAILURE, "Piezo disable failure"},
36  };
37 
38  }
39 }
40 }
41 
42 #endif // FCF_DEVMGR_DEVICE_PIEZO_HW_ERRORS_HPP
const std::unordered_map< short, std::string > hw_errors
Definition: piezoHwErrors.hpp:29
Definition: piezoHwErrors.hpp:20
Definition: piezoHwErrors.hpp:23
Definition: piezoHwErrors.hpp:25
Definition: piezoHwErrors.hpp:26
Definition: piezoHwErrors.hpp:21
Definition: piezoHwErrors.hpp:22
Definition: piezoHwErrors.hpp:24