FB_ExceptionList - InsertException (Method)

Overview

Type:

Method

Available as of:

V 1.0.0.0

Versions:

Current version

Task

For inserting an exception into the exception list

Interface

Input

Data type

Description

i_etDiag

GD.ET_Diag

Exception class according to GD.ET_Diag

i_udiDiagExt

UDINT

Exception number according to ET_DiagExt of the respective library

i_sMsg

STRING[80]

Exception message in plain text

i_udiModuleId

UDINT

ModuleID of the module that reported the exception.

i_sModuleName

STRING[80]

Name of the module that reported the detected error.

i_axReaction

ARRAY[1..Gc_uiNumberOfReactions] OF BOOL

Bit array that contains all the reactions that were defined in the exception.

i_etSource

ET_Type

Type of the module that reported the detected error.

i_xAutoQuit

BOOL

 

i_dateDate

DATA

 

i_todTimeStamp

TOD

 

Return Value

Data type

Description

INT