E_MA_ErrorCode
code (HRESULT) | symbol | description / solution |
---|---|---|
0 | eMA_OK | No Error, everything is OK |
logic errors | ||
16#9871_0100 | eMA_ErrLogic | General logic error |
16#9871_0102 | eMA_ErrLogic_NotImplemented | Function is not yet implemented. |
16#9871_0110 | eMA_ErrLogic_LackOfInitialization | Algorithm is not initialized correctly. |
16#9871_0126 | eMA_ErrLogic_ObjectCreationFailed | Object creation failed. Probably driver is missing or out-dated. |
configuration errors | ||
16#9871_1000 | eMA_ErrConfig | General configuration error |
Maps to ADSERR_DEVICE_NOMEMORY | ||
16#9871_1100 | eMA_ErrConfig_OutOfMemory | Memory allocation failed. => Increase router memory (see chapter Memory management). |
all of the following errors lead to an HRESULT of ADS_E_INVALIDPARM | ||
16#9871_1800 | eMA_ErrConfig_IllegalParameter | Configuration parameter is not valid. |
16#9871_1900 | eMA_ErrConfig_ParameterOutOfRange | Configuration parameter is out of range. |
runtime errors (while data processing) | ||
16#9871_2000 | eMA_ErrRTime | General runtime error |
16#9871_2011 | eMA_ErrRTime_IllegalPointer | Illegal (interface) pointer or memory address |
16#9871_2012 | eMA_ErrRTime_EmptyArray | Multiarray has no data (product of dimension sizes is zero). |
16#9871_2013 | eMA_ErrRTime_InstanceExists | There is already an allocated instance. |
16#9871_2014 | eMA_ErrRTime_NoInstanceExists | There is no allocated or initialized instance. |
16#9871_2021 | eMA_ErrRTime_IllegalBuffer | Illegal data buffer |
16#9871_2022 | eMA_ErrRTime_IllegalSubarraySize | Illegal size of subarray |
16#9871_2029 | eMA_ErrRTime_IllegalPermutation | Requested permutation of dimensions is not valid. |
illegal input buffer parameters | ||
16#9871_2023 | eMA_ErrRTime_IllegalInput | Illegal input signature |
16#9871_2025 | eMA_ErrRTime_IllegalInputDimensionNumber | Input data has illegal number of dimensions. |
16#9871_2026 | eMA_ErrRTime_IllegalInputShape | Input data has illegal shape. |
16#9871_2028 | eMA_ErrRTime_IllegalInputDataType | Illegal element type of input data stream |
16#9871_202A | eMA_ErrRTime_IllegalInputNoArray | No multiarray passed as input parameter. |
illegal output buffer parameters | ||
16#9871_2030 | eMA_ErrRTime_IllegalOutput | Illegal output signature |
16#9871_2035 | eMA_ErrRTime_IllegalOutputNoArray | No multiarray passed as output parameter. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4022.25 | PC or CX (x86, x64) | Tc3_CM_Base |