ET_Result

Overview

Type:

Enumeration

Available as of:

V1.0.0.0

Description

The enumeration ET_Result contains the possible values that indicate the result of operations executed by the function block.

Enumeration Elements

Name

Value

(UDINT)

Description

Ok

0

No error has been detected.

NotReady

100

The requested operation cannot be executed in the present state.

ConnectNotPossible

101

Used by the method ConnectToServer: The connection could not be initiated. Detailed information is provided through the output q_sResultMsg of the method.

ConnectFailed

102

The connection to the server was not successful.

DisconnectFailed

103

The disconnection from the server was not successful.

SendFailed

104

Sending a request to the server was not successful.

ReceiveFailed

105

An error was detected while waiting for receiving the response.

InvalidResponse

106

The format of the response received from the server is not supported and cannot be processed.

ResponseTimedOut

107

A timeout occurred while waiting for a response to the sent request. No or incomplete response received from the server.

BufferTooSmall

108

The size of the buffer for the response message is too small. Assign a buffer with sufficient size at the corresponding input of the method.

ConnectionRefused

110

The attempt to establish a connection was unsuccessful. The server refused the connection request. Verify the specified server IP address and port.

ConnectionTimedOut

111

The attempt to establish a connection was timed out. Verify the specified server IP address and port.

InitTlsContextFailed

112

Detected internal error while initializing the TLS (Transport Layer Security) context. You can open up to 10 different TLS contexts at the same time. Ensure that not more than 10 TCP sockets using TLS are open at the same time.

CertificateNotFound

113

The specified certificate could not be found in the certificate store of the controller.

ConnectionInterrupted

116

The connection to the server was interrupted.

InputParameterFault

117

At least one input parameter of the function is invalid.

Refer to the property ErrorResult.

OnlineChangeDetected

118

The execution was aborted due to a login in conjunction with an online modification of the application was detected.

NotSupported

119

The requested operation is not supported.

For example, selecting TLS on a controller which does not provide this feature.

SendBufferFull

120

Occurs if large data were sent as content and the server does not process the data in a certain time. The minimum send-rate of the client is approximately 1500 bytes in 1 s.

InternalError

200

An internal error of the client was detected.

Re-establish a connection to the server and retry.

Used By

oFB_HttpClient