FbCloseDialog (FB)

FUNCTION_BLOCK FbCloseDialog EXTENDS FbExecuteSingleVisuActionBase IMPLEMENTS VisuElemBase.IDialogCloseListener

Handles the action close dialog

To use this function block in the programm set the according inputvalues and start the dialog close action with xExecute = TRUE.

InOut:

Scope

Name

Type

Comment

Inherited from

Input

xExecute

BOOL

Rising edge: Starts defined operation
FALSE: Resets the defined operation after ready condition was reached

ETrig

Output

xDone

BOOL

TRUE: Ready condition reached

ETrig

xBusy

BOOL

TRUE: Operation is running

ETrig

xError

BOOL

TRUE: Error condition reached

ETrig

Input

itfClientFilter

IVisualizationClientFilter

With this filter, the clients, where the action should happen, are specified.

Use standard filter from GVL Globals, e.g. VU.Globals.CurrentClient, or use a own implentation of the interface.

FbExecuteSingleVisuActionBase

Output

eError

ERROR

FbExecuteSingleVisuActionBase

Input

sDialogName

STRING

Mandatory value: name of the dialog

dialogResult

VisuElemBase.Visu_DialogResult