ERROR

ERROR (ENUM)

TYPE ERROR : (* General errors ) NO_ERROR, // No error: Everything worked fine TIME_OUT, // Call timeout PENDING, // Still pending INVALID_PARAMETER, // invalid parameter INVALID_HANDLE, // An invalid handle/null pointer was detected INVALID_IPADDRESS, // The specified address is not valid INVALID_CONNECTION_TYPE,// The specified connection type is not valid (\* Connector Errors ``` * ``` ) CONNECT_FAILED, // Could not establish connection to the listener HOST_NOT_FOUND, // Listener could not be found (\* Listener Errors ``` * ``` ) TCP_OPEN_ERROR, // The TCP connection could not be opened. NO_STREAMS_TO_LISTEN, // There are no streams ADDR_NOT_AVAILABLE, // Address not available on this PLC (\* Stream Errors\*) CONNECTION_LOST, // Connection interrupted STREAM_STATE_ERROR, // Stream already created GET_OPTION_FAILED, // The option could not be found - Maybe it is not supported by the OS. SET_OPTION_FAILED, // The option could not be found - Maybe it is not supported by the OS IOCTL_FAILED, // IO control failed ``` * ``` ) RECEIVE_ERROR, // Error receiving a stream SEND_ERROR, // Error sending a stream FD_SET_INIT_FAILED, // init fd could not be set (\* TLS Errors\*) CREATE_CONTEXT_FAILED, // Error creating the TLS context (\* Http Client\*) INVALID_URL, // Invalid parameter UNEXPECTED_ERROR, // Unexpected error TCP_INIT_ERROR, // The TCP socket cannot be initialized TCP_READ_ERROR, // Error reading the response TCP_WRITE_ERROR, // Error sending the request MISSING_POST_VALUE, // The current request type requires a post value RESULT_PARSE_ERROR, // Error parsing the response (\* HW IO\*) HTTP_STATUS , NO_DATA , NO_DATA_INFO, NO_DATA_TIME, NO_DATA_LEDON, NO_DATA_LEDOFF, NO_DATA_SETTIME, NO_DATA_DIGITAL_VAL, NO_DATA_ANALOG_VAL, RESULT_NO_DATA_DIGITAL_INPUT, RESULT_NO_DATA_ANALOG_INPUT, RESULT_NO_DATA_ANALOG_OUTPUT, RESULT_NO_DATA_DIGITAL_OUTPUT, RESULT_PARSE_ERROR_ANALOG_INPUT, // Error parsing the response RESULT_PARSE_ERROR_ANALOG_OUTPUT, // Error parsing the response RESULT_PARSE_ERROR_DIGITAL_INPUT, // Error parsing the response RESULT_PARSE_ERROR_DIGITAL_OUTPUT, // Error parsing the response TOKEN_ERROR, (\* WriteParaUCAdapter\*) LOGIN_WRITE_ERROR, // Write error LOGIN_PASSWORD_ERROR, // Password error LOGIN_NO_RESPONSE, // Adapter feedback LOGIN_ERROR_404, // Adapter web service not available LOGIN_INVALID_PASSSWORD, // Invalid login password LOGIN_INVALID_TOKEN, // Invalid login token PARA_WRITE_ERROR, // Parameter write error PARA_PASSWORD_ERROR, // Parameter password error PARA_NO_RESPONSE, // No response from the adapter PARA_ERROR_404, // Adapter web service not available PARA_INVALID, // Invalid parameter PARA_INVALID_TOKEN // Invalid token

)

Attributes: : qualified_only\

InOut:

Name
Comment

NO_ERROR

No error: Everything worked fine

TIME_OUT

Call timeout

PENDING

Still pending

INVALID_PARAMETER

invalid parameter

INVALID_HANDLE

An invalid handle/null pointer was detected

INVALID_IPADDRESS

The specified address is not valid

INVALID_CONNECTION_TYPE

The specified connection type is not valid

CONNECT_FAILED

Could not establish connection to the listener

HOST_NOT_FOUND

Listener could not be found

TCP_OPEN_ERROR

The TCP connection could not be opened.

NO_STREAMS_TO_LISTEN

There are no streams

ADDR_NOT_AVAILABLE

Address not available on this PLC

CONNECTION_LOST

Connection interrupted

STREAM_STATE_ERROR

Stream already created

GET_OPTION_FAILED

The option could not be found - Maybe it is not supported by the OS.

SET_OPTION_FAILED

The option could not be found - Maybe it is not supported by the OS

IOCTL_FAILED

IO control failed <br/>*<br/> )

RECEIVE_ERROR

Error receiving a stream

SEND_ERROR

Error sending a stream

FD_SET_INIT_FAILED

init fd could not be set

CREATE_CONTEXT_FAILED

Error creating the TLS context

INVALID_URL

Invalid parameter

UNEXPECTED_ERROR

Unexpected error

TCP_INIT_ERROR

The TCP socket cannot be initialized

TCP_READ_ERROR

Error reading the response

TCP_WRITE_ERROR

Error sending the request

MISSING_POST_VALUE

The current request type requires a post value

RESULT_PARSE_ERROR

Error parsing the response

HTTP_STATUS

HW IO

NO_DATA

NO_DATA_INFO

NO_DATA_TIME

NO_DATA_LEDON

NO_DATA_LEDOFF

NO_DATA_SETTIME

NO_DATA_DIGITAL_VAL

NO_DATA_ANALOG_VAL

RESULT_NO_DATA_DIGITAL_INPUT

RESULT_NO_DATA_ANALOG_INPUT

RESULT_NO_DATA_ANALOG_OUTPUT

RESULT_NO_DATA_DIGITAL_OUTPUT

RESULT_PARSE_ERROR_ANALOG_INPUT

Error parsing the response

RESULT_PARSE_ERROR_ANALOG_OUTPUT

Error parsing the response

RESULT_PARSE_ERROR_DIGITAL_INPUT

Error parsing the response

RESULT_PARSE_ERROR_DIGITAL_OUTPUT

Error parsing the response

TOKEN_ERROR

LOGIN_WRITE_ERROR

Write error

LOGIN_PASSWORD_ERROR

Password error

LOGIN_NO_RESPONSE

Adapter feedback

LOGIN_ERROR_404

Adapter web service not available

LOGIN_INVALID_PASSSWORD

Invalid login password

LOGIN_INVALID_TOKEN

Invalid login token

PARA_WRITE_ERROR

Parameter write error

PARA_PASSWORD_ERROR

Parameter password error

PARA_NO_RESPONSE

No response from the adapter

PARA_ERROR_404

Adapter web service not available

PARA_INVALID

Invalid parameter

PARA_INVALID_TOKEN

Invalid token

Last updated