• Mervis Webpanel API

    2
    0 Votes
    2 Posts
    857 Views
    Martin KudláčekM
    Hello @todward, tha IDE 2.0 is quite ancient and it dates to the times when the HMI editor and IDE has been separated and the API has been different. In current Mervis IDE 2.3.0, the API is working: [image: 0_1588855031312_2f0b6a41-a698-4be5-9cff-ea7b715b197c-image.png] On a side note, you can make variables available over ModbusTCP or BACnet/IP server in the Mervis 2.3.0. Maybe it will be more convenient for your other system. Best regards, Martin
  • Mervis 2.3.0 History missing

    2
    1
    0 Votes
    2 Posts
    726 Views
    P
    OK, History appears when the project is switched to full mode...SOLVED.
  • Double click and long press button

    mervis pushbutton long press
    2
    0 Votes
    2 Posts
    1k Views
    Martin KudláčekM
    Hi @ecobouwadvies, the Mervis is capable of handling this, but not out of the box. There are many basic function blocks, but they typically perform very simple tasks. The Mervis is a tool to express logic, but it doesn't specializes to some kind of logic, such as home automation, industrial automation, agriculture and so on. The expression of the logic is on the programmer. To process the double click you need to start measuring a time interval and if in predefined limit the second click will not appear, it will be evaluated as a single click. If it exceeds a predefined time limit and the digital input will be still true, it will be evaluated as a long press. Please, bear in mind that the PLC is a software PLC and thus it is not running in detereministic time loops. There are techniques how to make the Mervis program running faster, such as proper setting of the Autogen. All in all, take a look at our tutorials to get an idea what it entails to program in Mervis. Good luck with your projects, Martin
  • toggle function

    3
    0 Votes
    3 Posts
    882 Views
    D
    Thanks for quick reply. But I also wants to reset the toggle fb when I activete the alarm. Can its be done? It is working to switch off when alarm i active. But the lights goes on again when alarm i off. //Daniel
  • Function block to get the average of a numeric variable over time

    4
    0 Votes
    4 Posts
    1k Views
    P
    Hi @Martin-Kudláček, b86_filter is effectively the best fit for my case, many thanks!
  • io.getportstatus returns 53?

    17
    0 Votes
    17 Posts
    6k Views
    P
    Hi @martin-kudláček, I am not sure to undersand: It was stable during > 2 months but now, I can reproduce the issue systematically with USB port 1 (after a few hours of operation), but not when connecting the same hardware to USB port 2. Kind regards, Pascal
  • Wifi connection

    4
    1
    0 Votes
    4 Posts
    2k Views
    Martin KudláčekM
    Hi @mmcreativ, the issue might arise, if you try accessing the IP 192.168.8.91 from another subnet. The WiFi interface doesn't have default gateway set, therefor it doesn't know how to reach different subnet. Could this be the issue? Best regards, Martin
  • Link to another HMI Page

    4
    0 Votes
    4 Posts
    1k Views
    Martin KudláčekM
    Hello @soren, that looks like you are using Mervis IDE 2.1.3. If you can, please upgrade to the 2.2.0. Best regards, Martin
  • UniPi Neuron M503 Cycle Time

    2
    0 Votes
    2 Posts
    904 Views
    Martin KudláčekM
    Hello @matt90, the speed of 1ms is very optimistic and in the real life, you will not be able to get it under 10ms with Mervis. The biggest impact on the overall performance has the Autogen functionality and as I can see from the example, you have it configured on all datapoints. Please, take a look at our tutorial about proper settings: https://kb.unipi.technology/en:sw:01-mervis:autogen-hidden Also, be aware, that the speed is not deterministic, since the program of the PLC is running in the operating system, sharing resources with other processes. Best regards, Martin
  • Relay plate R421B16 Modbus RTU

    6
    1
    0 Votes
    6 Posts
    3k Views
    P
    @tomas Hi, thank you very much for your great tutorial. The board lives, and works well. I start to understand how to work with addresses. Previously I made the mistake of creating one group and trying to express all the relays with data points. Now I know it was nonsense. Thanks again very much. :-)
  • UniPi L503 - mervis - Analog output 0-10V | value 0-100

    2
    0 Votes
    2 Posts
    988 Views
    Martin KudláčekM
    Hello @bart-delaere, the easiest way is to use a simple DIV function block, via which you will divide the setpoint variable value by 10 before sending to AO: [image: 0_1583141012535_659668b8-6d3a-4251-ac0c-8948a61f4ec4-image.png] More systematic way, yet more prone to errors, is to use transformation on the write variable: [image: 0_1583141099892_89fcce66-eb68-4314-b109-fc9e12a52575-image.png] Best regards, Martin
  • 0 Votes
    3 Posts
    1k Views
    Martin KudláčekM
    Hello @nicola-mondinelli, I just replied to you via email, I'll repost it here: Mervis currently doesn't have such functionality. We are about to release an active 1-Wire gateway called xG18, via which you will be able to read 1-Wire sensors without the need of knowing their addresses. This will be released to public by the end of the March / beginning of the April. The OWFS subsystem is able to detect the sensors, but you still need to know which address belongs to which sensor. Best regards, Martin
  • Mervis 2.2

    13
    0 Votes
    13 Posts
    4k Views
    Martin KudláčekM
    Hi @sindyk, no, your PLC will work as expected. These messages are not valid and they are meant to be valid in next version of MervisIDE, where the licensing of the PLC will be mandatory. You can ignore those for now. Best regards, Martin
  • Count reboot

    2
    0 Votes
    2 Posts
    944 Views
    Martin KudláčekM
    Hello @mmcreativ, there isn't a reboot counter per-se, but you can work with the PLC uptime. This is provided by block "PLC Time (B99)". Best regards, Martin
  • Čítač s denním resetem

    15
    0 Votes
    15 Posts
    6k Views
    Martin KudláčekM
    Dobrý den @beny44, zatím bohužel ne.
  • RO Variable not responding anymore

    3
    1
    0 Votes
    3 Posts
    1k Views
    C
    Solved. Thanks for the feedback!
  • Problém s SCSP serverem - změna IP adresy

    2
    2
    0 Votes
    2 Posts
    1k Views
    B
    @beny44 Vyřešeno přechodem na novou verzi OS :-)
  • How to change the analog transformation on xS50?

    5
    0 Votes
    5 Posts
    2k Views
    M
    Thanks. Not sure how I missed that.
  • PLC running time

    4
    0 Votes
    4 Posts
    1k Views
    Martin KudláčekM
    Sorry @jaros for the mystification. The blocks for PLC runtime are indeed called ''getevaltime" and "getevaltime4", depending on which data type you need. Best regards, Martin
  • How to deal with arrays ?

    4
    0 Votes
    4 Posts
    1k Views
    Martin KudláčekM
    Hello @ayone0518, no, the arrays cannot be defined in FBD. Best regards, Martin