ifw-fcf 6.0.0
Loading...
Searching...
No Matches
actuatorHwErrors.hpp
Go to the documentation of this file.
1
10#ifndef FCF_DEVMGR_DEVICE_ACTUATOR_HW_ERRORS_HPP
11#define FCF_DEVMGR_DEVICE_ACTUATOR_HW_ERRORS_HPP
12
13#include <unordered_map>
14
15namespace fcf {
16namespace devmgr {
17 namespace actuator {
18
19 enum {
29 };
30
31 const std::unordered_map<short, std::string> hw_errors = {
32 {HW_ERR_HW_NOT_OP, "TwinCAT not in OP state or CouplerState not mapped"},
33 {HW_ERR_WRONG_CMD, "actuator unknown command"},
34 {HW_ERR_INCONSISTENT, "actuator inconsistent hardware signals"},
35 {HW_ERR_INIT_FAILURE, "actuator init failure"},
36 {HW_ERR_ENABLE_FAILURE, "actuator enable failure"},
37 {HW_ERR_DISABLE_FAILURE, "actuator disable failure"},
38 {HW_ERR_ON_FAILURE, "actuator ON failure"},
39 {HW_ERR_OFF_FAILURE, "actuator OFF failure"}
40 };
41
42 }
43}
44}
45
46#endif // FCF_DEVMGR_DEVICE_ACTUATOR_HW_ERRORS_HPP
@ HW_ERR_DISABLE_FAILURE
Definition: actuatorHwErrors.hpp:26
@ HW_ERR_INIT_FAILURE
Definition: actuatorHwErrors.hpp:24
@ HW_SUCCESS
Definition: actuatorHwErrors.hpp:20
@ HW_ERR_ENABLE_FAILURE
Definition: actuatorHwErrors.hpp:25
@ HW_ERR_OFF_FAILURE
Definition: actuatorHwErrors.hpp:28
@ HW_ERR_HW_NOT_OP
Definition: actuatorHwErrors.hpp:21
@ HW_ERR_ON_FAILURE
Definition: actuatorHwErrors.hpp:27
@ HW_ERR_INCONSISTENT
Definition: actuatorHwErrors.hpp:23
@ HW_ERR_WRONG_CMD
Definition: actuatorHwErrors.hpp:22
const std::unordered_map< short, std::string > hw_errors
Definition: actuatorHwErrors.hpp:31
Definition: actionMgr.cpp:29