FB_Network

All modules are sorted in a specific network to achieve a better overview and structure of the configured analysis.

Syntax

Definition:

FUNCTION_BLOCK FB_N[n]_[Network1] 
VAR_INPUT
    [module FBs]
END_VAR
VAR_OUTPUT
    bError: BOOL;
    ipTcResult: I_TcMessage;
END_VAR

FB_Network 1: Inputs

Name

Type

Description

Module FBs

 

Function blocks of the configured modules.

FB_Network 2: Outputs

Name

Type

Description

bError

BOOL

Becomes TRUE when an error situation occurs.

ipTcResult

I_TcMessage

Message interface of the TwinCAT 3 EventLogger, which provides further information about the return value.

FB_Network 3: Methods

Name

Definition location

Description

Call

Local

Method for background communication. The method must be called cyclically.

Reset

Local

Resetting the network with all submodules.

ValueMapping

Local

Assignment of the input values to the various module inputs.

SetHMIValues

Local

Optional: Mapping of the inputs/outputs of the modules to the global HMI variable.

Requirements

Development environment

Target platform

Plc libraries to include

TwinCAT v3.1.4024.0

PC or CX (x64, x86)

Tc3_Analytics