FB_MainMachineMiniDiagSource - General Information

Overview

Type:

Function block

Available as of:

V2.0.0.0

Inherits from:

oFB_BaseGroupModuleMiniDiagSource

Implements:

oIF_MiniDiagSource

Access restriction:

PUBLIC

Versions:

Current version

Description

Module-specific implementation for reading out interface data for the "MainMachine" EDESIGN module.

Interface

Input

Data type

Description

i_ifEDesignModule

IF_EDesignModule

(Address to) EDesign module for reading out the StandardItf and IF_ModuleText in the MiniDiagSource instance.

i_aifSubModules

ARRAY[1..c_udiMaxNumberOfSubModules] OF IF_MiniDiagSource

List of instances of the MiniDiagSources hierarchically following the module

i_udiNumberOfSubModules

UDINT

Number of MiniDiagSources listed in i_aifSubModules. Determines the highest index for the internal processing of the list.

Methods

Name

Description

ExceptionDuringWriting

MiniDiagSource internal exception handling during XML data output.

PrepareSubModule

Updates internal pointers. Required before every use of submodules.

Reset

Prepare all the internal states for the data output. Required before calling up WriteDiagDataToFile.

WriteDiagDataToFile

Starts and coordinates the output of the diagnostic source data in accordance with IF_MiniDiagSource.

WriteModuleSpecificData

Implements the output of further module-specific interface data of the connected EDESIGN module.

WriteNodeEnd

Encapsulates the end of a subnode for the interface parameters to be output.

WriteNodeStart

Encapsulates the creation of a subnode for the interface parameters to be output.

WriteStandardItfData

Outputs default interface data of the connected EDESIGN module.

Properties

Name

Data type

Accessing

Description

udiLevelCounter

UDINT

Read/Write

Positive number that transfers the hierarchy level of the EDESIGN module in the structure tree of the superordinated module.

xCompleted

BOOL

Read

Is TRUE as soon as the XML part of the module has been output in the MiniDiagTreeWriter. Serves as polling parameter to report to the superordinated module when hierarchically subordinated work has been completed.