FUNCTION_BLOCK XY_VIEW

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

An instance of this Function Block type encapsulates the View element for displaying the position of a workpiece in a two-dimensional area.

The type of workpiece displayed is determined by the value of the STYLE input. See the documentation of the VSTYLE data type for descriptions of the possible display styles.

The DIR input is a variable of the XYHOME type, which specifies the home (x=0,y=0) position.

The default value of the DIA input may be overridden when an instance of this function block type is used in an instance of the VIEW_PANEL resource type.

See the PNP_VIEWL configuration for an example of the use of an instance of this type.