FB_UlosiClientSettingsClass

FB_UlosiClientSettingsClass 1:

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

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

Inheritance hierarchy

FB_SocketClientSettingsClass -> FB_TpktClientSettingsClass -> FB_Rfc1006ClientSettingsClass -> FB_UlosiClientSettingsClass


FUNCTION_BLOCK FB_UlosiClientSettingsClass EXTENDS FB_Rfc1006ClientSettingsClass IMPLEMENTS I_UlosiClientSettingsClass

FB_UlosiClientSettingsClass 2: Interfaces

Type

Description

I_UlosiClientSettingsClass

Interface for configuring the ULOSI communication layer.

FB_UlosiClientSettingsClass 3: Methods

Name

Description

Defaults

Resets the configuration settings to the default values.

FB_UlosiClientSettingsClass 4: Properties

Name

Type

Access

Definition location

Initial value

Description

bAutoCleanup

BOOL

Get,Set

Inherited from FB_SocketClientSettingsClass

TRUE

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

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.

nRemotePort

UDINT

Get,Set

-//-

102

TCP/IP port number of the server.

sRemoteHost

T_Ipv4Addr

Get,Set

-//-

‘127.0.0.1‘

IPv4 network address of the server.

tConnect

TIME

Get,Set

-//-

T#45s

Earliest time on expiry of which a new connection can be established.

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_TpktClientSettingsClass

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_Rfc1006ClientSettingsClass

’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_UlosiClientSettingsClass

’00 01‘

Calling-S-selector.

Set

Local

sCalled_S_Selector

STRING

Get

I_UlosiClientSettingsClass

’00 01‘

Called-S-selector.

Set

Local

nSessionRequirement

WORD

Get

I_UlosiClientSettingsClass

2

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

Set

Local

sCalling_P_Selector

STRING

Get

I_UlosiClientSettingsClass

’00 00 00 01‘

Calling-P-selector.

Set

Local

sCalled_P_Selector

STRING

Get

I_UlosiClientSettingsClass

’00 00 00 01‘

Called-P-selector.

Set

Local

nPresentRequirements

BYTE

Get

I_UlosiClientSettingsClass

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_UlosiClientSettingsClass

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_UlosiClientSettingsClass

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_UlosiClientSettingsClass

'1.0.9506.2.3'

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

Set

Local

sCalled_AP_Title

STRING

Get

I_UlosiClientSettingsClass

'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_UlosiClientSettingsClass

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_UlosiClientSettingsClass

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_UlosiClientSettingsClass

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_UlosiClientSettingsClass

'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_UlosiClientSettingsClass

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_UlosiClientSettingsClass

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_UlosiClientSettingsClass

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_UlosiClientSettingsClass

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_UlosiClientSettingsClass

'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_UlosiClientSettingsClass

‘‘

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_UlosiClientSettingsClass

‘‘

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_UlosiClientSettingsClass

E_AcseAuthentication.Unilateral

Authentication mode.

Set

Local

tUlosiTimeout

TIME

Get

I_UlosiClientSettingsClass

T#20s

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

Set

Local

eTraceUlosi

E_TraceLevel

Get

I_UlosiClientSettingsClass

E_TraceLevel.None

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

Set

Local