FC_LoadDefaultPortRules - General Information

Overview

Type:

Function

Available as of:

SystemInterface_V1.62.4.1

Versions:

Current version

Task

Load port rules from configuration file.

Description

The function can be used to load port rules from configuration file. If the file does not exist, a new configuration file with a default set of rules is created. If the configuration file is invalid, the default set of rules is loaded dynamically without changing the configuration file.

Return Value

Data type

Description

DINT

0: Successful execution

-1: General error detected

-2: Invalid configuration file. The default set of rules was applied.