WEINTEK-logo

WEINTEK HMI Data Sampling

WEINTEK-HMI-Data-Sampseng-sehlahisoa

We’re often being asked “How do I data sample with a Weintek HMI?”, so below is a simple step-by-step example along with a sample project that you can run on the EasyBuilder Pro simulator to test. In our example program, we are sampling 3 LW registers (LW are Weintek HMI Local Words) starting from LW0 through to LW2.

Taelo ka Mohato

Mohato oa 1

Click on “Data Sampling” in the Data/History Tab in EasyBuilder Pro:WEINTEK-HMI-Data-Sampling-fig-1

Mohato oa 2
Click “New” to set up a new Data Sampling Object:WEINTEK-HMI-Data-Sampling-fig-2

Mohato oa 3
You can name your Data Sampling Object using the “Comment” field. For this example, we are using Time-based sampling, every second. For many applications, Trigger-Based is appropriate where an action such as a PLC bit being set, or an HMI button being pressed records the data at that moment. The read address is the start address for our Data Sampling – we are using LW0 as our start address.WEINTEK-HMI-Data-Sampling-fig-3

Mohato oa 4
Click “Data Format”.WEINTEK-HMI-Data-Sampling-fig-4

Mohato oa 5
Click “New…”WEINTEK-HMI-Data-Sampling-fig-5

  • Choose the Data type. In our example, we are using LW registers as 16-bit Unsigned. Click “OK”.

WEINTEK-HMI-Data-Sampling-fig-6

Mohato oa 6
Repeat this 3 times (remember, we are sampling 3 addresses – LW0-LW2). Click “Exit”WEINTEK-HMI-Data-Sampling-fig-7

The Data Sampling Object list should now have the Data Sampling Object created on it. Click “Exit”.WEINTEK-HMI-Data-Sampling-fig-8

Mohato oa 7
On the Data Sampling Object Window, we should see the Data length as “3 Word(s)”.WEINTEK-HMI-Data-Sampling-fig-9

Mohato oa 8
To place a trend graph on the screen, click on “Trend Display” under the Data/History tab.WEINTEK-HMI-Data-Sampling-fig-10

Select the Data Sampling Object to use. If there is more than one, they will be available on the drop-down list. For this example, we are using Time to scale the X axis:WEINTEK-HMI-Data-Sampling-fig-11

In the “Channel” tab, we can select which data samples are displayed and set the scale (min-max), assign a pen colour and width,In the example program, the value of the LW registers is 0-100, so our minimum is 0 and our maximum is 100.

WEINTEK-HMI-Data-Sampling-fig-15WEINTEK-HMI-Data-Sampling-fig-12WEINTEK-HMI-Data-Sampling-fig-13

Example Lenaneo
Mohlankanaample project is available to download here. You will need at least version 6.01.02.123 to open this file.WEINTEK-HMI-Data-Sampling-fig-14

Litlhaloso

  • Sehlahisoa: Data Sampling
  • Software Software: EasyBuilder Pro V6.10.01

Litaelo tsa Tšebeliso ea Sehlahisoa

Fetileview
Kamora ho hlalosa hore na data e sampeteletsoeng pele, ke sampnako ea ho bua, aterese, kapa bolelele ba data, sampLed data e ka bolokoa sebakeng se khethiloeng, joalo ka memori ea HMI, karete ea SD kapa disk ea USB. Trend Display le History Data Display lintho li ka sebelisoa ho bontša sampling litlaleho.

Lintlha Sampling Tsamaiso
Theha data e ncha ea Sampling object first by following these steps:

  1. From the menu, select [Data/History] and click [Data Sampling].
  2. Tobetsa [E Ncha] ho qetela litlhophiso tse amehang.

Creating a New Data SampLing:
Se latelang se hlahisa mokhoa oa ho seta data e ncha ea Sampling for eMT, iE, XE, mTV, and iP Series.

Rekoto ea data (Nako ea Sebele)
In Real-time Mode, when [Auto. stop] is not selected, the maximum number of data records that can be saved on HMI is 86400. When the number of records exceeds 86400, the earliest data will be deleted. Data of different formats in consecutive registers can be sampLED.

Customized file tshoaro
Sheba karolo ea 8.3.2 Customized File Handling for detailed information on file tsamaiso.

FAQs

P: Litlaleho tsa data li bolokiloe hokae ha ho etsoa papiso ho PC?
A: Lintlha tsohle sampling will be saved to the datalog folder in C: EBPro[Storage Location]datalog when running the simulation on PC.

P: Nka thibela joang hore sebaka sa polokelo se fele ha ke sebelisa Data Sampeng?
A: U ka ipehela meeli ea ho boloka files le ho iketsetsa file handling to manage storage space efficiently. Refer to the user manual for detailed instructions.

Q: Ke nako efe e khuts'oane lipakeng tsa lipolao tse peli tse atlehileng ha u sebelisa LB-9034?
A: The shortest interval between two successful executions when using LB-9034 is 2 seconds.

Litokomane / Lisebelisoa

WEINTEK HMI Data Sampling [pdf] Bukana ea Mosebelisi
V6.10.01, HMI Data Sampling, HMI, Data Sampling, Sampling

Litšupiso

Tlohela maikutlo

Aterese ea hau ea lengolo-tsoibila e ke ke ea phatlalatsoa. Libaka tse hlokahalang li tšoailoe *