A simple color input control for TwinCAT HMI
The basic HTML color input element added to TwinCAT HMI. Added is the capability of reading and writing color values to and from HMI Symbols.
v1.0.0 built in TE2000 1.12.760.48 and must be used in equal or greater versions.
Ensure TE2000 v1.12.760.48+ is installed and all System Requirements are met for TwinCAT HMI Engineering.
Download TE2000: https://www.beckhoff.com/en-us/products/automation/twincat/texxxx-twincat-3-engineering/te2000.html
System Requirements: https://infosys.beckhoff.com/content/1033/te2000_tc3_hmi_engineering/2669710091.html?id=84520022315212463
Begin by cloning this repository and opening the included project. This includes the Framework Project and a Demo HMI project. To see the control in action, simply open the Desktop.view and Liveview.
To bring the control into another project, existing or new, create a NuGet Package from the Framework Project.
Right-click on the Framework Project in the Solution Explorer and select "Create NuGet Package" -
Follow the prompts to build the project, then the nupkg file will be added to your local NuGet store, commonly at C:\TwinCAT\Functions\TE2000-HMI-Engineering\References
Next, in a separate TwinCAT HMI Project, right-click on the Project in Solution Explorer and select "Manage NuGet Packages" -

Navigate to the Browse Tab and ensure Package Source, in the top right corner, is set to TwinCAT HMI Customer. Scroll down to find the TcHmiColorInput package and install it.
Finally, the control will appear in the Toolbox where you can drag and drop it onto your pages.



