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 to value2, if this is the case, our result is calculated value1 – value2. If value2 is greater than value1 then our result calculation is value2 – value1. The macro is shown below: As usual there’s a demo project available for you to try out using EasyBuilder Pro’s excellent simulator. Download the demo here.
A frequently asked question we receive is “How do I create a multi-state lamp – for example to use with a Word Lamp?” This TechTip will hopefully make the process of creating a multi-state shape object clearer. Start a blank EasyBuilder Pro Project and locate the rectangle shape tool… Set properties for our shape outline… (note that “Filled” is un-ticked at the moment). Draw the outline frame on the design window… Copy and past the outline frame and make a solid filled shape by ticking “Filled” and setting appropriate colours… Select the Outline frame… Click on “Shape”… … which will Continue reading TechTip: Using the Shape Library with Weintek HMI
We’re exhibiting at Robotics and Automation 2019 being held at the Ricoh Arena 29th & 30th October 2019. Come and see us on stand 622. Be sure to register at https://www.roboticsandautomation.co.uk/ . Look forward to seeing you there.
This tech tip is about the recipe function on Weintek HMI, a frequently asked question. As usual, we’ll work through the steps for a basic example to get you started. As with most of our TechTips, this can be achieved without any hardware, making use of the excellent simulator feature in EasyBuilder Pro. A recipe, is a set of parameters that is used to produce a product or run a particular process. These could be times, temperatures, operation counts, volume or weight of material etc. The example program is for a bread making process. The parameters for our bread recipe Continue reading TechTip: Recipes On Weintek HMI
cMT Series HMI offers flexible and versatile functions which allow multiple users to control an HMI at the same time, to help ensure system safety by preventing an object from being controlled by multiple clients simultaneously, Weintek have developed a new feature: Control Token: With control token enabled, only one cMT Viewer client can acquire the control token at a time, and only the cMT Viewer client that with possession of the control token can operate the object. Other clients can only acquire the token one by one only when the previous possessor of the token leaves or closes the page. Continue reading New feature on Weintek cMT Series HMI: Control Token
Product Introduction: Ethernet is gradually becoming the standard interface for PLCs and controllers, the demand for data exchange with upper layer devices (SCADA) over the network and integration with cloud services is also increasing. To meet these demands, Weintek released models with dual Ethernet ports: MT8073iE(7”), MT8090XE(10”), and cMT Series, which all received positive customer feedback. To provide users with a wider choice of screen sizes, Weintek have launched a new 4.3″ dual-Ethernet HMI – MT8053iE. Adding new I/O ports into such small enclosure is always a challenge due to space constraints, however, Weintek pushed the boundaries to make it possible. Continue reading New Product Announcement: MT8053iE 4.3″ HMI with Dual Ethernet & Built-in EasyAccess 2.0
Product Introduction and Features Being compact and cost-effective, Weintek 7” HMI have always been a popular product. With that in mind, Weintek have introduced a new 7” HMI: cMT3071. The new model aims to make cMT Series models a more accessible option allowing more of our customers to build their smart factories using cMT’s rich, powerful features. The cMT3071 boasts higher hardware spec than its iE/iP/eMT Series counterparts in every aspect, with better computational performance it delivers a richer user experience. Equipped with a dual-core Cortex A9 1GHz CPU, 4GB Flash and 1GB RAM, the cMT3071 runs more smoothly, allows projects with Continue reading New Product Announcement – cMT3071 – 7″ HMI
In this TechTip we’re looking at using tags in a project and how they work in a macro. Address Tags are a great way to maintain control of elements you may wish to reassign later to an alternative address. In our simple example, we have 2 tags set up in the Address Tag Library using local bits. They are called “Lamp” and “Lamp2” mapped to LB10 and LB100. In our Macro we can pick Tags by ticking the “User-defined tag” box on the macro helper: Macro from our example project is as follows… note the use of Tags “Lamp” and Continue reading TechTip: Using Project Tags In a Macro On a Weintek HMI
In this TechTip, we’ll build on something we’ve looked at previously, and that’s For-Next loops. In this example what we’re looking to do is sequence 8 bits in the HMI (LB-10-17) with a time delay – an application of this might be if you’re looking to perform several bit-triggered data transfers. First off we’ll declare the variables… macro_command main() // Declare variables bool bit // bit is a boolean (bool) short loop // loop value – short (16bit) short time=500 // time – short (16bit) = 500mS Then we’ll do our loop – in this case, 10-17… for loop=10 to Continue reading TechTip: Bit Sequencing Using a Macro on Weintek HMI
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 variables: macro_command main() // Declare variables bool Lamp // Lamp is a bit (bool) short i // i is the loop variable short millisecs // the time for delay in mS short loop //number of loops set using LW1 We’ll use GetData to get the values for DELAY from LW0 and for the number of loops from LW1 (we could Continue reading TechTip: For-Next Loop in Weintek HMI Macro