Controls
The NuGet package Beckhoff.TwinCAT.HMI.Vision.Controls (TwinCAT package "TwinCAT.HMI.Vision.Controls") provides some controls for displaying and manipulating Vision data. This documentation assumes basic knowledge of TwinCAT HMI concepts see TE2000 and refers to them. A detailed description of the use of controls can also be found there.
Controls
The package contains the following controls that can be added to HMI pages via the HMI Toolbox:
Control | Category | Description |
---|---|---|
Vision |
| |
Vision | Displaying and setting colors | |
Shapes | Interactive display and drawing of a rectangle. | |
Shapes | Interactive display and drawing of a polygon. |
Shape controls The Rectangle (Interactive) and Polygon (Interactive) controls are primarily auxiliary controls that are reused in the Image Watch control. If necessary, they can also be used alone. In addition, the controls can also be used for derived shapes such as a point, a line, a circle, an ellipse or a square with the help of their attributes. |
In addition, the package contains the following help functions:
Function | Category | Description |
---|---|---|
Vision | Converts the | |
Vision | Converts color values between different formats. | |
Formatting | Formats the | |
Formatting | Formats the | |
Data Conversion | Converts a rectangle of type TcVnRectangle to type TcVnRotatedRectangle. | |
Data Conversion | Converts a rectangle of type TcVnRotatedRectangle to type TcVnRectangle. |