FB_ReceiveVisionDataServer - ConfigurationNoTLS (Method)

Overview

Type:

Method

Available as of:

V1.7.3.0

This chapter provides information on:

Task

Configure the IP address and the port for the server.

Description

With the method ConfigurationNoTLS, the IP address and the port can be configured for the server to monitor.

NOTE: Using the ConfigurationNoTLS method will establish and use an unsecured connection.

Interface

Input

Data type

Description

i_sIpAddress

STRING[15]

IP address of the vision system.

i_uiPort

UINT

Port the server should monitor.

Output

Data type

Description

q_etDiag

GD.ET_Diag

General library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = ET_Diag.Ok -> Status message

q_etDiag <> ET_Diag.Ok -> Diagnostic message

q_sMsg

STRING[80]

Event-triggered message that gives more detailed information on the diagnostic state.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value of q_etDiagExt

Description

Ok

Ok

0

Ok

ExecutionAborted

ConfigurationAlreadyCompleted

12

Configuration already successfully completed.

InputParameterInvalid

IpAddressInvalid

13

IP address is invalid.

ConfigurationAlreadyCompleted

Enumeration name:

ConfigurationAlreadyCompleted

Enumeration value:

12

Description:

The configuration has already been completed.

Issue

Cause

Solution

Configuration already successfully completed.

The method ConfigurationNoTLS(..) or the method ConfigurationTLS(..) has already been called up successfully.

Verify that the method ConfigurationNoTLS(..) or the method ConfigurationTLS(..) is not called after configuration was successful.

IpAddressInvalid

Enumeration name:

IpAddressInvalid

Enumeration value:

13

Description:

The IP address is invalid.

Issue

Cause

Solution

The IP address is invalid.

The IP address is invalid.

Verify that i_sIpAddress provides a valid IP address.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Success

Status message: Configuration of IP address and port was successful.