TechTip: Calculating The Difference Between Two Values Using a Macro In a Weintek HMI

This TechTip is about using a macro for a simple calculation to determine the difference between 2 values. To calculate the difference between 2 values, first we use the “>=” operator to determine if value1 is greater than or equal Continue reading TechTip: Calculating The Difference Between Two Values Using a Macro In a Weintek HMI

TechTip: Using a Macro On a Weintek HMI to Generate a QR Code For The History Upload Address

Introduction This TechTip is about using a Macro to generate a QR code to scan with a phone to access via FTP* the HMI to upload history files etc from it. As usual, we’ll break it down so you can Continue reading TechTip: Using a Macro On a Weintek HMI to Generate a QR Code For The History Upload Address

TechTip: Ramp Up and Down a Value Using a Macro On Weintek HMI

This TechTip is about using For/Next loops to ramp up and down a value on a Weintek HMI. The macro is using local word LW 100 as the output, the time in mS between steps is set by “time” (LW Continue reading TechTip: Ramp Up and Down a Value Using a Macro On Weintek HMI

TechTip: Enabling EasyAccess 2.0 on a cMT-GXX Gateway

The reduced interface in EasyBuilder Pro for the cMT-GXX series Gateway means that to start the EasyAccess 2.0 service we have to find a way to set the EasyAccess Control word LW 10820 to “1” to start the service. (At Continue reading TechTip: Enabling EasyAccess 2.0 on a cMT-GXX Gateway

TechTip: Using StringCat in a Macro on Weintek HMI

This TechTip is about using “StringCat” in a Weintek HMI macro. You may already be familiar with using CONCAT in Microsoft Excel to link different text strings together to form a new string, this is what StringCat does.┬áIn this example, Continue reading TechTip: Using StringCat in a Macro on Weintek HMI

TechTip: For-Next Loop in Weintek HMI Macro

In this TechTip, we’ll be looking at For-Next loops in the Weintek HMI macro language. It will be assumed that you’ve already got some basic knowledge of Weintek macros. As in other macro TechTips we’ll start off by declaring some Continue reading TechTip: For-Next Loop in Weintek HMI Macro

TechTip: Simple Macros in Weintek HMI

Weintek HMI have a very powerful macro language enabling scripts to be written to implement control, perform calculations and much more. For those new to macros it can be quite daunting to get started. The example shown in this TechTip Continue reading TechTip: Simple Macros in Weintek HMI