FC_FirewallSetActive

 

FC_FirewallSetActive - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.56.13.0

Versions:

Current version

Task

Activate / deactivate the firewall.

Description

The function can be used to activate / deactivate the firewall.

Interface

Input

Data type

Description

i_xActive

BOOL

TRUE = The function is called.

Return Value

Data type

Description

DINT

0: Firewall successfully activated / deactivated.

-1: Firewall could not be enabled. Check the configuration file for detected errors.

-2: Not enough free memory.

Any other value: General error detected.

Example

FirewallStatus := FC_FirewallSetActive( TRUE );  

On a successful activation or deactivation, the result is 0.

In case of an internal error (greater 0), contact your Schneider Electric representative (customer support).