Dashboard
This is the main overview page. Here you can see if the Controller is online, the sensor values, inputs and outputs.
How to use it: after connecting the HMI, check that the Controller is online. Use this page to see what is happening in the automation process.
Outputs
Here you can turn Output1…Output8 ON or OFF manually.
You can also choose what each output should do after the Controller restarts.
Schedules and Conditions can later change an output automatically.
Inputs
This page shows the real state of Input1…Input8.
Inputs can be used inside Conditions, but they cannot be changed from the program.
Schedules
Use this page when you want an output to turn ON and OFF automatically at selected times and days.
How to use it: enable the schedule, choose the ON time, OFF time and days, then save it.
Conditions
This page is used to create automatic rules.
You write simple IF rules, press VALIDATE, and if there is no error you send the program to the Controller.
If the program is not valid, correct the error before sending it.
Settings
Here you can change the controller name, the names of inputs and outputs, and the HMI language.
Wi-Fi, sensor and communication setup is done from the Controller configuration page.
Output control and Hard OFF
Dashboard momentary control can temporarily override automatic logic. On the Outputs page, ON/OFF is disabled while a Condition or Schedule owns that output, so no hidden manual value is stored.
The Hard OFF button is at the bottom of Dashboard. When active, all outputs stay OFF until Hard OFF is released.
How Conditions work
A Condition changes an output or a variable only when its command is executed.
If a condition becomes FALSE and there is no ELSE, nothing changes. The last value stays active until another rule changes it.
SET / RESET example
IF Input1 = TRUE THEN
Output4 := TRUE;
END_IF
IF Input2 = TRUE THEN
Output4 := FALSE;
END_IF
When Input1 becomes TRUE, Output4 turns ON and stays ON.
When Input2 becomes TRUE, Output4 turns OFF and stays OFF.
Follow an input
IF Input1 = TRUE THEN
Output4 := TRUE;
ELSE
Output4 := FALSE;
END_IF
In this example Output4 follows Input1 because there is a command for both TRUE and FALSE.
IF, ELSE, AND, OR, NOT
IF checks a condition.
ELSE gives the action when the IF condition is FALSE.
AND means all conditions must be TRUE.
OR means at least one condition must be TRUE.
NOT reverses TRUE/FALSE.
IF temperature > 30 AND Input1 = TRUE THEN
Output1 := TRUE;
END_IF
Do not mix AND and OR inside the same IF line.
Variables
You can create up to 10 variables.
Available types are:
BOOL = TRUE or FALSE
INT = whole number
REAL = number with decimals
VAR
hold : BOOL;
level : INT;
target : REAL;
END_VAR
Variable values stay stored while the program is running. When a new Condition program is loaded, they start again from FALSE or 0.
Wind direction
You can use direction letters or degree values.
| Code | Direction | Center |
| V | North | 0° |
| VL | Northeast | 45° |
| L | East | 90° |
| JL | Southeast | 135° |
| J | South | 180° |
| JP | Southwest | 225° |
| P | West | 270° |
| VP | Northwest | 315° |
IF windDirection = JP THEN
Output4 := TRUE;
END_IF
You can also use exact degrees:
IF windDirection >= 210 AND windDirection <= 250 THEN
Output4 := TRUE;
END_IF
Important limits
Maximum 8 IF blocks.
Maximum 10 user variables.
No IF inside another IF.
No counters or calculations such as counter := counter + 1;.
TON and BLINK are not supported.
Rules are checked from top to bottom. If two active rules change the same output, the last rule wins.
Dashboard
Kjo është faqja kryesore. Këtu shikon nëse Controlleri është online, vlerat e sensorëve, hyrjet dhe daljet.
Si përdoret: pasi të lidhet HMI, kontrollo që Controlleri të jetë online. Përdore këtë faqe për të parë çfarë po ndodh në serrë.
Outputs / Daljet
Këtu mund të ndezësh ose fikësh manualisht Output1…Output8.
Mund të zgjedhësh gjithashtu çfarë duhet të bëjë secila dalje pas rinisjes së Controllerit.
Oraret dhe Kushtet mund ta ndryshojnë më pas daljen automatikisht.
Inputs / Hyrjet
Kjo faqe tregon gjendjen reale të Input1…Input8.
Hyrjet mund të përdoren brenda Kushteve, por nuk mund të ndryshohen nga programi.
Schedules / Oraret
Përdore këtë faqe kur dëshiron që një dalje të ndizet dhe fiket automatikisht në orare dhe ditë të caktuara.
Si përdoret: aktivizo orarin, zgjidh orën e ndezjes, orën e fikjes dhe ditët, pastaj ruaje.
Conditions / Kushtet
Kjo faqe përdoret për të krijuar rregulla automatike.
Shkruan rregulla të thjeshta IF, shtyp VALIDATE dhe, nëse nuk ka gabim, e dërgon programin te Controlleri.
Nëse programi nuk është i vlefshëm, korrigjo gabimin para dërgimit.
Settings / Cilësimet
Këtu mund të ndryshosh emrin e serrës, emrat e hyrjeve dhe daljeve, si edhe gjuhën e HMI-së.
Konfigurimi i Wi-Fi, sensorëve dhe komunikimit bëhet nga faqja e konfigurimit të Controllerit.
Kontrolli i daljeve dhe Hard OFF
Komandimi manual direkt mbetet i disponueshëm edhe kur dalja përdoret nga Orari ose Kushtet. Komandat manuale dërgohen si komanda me përparësi direkte.
Butoni Hard OFF ndodhet në fund të Dashboard. Kur është aktiv, të gjitha daljet qëndrojnë të fikura derisa Hard OFF të çlirohet.
Si funksionojnë Kushtet
Një Kusht ndryshon një dalje ose variabël vetëm kur komanda e tij ekzekutohet.
Nëse një kusht bëhet FALSE dhe nuk ka ELSE, nuk ndryshon asgjë. Vlera e fundit mbetet aktive derisa një rregull tjetër ta ndryshojë.
Shembull SET / RESET
IF Input1 = TRUE THEN
Output4 := TRUE;
END_IF
IF Input2 = TRUE THEN
Output4 := FALSE;
END_IF
Kur Input1 bëhet TRUE, Output4 ndizet dhe mbetet ndezur.
Kur Input2 bëhet TRUE, Output4 fiket dhe mbetet fikur.
Dalja ndjek hyrjen
IF Input1 = TRUE THEN
Output4 := TRUE;
ELSE
Output4 := FALSE;
END_IF
Në këtë shembull Output4 ndjek Input1 sepse ka komandë si për TRUE ashtu edhe për FALSE.
IF, ELSE, AND, OR, NOT
IF kontrollon një kusht.
ELSE jep veprimin kur kushti IF është FALSE.
AND do të thotë që të gjitha kushtet duhet të jenë TRUE.
OR do të thotë që mjafton të paktën një kusht TRUE.
NOT përmbys TRUE/FALSE.
IF temperature > 30 AND Input1 = TRUE THEN
Output1 := TRUE;
END_IF
Mos përdor AND dhe OR së bashku në të njëjtin rresht IF.
Variablat
Mund të krijosh deri në 10 variabla.
Tipet që mund të përdoren janë:
BOOL = TRUE ose FALSE
INT = numër i plotë
REAL = numër me presje dhjetore
VAR
hold : BOOL;
level : INT;
target : REAL;
END_VAR
Vlerat e variablave ruhen gjatë punës së programit. Kur ngarkohet një program i ri i Kushteve, ato nisin përsëri nga FALSE ose 0.
Drejtimi i erës
Mund të përdorësh shkronjat e drejtimit ose vlerën në gradë.
| Kodi | Drejtimi | Qendra |
| V | Veri | 0° |
| VL | Verilindje | 45° |
| L | Lindje | 90° |
| JL | Juglindje | 135° |
| J | Jug | 180° |
| JP | Jugperëndim | 225° |
| P | Perëndim | 270° |
| VP | Veriperëndim | 315° |
IF windDirection = JP THEN
Output4 := TRUE;
END_IF
Mund të përdorësh edhe gradë të sakta:
IF windDirection >= 210 AND windDirection <= 250 THEN
Output4 := TRUE;
END_IF
Kufizimet kryesore
Maksimumi 8 blloqe IF.
Maksimumi 10 variabla të përdoruesit.
Nuk mund të vendoset një IF brenda një IF tjetër.
Nuk përdoren numërues ose llogaritje si counter := counter + 1;.
TON dhe BLINK nuk mbështeten.
Rregullat kontrollohen nga lart poshtë. Nëse dy rregulla aktive ndryshojnë të njëjtën dalje, fiton rregulli i fundit.