FB_RequestEventClassDetails

FB_RequestEventClassDetails 1:

This function block can be used to query the details of an event class in the form of FB_TcDetail.

FB_RequestEventClassDetails 2: Methods

Name

Description

Clear

This method clears the last result queried.

Get

As soon as bBusy is FALSE and if no error has occurred (bError = FALSE), this method can be used to get a result from the queried list.

Request

Calling this method triggers the asynchronous request.

RequestRemote

Calling this method triggers the asynchronous request on a remote target system.

FB_RequestEventClassDetails 3: Properties

Name

Type

Access

Description

bBusy

BOOL

GET

TRUE as long as the processing is not yet completed.

bError

BOOL

GET

TRUE when an error occurs.

hrErrorCode

HRESULT

GET

Outputs the error information if bError is TRUE.

nCount

UDINT

GET

Number of causes/remedy elements found

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4026.0

PC or CX (x64, x86, ARM)

Tc3_EventLogger (>=3.3.7.0)