The enumeration ET_Result contains the possible values that indicate the result of operations executed by the POUs of this library.
Name |
Data type |
Value |
Description |
---|---|---|---|
Ok |
UDINT |
0 |
Operation completed successfully. |
StringTooLong |
UDINT |
1 |
Concatenated string contains more than 80 characters. |
LrealValueTooBig |
UDINT |
2 |
LREAL value is too large. Limit = +/- 2000000000 |
NStartRange |
UDINT |
20 |
Value at input i_diNStart is less than or equal to 0. |
InitMethodNotCalled |
UDINT |
21 |
Initialization method has not yet been executed. |
StartMethodNotCalled |
UDINT |
22 |
Start method has not yet been executed. |
CheckSumOverflow |
UDINT |
23 |
Checksum overflow.
NOTE: To calculate the return value of the property udiAverageTime, the checksum is calculated each time the method End is called. The limit of the total sum is 4294967295 (based on the UDINT data type).
Verify the q_etResult output each time the method End is called. If q_etResult = CheckSumOverflow, the method Reset must be called. |
FunctionNotSupported |
UDINT |
100 |
Function not available for this controller. |
InvalidIfSafeLogic |
UDINT |
200 |
The interface assigned to i_ifSafeLogic must be provided by an instance of the Safety Logic Controller in the tree of the project. |
SetPointOutOfRange |
UDINT |
300 |
i_rSetPoint < rSetPointLowLimit or i_rSetPoint > rSetPointHighLimit |
SetPointLowLimitOutOfRange |
UDINT |
301 |
rSetPointLowLimit < -100000 or rSetPointLowLimit > rSetPointHighLimit |
SetPointHighLimitOutOfRange |
UDINT |
302 |
rSetPointHighLimit > 100000 or rSetPointHighLimit < rSetPointLowLimit |
ControlModeOutOfRange |
UDINT |
303 |
Accepted control mode range: Refer to ET_ParameterSetPID. |
ManualValueInvalid |
UDINT |
304 |
i_rManualValue < rPidLowLimit or i_rManualValue > rPidHighLimit |
CycleTimeInvalid |
UDINT |
305 |
Calculated task cycle time must be greater than 0 and less than or equal to 10000 [ms]. |
DeadBandInvalid |
UDINT |
306 |
rDeadBand < 0 or rDeadBand > 100 |
PidParametersOutOfRange |
UDINT |
307 |
One or more PID parameters are out of range |
PidControllerIssue |
UDINT |
308 |
General issue from the internal PID controller |
PwmTimePeriodOutOfRange |
UDINT |
309 |
Value rPwmTimePeriod out of range or the value is less than the determined task cycle time. |
PidLowLimitOutOfRange |
UDINT |
310 |
rPidLowLimit < 0 or rPidLowLimit ≥rPidHighLimit |
PidHighLimitOutOfRange |
UDINT |
311 |
rPidHighLimit > 100 or rPidHighLimit ≤rPidLowLimit |
FilterTimeInvalid |
UDINT |
312 |
Invalid value for rDigitalFilterTime |
AutoTuneHysteresisInvalid |
UDINT |
313 |
Invalid value for rAutoTuneHysteresis |