TechTip: How to program Weintek HMI via Ethernet

This guide will show you how to connect a Weintek HMI to a PC via ethernet; to do this, we’ll be making sure that both screen and PC/laptop network adaptor are on the same subnet as each other.  Note: The illustrations in this Guide are based on an iE Series HMI. Other Series HMIs may appear a little different. For HMIs with dual ethernet, the IP addresses of the ports MUST be on different subnets.  Weintek System Settings1. On the Weintek HMI, tap the black arrow bottom right  2. To check if there is an IP address already set on the HMI, tap the Information button to show the settings for the device. In this case, we Continue reading TechTip: How to program Weintek HMI via Ethernet

TechTip: Connecting a Control Techniques Drive to a Weintek HMI Using Modbus RTU

This TechTip is about connecting a Control Techniques drive to a Weintek HMI using Modbus RTU. For the purposes of this TechTip, we’re using a CT Comander C300 drive fitted with an AI-485 option module. Drive SetupEither using the drive onboard menu via the keypad, or Control Techniques Connect, software, verify the communications settings (Address, Baud Rate, Data bits, Stop Bits, Parity) as these will need to be matched in your HMI project. Addressing FormatModbus Addressing format for Control Techniques drives is: 40000 + (menu number x 100) + (parameter number) The Weintek HMI does not require the 40000, so Continue reading TechTip: Connecting a Control Techniques Drive to a Weintek HMI Using Modbus RTU

TechTip: Window Change on Auto-Logout Weintek HMI

This TechTip is about automatically changing the HMI window when logout, or Auto logout occurs. This could be useful if you want to ensure that if a user with elevated privileges leaves the HMI without logging out then the HMI will return to a normal operating or information window. Auto logout enabled is set in the System tab of System Parameters Setting in EasyBuilder Pro. To achieve window change on logout or Auto logout, we’ll use a macro to check the value of LW 9222 – this is the system register holding the value of operable security classes. If a Continue reading TechTip: Window Change on Auto-Logout Weintek HMI

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 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.

TechTip: Using the Shape Library with Weintek HMI

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

TechTip: Using Weintek HMI to Print a label on a Zebra Printer using Free Protocol

In this TechTip we’ll be looking at printing a label to a Zebra printer by sending the ZPL string to the com port or Ethernet port on the HMI. Zebra printers are increasingly popular in production and packaging and are highly configurable and able to print barcodes, QR codes, Data matrix codes etc. (for reference, the printer used in this demo was a Zebra GK420t.) This isn’t intended to be a lesson in the ZPL language, but we will run through the label string used for our demo: The code we’ll use for this label is below: We can preview Continue reading TechTip: Using Weintek HMI to Print a label on a Zebra Printer using Free Protocol

TechTip: Using Languages On 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

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 see what we’re doing here. *It’s worth noting that some browsers do not support parsing passwords etc in the address. As of today, Mozilla Firefox works ok. Using with Mozilla Firefox Macro The required string is in the following format: “ftp://uploadhis:[email protected]/“ Declare variables The first part, “ftp://uploadhis:” is fixed, so we’ll declare that in our macro: Next is the ftp Continue reading TechTip: Using a Macro On a Weintek HMI to Generate a QR Code For The History Upload Address

TechTip: Weintek EasyAccess 2.0

This TechTip is about setting up EasyAccess 2.0. We’ll step through the stages to regisiter a Domain Account, how to add EasyAccess 2.0 to your HMI and how to use PassThrough to access your PLC or controller. Create a Domain account EasyAccess 2.0 requires a Domain account, the default administrator user is “admin”. Other users can be added to the Domain later, and can be managed through the EasyAccess web portal. To create a Domain account, click here: https://account.ihmi.net/domain/index.php and click on “Create Domain Account”. Enter the details you want to use for your Domain After clicking “Register”, you’re taken Continue reading TechTip: Weintek EasyAccess 2.0

TechTip: Embedding Variables In a Weintek HMI Alarm/Event Log

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