EcoStruxure Machine Expert version 1.1 does not support the M258, LMC058 and LMC078 controllers.

Open Method

Overview

Type:

Method

Available as of:

V1.0.4.0

G-SE-0045943.2.gif-high.gif

 

 

Task

Open the server socket.

Functional Description

Opens the server socket and starts listening for incoming connections.

The BOOL return value is TRUE if the function was executed successfully. Evaluate the property Result, in case the return value is FALSE.

State Transition of the Server

Stage

Description

1

Initial state: Idle

2

Function call

3

State: Opening

4

Final state: Listening, otherwise an error is detected

Interface

Input

Data type

Valid range

Description

i_sInterfaceIP

STRING(15)

-

IP address of the interface to bind to. If null or 0.0.0.0, the server is available on all interfaces.

i_uiServerPort

UINT

1 ... 65535

TCP port to listen on.

Used by

oFB_TCPServer/FB_TCPServer2