Dati HMI WEINTEK Sampling
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.
Istruzzioni Step-by-Step
Passu 1
Click on “Data Sampling” in the Data/History Tab in EasyBuilder Pro:
Passu 2
Click “New” to set up a new Data Sampling Object:
Passu 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.
Passu 4
Click “Data Format”.
Passu 5
Click “New…”
- Choose the Data type. In our example, we are using LW registers as 16-bit Unsigned. Click “OK”.
Passu 6
Repeat this 3 times (remember, we are sampling 3 addresses – LW0-LW2). Click “Exit”
The Data Sampling Object list should now have the Data Sampling Object created on it. Click “Exit”.
Passu 7
On the Data Sampling Object Window, we should see the Data length as “3 Word(s)”.
Passu 8
To place a trend graph on the screen, click on “Trend Display” under the Data/History tab.
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:
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.
Exampu prugramma
Un esample project is available to download here. You will need at least version 6.01.02.123 to open this file.
Specificazioni
- Pruduttu: Data Sampling
- Versione Software: EasyBuilder Pro V6.10.01
Istruzzioni per l'usu di u produttu
Overview
Dopu avè definitu cumu i dati sò sampguidatu, da samptempu di ling, indirizzu, o lunghezza di dati, u sampI dati led ponu esse salvati in u locu designatu, cum'è a memoria HMI, a carta SD, o u discu USB. L'uggetti di visualizazione di tendenze è di visualizazione di dati storichi ponu esse aduprati per visualizàampregistri di ling.
Dati SampGestione di e lingue
Crea un novu Data Sampling object first by following these steps:
- From the menu, select [Data/History] and click [Data Samplingue].
- Cliccate [Novu] per finisce i paràmetri pertinenti.
Creating a New Data Sampling:
Quì sottu si prisenta cumu si stabilisce un novu Data S.ampling for eMT, iE, XE, mTV, and iP Series.
Registrazione di dati (in tempu reale)
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 sampguidatu.
Personalizatu file manipulazione
Vede a sezione 8.3.2 Persunalizatu File Handling for detailed information on file gestione.
FAQs
D: Induve sò salvati i registri di dati quandu si esegue a simulazione nant'à u PC?
A: Tutti i datiampling will be saved to the datalog folder in C: EBPro[Storage Location]datalog when running the simulation on PC.
D: Cumu possu impedisce chì u spaziu di almacenamentu si esaurisca quandu adupru Data Sampling?
A: Pudete stabilisce limiti di cunservazione per files è persunalizà file handling to manage storage space efficiently. Refer to the user manual for detailed instructions.
D: Chì ghjè l'intervallu u più cortu trà duie esecuzioni riesciute quandu si usa LB-9034?
A: The shortest interval between two successful executions when using LB-9034 is 2 seconds.
Documenti / Risorse
![]() |
Dati HMI WEINTEK Sampling [pdfManuale d'usu V6.10.01, Dati HMI Sampling, HMI, Dati SampLing, Sampling |