FB_UlosiServerSettingsClass

FB_UlosiServerSettingsClass 1:

The function block FB_UlosiServerSettingsClass is used to configure the ULOSI (Upper Layer OSI) communication layer.

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

Inheritance hierarchy

FB_SocketServerSettingsClass -> FB_TpktServerSettingsClass -> FB_Rfc1006ServerSettingsClass -> FB_UlosiServerSettingsClass


FUNCTION_BLOCK FB_UlosiServerSettingsClass EXTENDS FB_Rfc1006ServerSettingsClass IMPLEMENTS I_UlosiServerSettingsClass

FB_UlosiServerSettingsClass 2: Interfaces

Type

Description

I_UlosiServerSettingsClass

Interface for configuring the ULOSI communication layer.

FB_UlosiServerSettingsClass 3: Methods

Name

Description

Defaults

Resets the configuration settings to the default values.

FB_UlosiServerSettingsClass 4: Properties

Name

Type

Access

Definition location

Initial value

Description

bAutoCleanup

BOOL

Get,Set

Inherited from FB_SocketServerSettingsClass

TRUE

Enables/disables the automatic clean-up/closure of the unused sockets (e.g. after program download or PLC reset).

bEnable

BOOL

Get,Set

-//-

FALSE

Enables/disables establishing the server connections. "TRUE" enables the Listen command (listening and incoming connections are accepted) and "FALSE" disables it.

sSrvNetID

T_AmsNetID

Get,Set

-//-

‘‘

TwinCAT network address of the TwinCAT TCP/IP server (TF6310). With the empty string, the network address of the local TwinCAT system is used.

nLocalPort

UDINT

Get,Set

-//-

102

TCP/IP port number of the server.

sLocalHost

T_Ipv4Addr

Get,Set

-//-

‘127.0.0.1‘

IPv4 network address of the server.

tAccept

TIME

Get,Set

-//-

T#1s

Retry cycle time for the internal TCP/IP socket Accept commands.

tListen

TIME

Get,Set

-//-

T#1s

Retry cycle time for the internal TCP/IP socket Listen command.

tAdsTimeout

TIME

Get,Set

-//-

DEFAULT_ADS_TIMEOUT

Maximum timeout time for ADS services that may not be exceeded.

tSocketTimeout

TIME

Get,Set

-//-

T#5s

Maximum timeout time during the execution of the confirmed services that may not be exceeded.

bThrottleMode

BOOL

Get,Set

-//-

TRUE

Enables/disables the receive data throttle polling mode.

throttleTimes

T_ThrottleTimes

Get,Set

-//-

Param_Sockets.cDefaultReceiverThrottleTimes

Configuration of the cycle times for the receive data throttle polling mode.

eTraceSocket

E_TraceLevel

Get,Set

-//-

E_TraceLevel.None

Configures the priority level for the logging of the error messages and log messages.

ipTLS

I_SocketTlsSettingsClass

Get,Set

-//-

0

Configuration parameters of the TLS (Transport Layer Security) protocol layer. Value null = not configured.

bEvaLinkStatusErr

BOOL

Get,Set

-//-

FALSE

Configures the evaluation mode for the link status error of the network adapter. If "FALSE" then disabled, short connection interruptions are bridged. If "TRUE" is enabled, the connection is terminated when a connection error is detected.

 

 

 

 

 

 

tTpktTimeout

TIME

Get,Set

Inherited from FB_TpktServerSettingsClass

T#10s

Maximum time that may not be exceeded during the execution of the confirmed services.

eTraceTpkt

E_TraceLevel

Get,Set

-//-

E_TraceLevel.None

Configures the priority level for the logging of the error messages and log messages.

 

 

 

 

 

 

sCalling_T_Selector

STRING

Get,Set

Inherited from FB_Rfc1006ServerSettingsClass

’00 00’

RFC 1006 parameter: Calling transport address selector (source).

sCalled_T_Selector

STRING

Get,Set

-//-

’00 01’

RFC 1006 parameter: Called transport address selector (destination).

eTpduSize

E_Rfc1006TpduSize

Get,Set

-//-

E_Rfc1006TpduSize.Size_1024

Maximum TPDU byte length.

tRfc1006Timeout

TIME

Get,Set

-//-

T#15s

Maximum time that may not be exceeded during the execution of the confirmed services.

eTraceRfc1006

E_TraceLevel

Get,Set

-//-

E_TraceLevel.None

Configures the priority level for the logging of the error messages and log messages.

 

 

 

 

 

 

sCalling_S_Selector

STRING

Get

I_UlosiServerSettingsClass

’00 01‘

Calling-S-selector.

Set

Local

