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