FB_UlosiConnectionSettingsClass

FB_UlosiConnectionSettingsClass 1:

The function block FB_UlosiConnectionSettingsClass is used to configure the ULOSI communication layer (Upper Layer OSI). The configuration settings only apply to a selected server session function block instance.

Namespace: Tc3_Ulosi
Library: Tc3_Ulosi (Tc3_Ulosi.compiled-library)

Inheritance hierarchy

FB_SocketConnectionSettingsClass -> FB_TpktConnectionSettingsClass -> FB_Rfc1006ConnectionSettingsClass -> FB_UlosiConnectionSettingsClass


FUNCTION_BLOCK FB_UlosiConnectionSettingsClass EXTENDS FB_Rfc1006ConnectionSettingsClass IMPLEMENTS I_UlosiConnectionSettingsClass

FB_UlosiConnectionSettingsClass 2: Interfaces

Type

Description

I_UlosiConnectionSettingsClass

Interface for configuring the ULOSI communication layer.

FB_UlosiConnectionSettingsClass 3: Methods

Name

Description

Defaults

Resets the configuration settings to the default values.

FB_UlosiConnectionSettingsClass 4: Properties

Name

Type

Access

Definition location

Initial value

Description

bEnable

BOOL

Get,Set

Inherited from FB_SocketConnectionSettingsClass

FALSE

Enables/disables the establishment of the incoming connection in a server session function block instance.

bTrace

BOOL

Get,Set

-//-

TRUE

Enables/disables the logging of error messages and log messages in a server session function block instance.

eAccept

E_SocketAcceptMode

Get,Set

-//-

E_SocketAcceptMode.eACCEPT_ALL

Configures the acceptance mode for incoming connections. The incoming connections can be accepted or rejected by a session function block instance depending on the network address and/or port number of the client. By default, connections to all clients are accepted.

nAcceptPort

UDINT

Get,Set

-//-

102

Configures the TCP/IP port number of the remote communication partner (clients) to be accepted.

sAcceptHost

T_IPv4Addr

Get,Set

-//-

‘127.0.0.1‘

Configures the IPv4 network address of the remote communication partner (clients) to be accepted.

 

 

 

 

 

 

sAuthent_Value

STRING

Get

I_UlosiConnectionSettingsClass

‘‘

Connection-specific authentication password. Remote communication partner (client) connected to the selected server session function block instance can successfully authenticate with the server using this password.

Set

Local