ifw-fcf 7.1.4
Loading...
Searching...
No Matches
modulatorHwErrors.hpp
Go to the documentation of this file.
1
8#ifndef FCF_DEVMGR_DEVICE_MODULATOR_HW_ERRORS_HPP
9#define FCF_DEVMGR_DEVICE_MODULATOR_HW_ERRORS_HPP
10
11#include <unordered_map>
12
13
15
16 enum {
30 };
31
32
33 const std::unordered_map<short, std::string> HW_ERRORS = {
34 {HW_ERR_HW_NOT_OP, "TwinCAT not in OP state or CouplerState not mapped."},
35 {HW_ERR_INIT_FAILURE, "init failure."},
36 {HW_ERR_UNEXPECTED_CLOSED, "unexpectedly closed."},
37 {HW_ERR_UNEXPECTED_NONE, "unexpectedly no open or closed signal active."},
38 {HW_ERR_UNEXPECTED_OPENED , "unexpectedly opened."},
39 {HW_ERR_FAULT_SIG, "fault signal active."},
40 {HW_ERR_BOTH_SIG_ACTIVE, "both open and closed signals active."},
41 {HW_ERR_TIMEOUT_ENABLE, "enable timed out."},
42 {HW_ERR_TIMEOUT_DISABLE, "disable timed out."},
43 {HW_ERR_TIMEOUT_INIT, "init timed out."},
44 {HW_ERR_TIMEOUT_CLOSE, "close timed out."},
45 {HW_ERR_TIMEOUT_OPEN, "open timed out."}
46 };
47
48}
49
50#endif // FCF_DEVMGR_DEVICE_MODULATOR_HW_ERRORS_HPP
Modulator class source file.
Definition modulator.hpp:17
const std::unordered_map< short, std::string > HW_ERRORS
Definition modulatorHwErrors.hpp:33
@ HW_ERR_HW_NOT_OP
Definition modulatorHwErrors.hpp:18
@ HW_ERR_TIMEOUT_OPEN
Definition modulatorHwErrors.hpp:29
@ HW_ERR_TIMEOUT_INIT
Definition modulatorHwErrors.hpp:27
@ HW_ERR_TIMEOUT_ENABLE
Definition modulatorHwErrors.hpp:25
@ HW_SUCCESS
Definition modulatorHwErrors.hpp:17
@ HW_ERR_TIMEOUT_CLOSE
Definition modulatorHwErrors.hpp:28
@ HW_ERR_FAULT_SIG
Definition modulatorHwErrors.hpp:23
@ HW_ERR_UNEXPECTED_OPENED
Definition modulatorHwErrors.hpp:22
@ HW_ERR_UNEXPECTED_NONE
Definition modulatorHwErrors.hpp:21
@ HW_ERR_BOTH_SIG_ACTIVE
Definition modulatorHwErrors.hpp:24
@ HW_ERR_INIT_FAILURE
Definition modulatorHwErrors.hpp:19
@ HW_ERR_TIMEOUT_DISABLE
Definition modulatorHwErrors.hpp:26
@ HW_ERR_UNEXPECTED_CLOSED
Definition modulatorHwErrors.hpp:20