Errors (GVL)

AC500-specific error definitions

InOut:

Scope

Name

Type

Initial

Comment

Constant

ERR_OEM_START

RTS_IEC_RESULT

16#8000

OEM error range start

ERR_AC500_IN_USE

RTS_IEC_RESULT

(ERR_OEM_START + 16#1)

entry already or still in use

ERR_AC500_NULL_REFERENCE

RTS_IEC_RESULT

(ERR_OEM_START + 16#2)

NULL reference given, e.g. NULL pointer in function call

ERR_AC500_VALUE_NOTEXPECTED

RTS_IEC_RESULT

(ERR_OEM_START + 16#3)

value given is not expected here, e.g. value == 0 but has to be > 0

ERR_AC500_PARAMETER_NOT_FOUND

RTS_IEC_RESULT

(ERR_OEM_START + 16#4)

parameter ID given was not found in referenced connector

ERR_AC500_PARAMETER_VALUE_UPPER_LIMIT

RTS_IEC_RESULT

(ERR_OEM_START + 16#5)

value of parameter in configuration exceeds upper limit

ERR_AC500_PARAMETER_VALUE_LOWER_LIMIT

RTS_IEC_RESULT

(ERR_OEM_START + 16#6)

value of parameter in configuration exceeds lower limit

ERR_AC500_PARAMETER_VALUE_OUT_OF_LIMITS

RTS_IEC_RESULT

(ERR_OEM_START + 16#7)

value of parameter in configuration exceeds upper or lower limit

ERR_AC500_PARAMETER_VALUE_NOT_SUPPORTED

RTS_IEC_RESULT

(ERR_OEM_START + 16#8)

value of parameter in configuration is not supported

ERR_AC500_CONNECTOR_NOT_FOUND

RTS_IEC_RESULT

(ERR_OEM_START + 16#9)

required connector was not found in configuration

ERR_AC500_CONNECTOR_WRONG_TYPE

RTS_IEC_RESULT

(ERR_OEM_START + 16#A)

assigned connector has not the expected type

ERR_AC500_NETX_REQ_NEGATIVE_RESP

RTS_IEC_RESULT

(ERR_OEM_START + 16#B)

negative response of a netx request received

ERR_AC500_CONFIGURATION_INCOMPATIBLE

RTS_IEC_RESULT

(ERR_OEM_START + 16#C)

configuration doesn’t match with IODriver implementation

ERR_AC500_FAILED_TO_REGISTER

RTS_IEC_RESULT

(ERR_OEM_START + 16#D)

registration of a handler function etc. wasn’t successful

ERR_AC500_FAILED_TO_UNREGISTER

RTS_IEC_RESULT

(ERR_OEM_START + 16#E)

un-registration of a handler function etc. wasn’t successful

ERR_AC500_NOT_REGISTERED

RTS_IEC_RESULT

(ERR_OEM_START + 16#F)

a required element was not registered

ERR_AC500_NOT_CONFIGURED

RTS_IEC_RESULT

(ERR_OEM_START + 16#10)

a required element was not configured

ERR_AC500_CONFIG_DATA_CORRUPT

RTS_IEC_RESULT

(ERR_OEM_START + 16#11)

serious error in configuration data

ERR_AC500_ENTRY_NOT_FOUND

RTS_IEC_RESULT

(ERR_OEM_START + 16#12)

an entry was not found

ERR_AC500_ENTRY_FOUND

RTS_IEC_RESULT

(ERR_OEM_START + 16#13)

an entry was found

ERR_AC500_OBJECT_CREATE_FAILED

RTS_IEC_RESULT

(ERR_OEM_START + 16#14)

an object could not be created

ERR_AC500_INSTANCE_IN_USE

RTS_IEC_RESULT

(ERR_OEM_START + 16#15)

instance is still in use

ERR_AC500_ITF_CORRUPT

RTS_IEC_RESULT

(ERR_OEM_START + 16#16)

serious error in interface - at least one required reference not set

ERR_AC500_ITF_OUT_OF_OEM_RANGE

RTS_IEC_RESULT

(ERR_OEM_START + 16#17)

an interface ID is not inside defined OEM range

ERR_AC500_IO_AREA_NOT_EXISTING

RTS_IEC_RESULT

(ERR_OEM_START + 16#18)

Input or Output area doesn’t exist, due to no IO channels configured

ERR_AC500_ABORTED

RTS_IEC_RESULT

(ERR_OEM_START + 16#19)

something was aborted

ERR_AC500_FILE_NOT_EXISTING

RTS_IEC_RESULT

(ERR_OEM_START + 16#1A)

file doesn’t exists and couldn’t be opened