FC_CloseSlcCommunication - General Information

Overview

Type:

Function

Available as of:

V1.0.0.0

Versions:

Current version

Description

NOTE: This function is only supported by PacDrive LMC controllers.

The function FC_CloseSlcCommunication deactivates the port rules for the controller firewall. (Also refer to FC_OpenSlcCommunication).

Interface

Input

Data type

Description

i_ifSafeLogic

SystemConfigurationItf.IF_SafeLogic

Specifies the SLC (Safety Logic Controller) for which the communication should be disabled.

Output

Data type

Description

q_etResult

ET_Result

Provides diagnostic and status information as an enumeration value.

q_sResultMsg

STRING [80]

Provides additional diagnostic and status information as a text message.

Return Value

Data type

Description

BOOL

Indicates whether or not the execution of the method was successful.

Diagnostic Messages

The following elements of ET_Result are used for q_etResult.

Name

Data type

Value

Description

Ok

UDINT

0

Operation completed successfully.

FunctionNotSupported

UDINT

100

Function not available for this controller.

InvalidIfSafeLogic

UDINT

200

The interface assigned to i_ifSafeLogic must be provided by an instance of the Safety Logic Controller in the Devices tree of the project.