• HMI control via program in ST

    2
    0 Votes
    2 Posts
    784 Views
    Martin KudláčekM
    Hello @Jan-Toth, that is currently not possible. But you can have a digital indicator with many values, each value can have its own color. But you cannot change the text. This is helpful if you draw pipes of your heating system and you want to change the color of the pipes based on the temperature. Each pipe will be a digital indicator. Different values of the temperature would display different elements of the digital indicator - which would display different images (blue pipe, red pipe etc) Martin
  • Proxy připojení

    4
    0 Votes
    4 Posts
    1k Views
    M
    @Martin-Kudláček Děkuji, email s proxyID jsem odeslal.
  • Dimming funtion AO

    7
    3
    0 Votes
    7 Posts
    2k Views
    John-paulJ
    Hello @Martin-Kudláček , I have been able to solve the 1-10v dimming problem. It was a bit of a puzzle, but in the end it went well. I have created an extra node to a div. I solved the EQ problem by adding a LT compare function so that when the counter reaches 0 it automatically becomes 1 again. When I now click the dimmer button on the hmi, the LED lamp gradually rises and stops when I release it. I press it back in, it goes down again, etc. The LED lamp driver uses about 2 milliamps so i can connect enough drivers for the room lighting. I am very happy with this solution and would like to thank you for your support. Many regards John-paul [image: main.png] [image: dimmer#5.png] [image: dimmer#4.png] [image: dimmer#3.png] [image: dimmer#2.png] [image: dimmer#1.png]
  • re-attaching PLC on remote environment

    1
    1
    0 Votes
    1 Posts
    625 Views
    No one has replied
  • can not write image to unipi

    3
    0 Votes
    3 Posts
    939 Views
    A
    Thank you for a replay. It is remote environment, and I am afraid to lost everything once I detached a PLC. Can I reattach PLC under porxy or remote connection ? Hopefully I would like to know UDP port number mervis using when finding connected PLC under the same LAN. thank you.
  • switch Mervis from fbd to ST

    3
    0 Votes
    3 Posts
    1k Views
    T
    Found out allready, Thanks.
  • Grafické HMI do Scada projektu

    1
    0 Votes
    1 Posts
    727 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • SD Card fails after current cut

    3
    0 Votes
    3 Posts
    1k Views
    M
    Hello Thanks for answer I will try to make a backup power supply with batteries so as not to have sudden stops
  • Configuration Neuron M203 failed

    9
    1
    0 Votes
    9 Posts
    2k Views
    L
    Hello @Martin-Kudláček Thanks for everything, reflashing SD with new MervisOS helped.
  • Weird PID Behavior

    5
    1 Votes
    5 Posts
    2k Views
    L
    @Matt Did you manage to write a better PID implementation in Mervis that you could share? When using the built-in PID logic for controlling hydronic underfloor heating valves (huge time delay), it only acts as a pure PI controller.
  • HMI: Image by variable

    2
    0 Votes
    2 Posts
    634 Views
    Martin KudláčekM
    Hello @Petr-Helebrant, you can use Digital Indicator for that. In the settings, you can assign different images to different states of an integer variable. Best regards, Martin
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Put delay in Structure Text

    3
    0 Votes
    3 Posts
    872 Views
    S
    Yeah , but i don't see in my case how put delay timer because my cycle finish if time and not action. to example "The object finish to move" i put delay with "TON" so boolean i understand how to make but not with time. I try this with DO WHILE but the program don’t block in the DO WHILE and the refresh of temps_1 and temps_2 is the same so diff_temp =0 [image: af182fd2-2613-4e15-957a-6dbf05d69092-image.png] I want maybe 30/50 ms of delay to have a good derivate of my temperature. Do you have idea how use delay timer to have 1 times of the PLC not refresh and one other refresh and when the sub is good the action is make ? i try getevaltime4,detdeltime4,plc time,..etc i'm block.
  • Tlačítko na DI spolehlivě nereaguje

    2
    0 Votes
    2 Posts
    723 Views
    Martin KudláčekM
    Dobrý den @linex, na co nejspíš narážíte je pomalost vyčítaných hodnot. Ta souvisí s funkcí autogen. Zkuste si prosím projít tento tutorial: https://kb.unipi.technology/cs:sw:01-mervis:autogen-hidden S pozdravem, Martin Kudláček
  • Function block - variable number of inputs

    function block
    2
    0 Votes
    2 Posts
    686 Views
    T
    This is not a standard feature of ST or FBD but there is a small hack to achieve this. See the example below. It only works if the input variable is named "in" (the same works for output variable named "out") and the type is array. FUNCTION InDemo : LINT VAR i : INT; END_VAR VAR_INPUT In : ARRAY[0..63] OF BOOL; END_VAR (*function block's body*) result := 0; FOR i := 0 TO 63 DO // nejaky kod IF In[i] THEN result := result + 1; END_IF; END_FOR; InDemo := result; END_FUNCTION
  • FBD function error

    10
    0 Votes
    10 Posts
    4k Views
    W
    It's working, thanks!
  • 2x PLC - jednou s projektem řízení FVE a jednou pro SCADA projekt

    2
    0 Votes
    2 Posts
    695 Views
    T
    Pro využití všech předností Mervis SCADA je nutné mít PLC připojené na Proxy a nastavené posílání dat do DB. Pokud máte takto PLC, které řídí FVE, již nakonfigurováno, nemusíte do programu vůbec šahat a stačí "pro jistotu" zkopírovat složku projektu a následně otevřít zkopírovaný projekt v Mervis IDE (min. verze 2.3.0) a postupovat dle návodu https://kb.unipi.technology/cs:sw:01-mervis:mervis-scada-project-hidden Samozřejmě je možné pro SCADA využít i další PLC, které bude fungovat jako prostředník. Ideálně využít interní protokol SSCP po IP, který vám ušetří práci s vytvářením a udržováním Modbus tabulky. Výhoda je, že opravdu nemusíte zasahovat do původního projektu. Návod máme bohužel jen na verzi, kdy jsou obě PLC v jednom projektu viz https://kb.unipi.technology/cs:sw:01-mervis:multiple-unipi-through-sscp-hidden Ale stejně tak je možné vytvořit úplně nový projekt, přiřadit PLC a přidat nový Zdroj dat (pravé kliknutí na položku Systém v Solutuion Exploreru), vybrat zdrojový soubor projektu z prvního PLC (ve složce /bin) a nastavit parametry připojení.