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