FB_AsyncStrResult

FB_AsyncStrResult 1:

This function block enables the asynchronous request for a text.

FB_AsyncStrResult 2: Methods

Name

Description

GetString

As soon as bBusy is FALSE and provided no error has occurred (bError = FALSE), the requested text can be fetched with this method.

FB_AsyncStrResult 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.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4022.20

PC or CX (x64, x86, ARM)

Tc3_EventLogger