E_CM_ErrorCode

Code (HRESULT)

Symbol

Description / solution

0

eCM_OK

No error, everything is OK.

Logic error

16#9851_0100

eCM_ErrLogic

General logic error

16#9851_0102

eCM_ErrLogic_NotImplemented

Function is not yet implemented.

16#9851_0110

eCM_ErrLogic_LackOfInitialization

Algorithm is not initialized correctly.

16#9851_0125

eCM_ErrLogic_InvalidObjectState

Operation is invalid for the object state.

Configuration error

16#9851_1000

eCM_ErrConfig

General configuration error

Mappings to ADSERR_DEVICE_NOMEMORY

16#9851_1100

eCM_ErrConfig_OutOfMemory

Memory allocation failed. => increase router memory (see chapter Memory management)

all errors below result in an HRESULT of ADS_E_INVALIDPARM

16#9851_1800

eCM_ErrConfig_IllegalParameter

Configuration parameter is invalid.

16#9851_1900

eCM_ErrConfig_ParameterOutOfRange

Configuration parameter is out of range.

16#9851_1901

eCM_ErrConfig_ParameterOutOfRange_NoPowerOfTwo

Parameter is not a power of two as required.

16#9851_1902

eCM_ErrConfig_ParameterOutOfRange_FFT_length_Zero

The FFT length is zero.

16#9851_1903

eCM_ErrConfig_ParameterOutOfRange_DecibelThreshold_too_small

Decibel threshold is too low, which could cause underflow.

16#9851_1904

eCM_ErrConfig_ParameterOutOfRange_LogThreshold_too_small

Logarithm threshold is too low, which could cause underflow.

16#9851_1905

eCM_ErrConfig_ParameterOutOfRange_nInLength_Minimum_two

Input length is too small. Value must be at least two.

16#9851_190D

eCM_ErrConfig_ParameterOutOfRange_nChannels_smaller_one

Number of channels is zero.

16#9851_190E

eCM_ErrConfig_ParameterOutOfRange_nBins_smaller_one

Number of bins is zero.

16#9851_190F

eCM_ErrConfig_ParameterOutOfRange_invalid_limit_interval

Lower limit is not smaller than upper limit.

16#9851_1910

eCM_ErrConfig_ParameterOutOfRange_unknown_scaling_type

Scaling type is not known.

16#9851_1911

eCM_ErrConfig_ParameterOutOfRange_illegal_quantile_argument

Quantile argument is outside [0 .. 1].

16#9851_1912

eCM_ErrConfig_ParameterOutOfRange_illegal_threshold_order

Threshold value order is invalid. The threshold values must be in ascending order.

16#9851_1913

eCM_ErrConfig_ParameterOutOfRange_threshold_number_toolarge

More threshold values specified than configured.

16#9851_1914

eCM_ErrConfig_ParameterOutOfRange_Integration_limit_too_low

Integration limit is too low.

16#9851_1915

eCM_ErrConfig_ParameterOutOfRange_Integration_limit_too_high

Integration limit is too high.

16#9851_1916

eCM_ErrConfig_ParameterOutOfRange_Integration_limits_inconsistent

Integration limits are inconsistent.

16#9851_1917

eCM_ErrConfig_ParameterOutOfRange_Samplerate_not_positive

Sampling rate is zero or negative.

16#9851_191A

eCM_ErrConfig_ParameterOutOfRange_TimeConstant_too_small

Transferred time constant is too small.

16#9851_192C

eCM_ErrConfig_ParameterOutOfRange_fScaleFactor_invalid

Scaling factor is invalid.

16#9851_192D

eCM_ErrConfig_ParameterOutOfRange_DivThreshold_too_small

Divisional threshold is too low, which could cause underflow.

16#9851_192E

eCM_ErrConfig_ParameterOutOfRange_nMaxBands_zero

Number of configurable bands is zero.

16#9851_192F

eCM_ErrConfig_ParameterOutOfRange_nOrder_invalid

Order is impermissible.

16#9851_1930

eCM_ErrConfig_ParameterOutOfRange_fDecayTime_invalid

fDecayTime is impermissible.

16#9851_1B00

eCM_ErrConfig_ParameterMismatch

Parameter dependence is not met.

16#9851_1B01

eCM_ErrConfig_ParameterMismatch_WindowLength_larger_FFT_length

Window length is greater than FFT length.

16#9851_1B06

eCM_ErrConfig_ParameterMismatch_overlap_larger_BufferLength

Overlap is greater than buffer length.

Runtime error (during data processing)

these errors result in an HRESULT of ADS_E_INVALIDPARM

16#9851_2000

eCM_ErrRTime

General runtime error

16#9851_2011

eCM_ErrRTime_IllegalPointer

Impermissible (interface) pointer or memory address

16#9851_2015

eCM_ErrRTime_NonMonotonousInputData

Input data is not monotonous as required.

16#9851_2016

eCM_ErrRTime_ErrornousChannelResults

Results on at least one channel are incorrect.

16#9851_2021

eCM_ErrRTime_IllegalBuffer

Impermissible data buffer

illegal input buffer parameter (can occur in ADS calls with fixed buffer)

16#9851_2023

eCM_ErrRTime_IllegalInput

Impermissible input buffer parameters

16#9851_2025

eCM_ErrRTime_IllegalInputDimensionNumber

Input buffer has an impermissible number of dimensions.

16#9851_2026

eCM_ErrRTime_IllegalInputShape

Input buffer has an impermissible form.

16#9851_2028

eCM_ErrRTime_IllegalInputDataType

Impermissible element type of input buffer

16#9851_202A

eCM_ErrRTime_IllegalInputNoArray

No MultiArray transferred as input parameter.

illegal output buffer parameter (can occur in ADS calls with fixed buffer)

16#9851_2030

eCM_ErrRTime_IllegalOutput

Impermissible output buffer parameters

16#9851_2032

eCM_ErrRTime_IllegalOutputDimensionNumber

Output buffer has an impermissible number of dimensions.

16#9851_2033

eCM_ErrRTime_IllegalOutputShape

Output buffer has an impermissible form.

16#9851_2034

eCM_ErrRTime_IllegalOutputDataType

Impermissible element type of the output buffer

16#9851_2035

eCM_ErrRTime_IllegalOutputNoArray

No MultiArray transferred as the output parameter.

Interpolation errors

16#9851_2060

eCM_ErrRTime_Interpolation

General interpolation error

16#9851_2063

eCM_ErrRTime_Interpolation_OutOfBounds

Input data is outside of the limits.

16#9851_2064

eCM_ErrRTime_Interpolation_InvalidDimension

Array with input data has an impermissible size for method used.

16#9851_2065

eCM_ErrRTime_Interpolation_InvalidConstraints

Restrictions on the derivatives at the end points cannot be met.

Info Codes

16#9851_B103

eCM_InfRTime_InsufficientInputData

Insufficient input data for a representative result

16#9851_B104

eCM_InfRTime_InvalidInputData

Input data are impermissible.

16#9851_B105

eCM_InfRTime_AmbiguousChannelResults

Results on at least one channel are ambiguous.

16#9851_B106

eCM_InfRTime_nBufferLength_too_small

Configured buffer length is too small for input data.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4022.25

PC or CX (x86, x64)

Tc3_CM_Base