FbChangeVisu (FB)¶
FUNCTION_BLOCK FbChangeVisu EXTENDS FbExecuteSingleVisuActionBase
Changes the currently shown toplevel visualization
The fb-instance should be declarated within a permanent setting, e.g. a GVL, and not within a temporary setting, e.g. a function. Therefore, the action will still be available, when called, later on.
- InOut:
Scope
Name
Type
Comment
Inherited from
Input
xExecute
BOOL
Rising edge: Starts defined operationFALSE
: Resets the defined operation after ready condition was reachedETrig
Output
xDone
BOOL
TRUE
: Ready condition reachedETrig
xBusy
BOOL
TRUE
: Operation is runningETrig
xError
BOOL
TRUE
: Error condition reachedETrig
Input
itfClientFilter
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
FbExecuteSingleVisuActionBase
Input
sVisuName
STRING
The name of the visualization that should be shown. In case visualization names should be ambigous, the name can be qualified using the namespace.