sCalled_S_Selector

STRING

Get

I_UlosiServerSettingsClass

’00 01‘

Called-S-selector.

Set

Local

nSessionRequirement

WORD

Get

I_UlosiServerSettingsClass

2

Session requirements. With the setting 16#FFFF, the value is optional and is not transmitted.

Set

Local

sCalling_P_Selector

STRING

Get

I_UlosiServerSettingsClass

’00 00 00 01‘

Calling-P-selector.

Set

Local

sCalled_P_Selector

STRING

Get

I_UlosiServerSettingsClass

’00 00 00 01‘

Called-P-selector.

Set

Local

nPresentRequirements

BYTE

Get

I_UlosiServerSettingsClass

0

Presentation requirements. With the setting: 0, the value is transmitted and with the setting 16#FF, the value is optional and is not transmitted.

Set

Local

nPresentProtocolVersion

BYTE

Get

I_UlosiServerSettingsClass

16#FF

Presentation protocol version. With the setting 1, the value is transmitted and with the setting 16#FF, the value is optional and is not transmitted.

Set

Local

nProtocol_Version

BYTE

Get

I_UlosiServerSettingsClass

16#FF

Association Control Service protocol version. With the setting 1, the value is transmitted and with the setting 16#FF, the value is optional and is not transmitted.

Set

Local

sContext_Name

STRING

Get

I_UlosiServerSettingsClass

'1.0.9506.2.3'

Application context name (object identifier, dotted presentation), MMS.

Set

Local

sCalled_AP_Title

STRING

Get

I_UlosiServerSettingsClass

'1.1.1.999.1'

Called-AP-title. With the empty string, the value is optional and is not transmitted.

Set

Local

nCalled_AE_Qualifier

UDINT

Get

I_UlosiServerSettingsClass

12

Called-AE-qualifier. With the setting 16#FFFFFFFFFF, the value is optional and is not transmitted.

Set

Local

nCalled_AP_InvID

UDINT

Get

I_UlosiServerSettingsClass

16#FFFFFFFF

Called-AP-invocation-identifier. With the setting 16#FFFFFFFFFF, the value is optional and is not transmitted.

Set

Local

nCalled_AE_InvID

UDINT

Get

I_UlosiServerSettingsClass

16#FFFFFFFF

Called-AE-invocation-identifier. With the setting 16#FFFFFFFFFF, the value is optional and is not transmitted.

Set

Local

sCalling_AP_Title

STRING

Get

I_UlosiServerSettingsClass

'1.1.1.999'

Calling-AP-title. With the empty string, the value is optional and is not transmitted.

Set

Local

nCalling_AE_Qualifier

UDINT

Get

I_UlosiServerSettingsClass

12

Calling-AE-qualifier. With the setting 16#FFFFFFFFFF, the value is optional and is not transmitted.

Set

Local

nCalling_AP_InvID

UDINT

Get

I_UlosiServerSettingsClass

16#FFFFFFFF

Calling-AP-invocation-identifier. With the setting 16#FFFFFFFFFF, the value is optional and is not transmitted.

Set

Local

nCalling_AE_InvID

UDINT

Get

I_UlosiServerSettingsClass

16#FFFFFFFF

Calling-AE-invocation-identifier. With the setting 16#FFFFFFFFFF, the value is optional and is not transmitted.

Set

Local

nRequirements

BYTE

Get

I_UlosiServerSettingsClass

0

Association Control Service requirements. The value: 1 enables the authentication function and the value: 0 disables it.

Set

Local

sMechanism_Name

STRING

Get

I_UlosiServerSettingsClass

'2.2.3.1'

Authentication mechanism name. If there is no empty string and the authentication function is enabled, the value is transmitted.

Set

Local

sAuthent_Value

STRING

Get

I_UlosiServerSettingsClass

‘‘

Authentication value (password). If there is no empty string and the authentication function is enabled, the value is transmitted.

Set

Local

sResponding_Value

STRING

Get

I_UlosiServerSettingsClass

‘‘

Responding authentication value (password). If no empty string, the authentication function is enabled and authentication mode: Mutual then the value is transmitted.

Set

Local

eAcse_Authent

E_AcseAuthentication

Get

I_UlosiServerSettingsClass

E_AcseAuthentication.Unilateral

Authentication mode.

Set

Local

tUlosiTimeout

TIME

Get

I_UlosiServerSettingsClass

T#20s

Maximum time that may not be exceeded during the execution of the confirmed services.

Set

Local

eTraceUlosi

E_TraceLevel

Get

I_UlosiServerSettingsClass

E_TraceLevel.None

Configures the priority level for the logging of the error messages and log messages.

Set

Local