TcHmiEasyFunctions 1.0.1

dotnet add package TcHmiEasyFunctions --version 1.0.1
                    
NuGet\Install-Package TcHmiEasyFunctions -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TcHmiEasyFunctions" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TcHmiEasyFunctions" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="TcHmiEasyFunctions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TcHmiEasyFunctions --version 1.0.1
                    
#r "nuget: TcHmiEasyFunctions, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TcHmiEasyFunctions@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TcHmiEasyFunctions&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=TcHmiEasyFunctions&version=1.0.1
                    
Install as a Cake Tool

TcHmiEasyFunctions README

TcHMI Easy Functions JavaScript power through the standard Action Editor.

TwinCAT HMI is highly extensible, but common tasks—like setting focus to a specific control—often require writing custom JavaScript.

Easy Functions is a library of pre-built actions designed for the TcHMI Action Editor. It allows engineers to implement professional interface behaviors using standard drag-and-drop workflows, bypassing the need to write or maintain manual JS code.

Key Features No Manual Coding: Logic is encapsulated into standard HMI Actions.

Native Datatypes: Functions use the TcHmiControl datatype. This allows you to select target controls directly from a dropdown menu in Visual Studio rather than typing strings.

Optimized Performance: Lightweight implementation designed to work seamlessly with the Beckhoff HMI Framework.

Included Functions FocusToControl: Automatically place the cursor or input focus on a specific control (such as a Textbox) when a page loads or an event occurs. Parameter: Control (TcHmiControl) — The target control to receive focus Usage: Drag the action into your event logic and select the control from the list.

BlurFocus: Uses JQuery to Remove focus from control currently in focus

Installation Open your TwinCAT HMI Project.

Right-click References and select Manage NuGet Packages.

Search for TcHmiEasyFunctions and click Install.

The functions will appear in the Action Editor under the Other category.

Future Roadmap This package is intended to be expanded as fitting functions surface.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 103 5/4/2026
1.0.0 99 5/4/2026

Summary of changes made in this release of the package.