ifw-fcf 7.1.4
Loading...
Searching...
No Matches
smaractHwErrors.hpp
Go to the documentation of this file.
1
8#ifndef FCF_DEVMGR_DEVICE_SMARACT_HW_ERRORS_HPP
9#define FCF_DEVMGR_DEVICE_SMARACT_HW_ERRORS_HPP
10
11#include <unordered_map>
12
13
15
16 enum {
21 };
22
23 const std::unordered_map<short, std::string> HW_ERRORS = {
24 {HW_ERR_HW_NOT_OP, "TwinCAT not OP or CouplerState not mapped."},
25 {HW_ERR_LOCAL, "control not allowed. Motor in Local mode."},
26 {HW_ERR_INIT_ABORTED, "INIT command aborted."},
27 };
28
29}
30
31#endif // FCF_DEVMGR_DEVICE_SMARACT_HW_ERRORS_HPP
Motor class source file.
Definition smaract.hpp:18
@ HW_ERR_INIT_ABORTED
Definition smaractHwErrors.hpp:20
@ HW_ERR_HW_NOT_OP
Definition smaractHwErrors.hpp:18
@ HW_ERR_LOCAL
Definition smaractHwErrors.hpp:19
@ HW_SUCCESS
Definition smaractHwErrors.hpp:17
const std::unordered_map< short, std::string > HW_ERRORS
Definition smaractHwErrors.hpp:23