FUNCTION_BLOCK PANEL_SYNC

Hover on a highlighted element
to pop up its description (if any).

ECC
ALGORITHM REQ IN Java : (* Normally executed algorithm *)
QO.value = QI.value;
if(QI.value){
 try {((FBPanelResource) getResource()).sync();}
 catch (NullPointerException | ClassCastException e1) {QO.value = false;}
 }
END_ALGORITHM

An instance of this Basic Function Block type provides a means of updating the display state of the graphics resource (if any) in which it is located. This is necessary to ensure smooth operation of animations and synchronized display of graphics components in some windowing systems.

The operation of an instance of this FB type is defined by the Execution Control Chart (ECC) and REQ algorithm shown above.

See the LED_HMI FB type for an example of the use of an instance of this FB type.

The functional equivalent of this FB type is also used internally to ensure smooth animation in the subclasses of the abstract transfer mechanism view XABS_VIEW.