FB_Rfc1006ClientSettingsClass

FB_Rfc1006ClientSettingsClass 1:

The function block FB_Rfc1006ClientSettingsClass is used to configure the RFC1006 communication layer.

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

Inheritance hierarchy

FB_SocketClientSettingsClass -> FB_TpktClientSettingsClass -> FB_Rfc1006ClientSettingsClass


FUNCTION_BLOCK FB_Rfc1006ClientSettingsClass EXTENDS FB_TpktClientSettingsClass IMPLEMENTS I_Rfc1006ClientSettingsClass

FB_Rfc1006ClientSettingsClass 2: Interfaces

Type

Description

I_Rfc1006ClientSettingsClass

Interface for configuring the RFC1006 communication layer

FB_Rfc1006ClientSettingsClass 3: Methods

Name

Description

Defaults

Resets the configuration settings to the default values.

FB_Rfc1006ClientSettingsClass 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

I_Rfc1006ClientSettingsClass

’00 00’

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

Set

Local

sCalled_T_Selector

STRING

Get

I_Rfc1006ClientSettingsClass

’00 01’

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

Set

Local

eTpduSize

E_Rfc1006TpduSize

Get

I_Rfc1006ClientSettingsClass

E_Rfc1006TpduSize.Size_1024

Maximum TPDU byte length.

Set

Local

tRfc1006Timeout

TIME

Get

I_Rfc1006ClientSettingsClass

T#15s

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

Set

Local

eTraceRfc1006

E_TraceLevel

Get

I_Rfc1006ClientSettingsClass

E_TraceLevel.None

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

Set

Local