FB_SendVisionData - Configuration (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

This chapter provides information on:

Task

Configure the IP address of the server for the client to connect to.

Description

With the method Configuration, the IP address of the server can be configured for the client to connect to.

Interface

Input

Data type

Description

i_sIpAdress

STRING[20]

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 Configuration(...) was already called up successfully.

Verify that the method Configuration(...) 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_sIpAdress provides a valid IP address.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Success

Status message: Configuration of the server IP address was successful.