FB_RequestCauseRemedy

FB_RequestCauseRemedy 1:

This function block enables the asynchronous request of cause/remedy in the desired language for an event.

FB_RequestCauseRemedy 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_RequestCauseRemedy 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)