ifw-fcf 7.1.4
Loading...
Searching...
No Matches
drotHwErrors.hpp
Go to the documentation of this file.
1
8#ifndef FCF_DEVMGR_DEVICE_DROT_HW_ERRORS_HPP
9#define FCF_DEVMGR_DEVICE_DROT_HW_ERRORS_HPP
10
11#include <unordered_map>
12
13
14namespace ifw::fcf {
15 namespace devmgr {
16 namespace drot {
17
18 enum {
26 };
27
28 const std::unordered_map<short, std::string> HW_ERRORS = {
29 {HW_ERR_HW_NOT_OP, "TwinCAT not in OP state or CouplerState not mapped"},
30 {HW_ERR_WRONG_CMD, "Drot unknown command"},
31 {HW_ERR_INCONSISTENT, "Drot inconsistent hardware signals"},
32 {HW_ERR_INIT_FAILURE, "Drot init failure"},
33 {HW_ERR_ENABLE_FAILURE, "Drot enable failure"},
34 {HW_ERR_DISABLE_FAILURE, "Drot disable failure"},
35 };
36
37 }
38 }
39}
40#endif // FCF_DEVMGR_DEVICE_DROT_HW_ERRORS_HPP
const std::unordered_map< short, std::string > HW_ERRORS
Definition drotHwErrors.hpp:28
@ HW_ERR_WRONG_CMD
Definition drotHwErrors.hpp:21
@ HW_ERR_INIT_FAILURE
Definition drotHwErrors.hpp:23
@ HW_ERR_DISABLE_FAILURE
Definition drotHwErrors.hpp:25
@ HW_ERR_INCONSISTENT
Definition drotHwErrors.hpp:22
@ HW_SUCCESS
Definition drotHwErrors.hpp:19
@ HW_ERR_HW_NOT_OP
Definition drotHwErrors.hpp:20
@ HW_ERR_ENABLE_FAILURE
Definition drotHwErrors.hpp:24
ActionsEnable class source file.
Definition actionMgr.cpp:28