The enumeration includes the possible values that indicate the result of operations executed by the function block.
Name |
Data type |
Value |
Description |
---|---|---|---|
If q_xError of a function block is FALSE, one of the following status messages is shown. |
|||
DINT |
0 |
The POU is OK, but not running. |
|
DINT |
1 |
The POU is disabled. |
|
DINT |
2 |
The POU is being initialized. |
|
DINT |
4 |
The POU is being executed. |
|
DINT |
5 |
The POU is resetting the timer and counter. |
|
If q_xError of a function block is TRUE, one of the following error messages is shown. |
|||
DINT |
11 |
The value of the input i_diUnitModeCurrent is out of range. The value of operation mode must be in the range 0 and Gc_uiMaxNumberOfModes. |
|
DINT |
12 |
The value of the input i_diStateCurrent is out of range. The value of state must be in the range 0 and Gc_uiMaxNumberOfStates. |
|
DINT |
13 |
Number of operation modes is out of range. The number of operation modes must be in the range 0 and Gc_uiMaxNumberOfModes. |
|
DINT |
14 |
The initial operation mode pointer i_pstInitMode is invalid. |
|
DINT |
15 |
The admin pointer i_pstAdmin is invalid. |
|
DINT |
16 |
The status pointer i_pstStatus is invalid. |
|
DINT |
17 |
The operation mode out of range. Range should be: 0 < i_diUnitMode <= diNumberOfModes |
|
DINT |
20 |
The state model of the operation mode is invalid: there is no state. |
|
DINT |
21 |
The state model of the operation mode is invalid: there is no state. |
|
DINT |
22 |
The state model of the operation mode is invalid: a state must exist if a or an state is present. |
|
DINT |
23 |
The state model of the operation mode is invalid: if state exists, a state must be present. |
|
DINT |
24 |
The state model of the operation mode is invalid: a state must exist if a or an state is present. |
|
DINT |
25 |
The state model of the operation mode is invalid: an state must exist if an or a state is present. |
|
DINT |
26 |
The state model of the operation mode is invalid: the state can be used only in connection with the state. |
|
DINT |
27 |
The state model of the operation mode is invalid: the state can be used only in connection with the state. |
|
DINT |
28 |
The request to change the operation mode is rejected. |
|
DINT |
29 |
The triggered state command is not accepted in the present state. |
|
DINT |
30 |
The value of the input i_etResult of the function FC_EtResultToString is unknown. |
|
DINT |
33 |
At least one of the specified inputs is invalid. |
|
DINT |
34 |
The maximum number of unit modes is defined. Remove a unit mode before adding a new one. |
|
DINT |
35 |
No unit mode is active. The commanded operation is not allowed. |
|
DINT |
36 |
The specified unit mode is not defined. |
|
DINT |
37 |
Unit mode is active. The commanded operation is not allowed. |
|
DINT |
39 |
The definition of the unit mode requires an instance of the FB_StateModelHandlerBase. |
|
DINT |
41 |
The logger point could not be registered. |
|
DINT |
42 |
Unit mode with same value or name is already defined. |
|
DINT |
43 |
The POU is blocked by another task and is not ready for execution. |