Automation Direct’s EA9 C-more HMI programming and configuration software is now a free download! C-more HMI touch panels provide a graphical interface designed to interchange and display graphics, animation and data to and from a PLC by merely touching the screen. You can virtually replace every pushbutton, switch, meter, and other peripheral device with one C-more touch panel. C-more touch screen panels are available in 6″, 7″, 8″, 10″, 12″ and 15″ colour TFT display versions. A headless HMI (no-screen) model is also available for larger or user-defined display options. The C-more HMI configuration software provides a powerful set of Continue reading C-More Programming Software is now free!
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
This TechTip is about using languages on Weintek HMI. Languages are controlled by a local word, LW9134. YouTube video of a demo project: Setting LW 9134 to 0 selects “Language 1“, setting to 1 selects “Language 2“, and so on. As usual, we’ve included a basic example program using the language setting. We’ll break down some of the key elements in our demo program so you can follow it. We’re using four languages in our demo, these are English, French, German and Italian. To select these, we’ll set LW 9134 to 0, 1, 2, or 3 respectively. The demo is Continue reading TechTip: Using Languages On Weintek HMI
Often, when wanting a notification about a process, it is just that, a notification. A simple email reporting a few process values at a given point in time. In a previous TechTip, we covered sending alarm emails from the Weintek HMI. We can adapt the same approach to send a reporting email too. As usual, I will step through building up a simple example project. First off, we need to set up the email details. Full details are in the alarm emails TechTip mentioned, previously: Next, we need to setup an Alarm/Event log: For this example, we’re going to trigger Continue reading TechTip: Embedding Variables In a Weintek HMI Alarm/Event Log
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
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, we’ll be looking at a scenario where a number needs to be joined to a 4 character ASCII string. For example “number “+ “text” = “outputstring”. i.e. 1234+ABCD = 1234ABCD First off, we’ll declare the variables, we have “number” (which we’ll get from an HMI LW register LW0), “text” which we’ll get from LW2 (2 words – 4 characters) and the result will Continue reading TechTip: Using StringCat in 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
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 Article are designed as a “leg-up” to get you started with macros. Step 1 The Macro button is on the project tab within EasyBuilder Pro: Step 2 We need to create a macro by clicking “New…” Step 3 Let’s break down what you need to know to get started with writing a macro. First off we need to declare variables. Continue reading TechTip: Simple Macros in Weintek HMI