• HMI problem

    Mervis mervis mervis hmi hmi
    4
    0 Votes
    4 Posts
    3k Views
    I
    Found the mistake. It was in PLC settings - Web Parameters, wrong Definition Directory.
  • 0 Votes
    2 Posts
    1k Views
    D
    @Dmytro said in Error: "Write of group with index 3 skipped": Write Only On Change || False In a previous post was a mistake. Write Only On Change || True It causes error "Write of group with index 3 skipped" If that parameter has value False, error message in Port monitor disappears. Instead of that, Port monitor shows to me another problem: 15.12.2021 14:37:40.0122 => Send: 240 16 6 3 0 1 2 3 0 201 7 15.12.2021 14:37:40.0822 Timeout 15.12.2021 14:37:40.0922 => Send: 240 16 6 3 0 1 2 3 0 201 7 15.12.2021 14:37:40.1622 Timeout 15.12.2021 14:37:40.1722 => Send: 240 16 6 3 0 1 2 3 0 201 7 15.12.2021 14:37:40.2422 Timeout 15.12.2021 14:37:40.2672 => Send: 240 3 0 0 0 66 208 218 15.12.2021 14:37:40.3372 Timeout 15.12.2021 14:37:40.3472 => Send: 240 3 0 0 0 66 208 218 15.12.2021 14:37:40.3652 <= Recv: 240 16 6 3 0 15.12.2021 14:37:40.3722 <= Recv: 1 228 96 15.12.2021 14:37:40.3722 Timeout So I still cannot write the value to the register.
  • Double click and long press button

    Mervis 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
  • Usage of xG1W-2 with Neuron

    Moved Mervis xg1w-2 mervis neuron
    2
    0 Votes
    2 Posts
    2k Views
    Martin KudláčekM
    Hi @kalophain, that looks like you haven't "Attach the controller". Try following this tutorial: https://kb.unipi.technology/en:sw:01-mervis:creating-new-project-hidden#attaching_to_the_controller Best regards, Martin
  • Push button relay toggle

    Mervis mervis neuron switch
    25
    0 Votes
    25 Posts
    20k Views
    John-paulJ
    @Giamba or maybe @Martin-Kudláček, i'm using this program to control my dali controler which working fine now except from the switch function. When i push my my mometary switch on HMI and keep pushing it the light slowly increases or decreases at the next push. That's all working fine. But the switch function does work fine trough the g on the sel_0. Only problem is that when i start the plc the light is off (is ok) but the input on sel_0 is true so that results in no output on the sel_0. When i keep pushing the switch on the hmi the light increases on the output of the b30 counter but not on the output of the sel_0. Only when i realease the button the sel_0 output wil be the same as the output on the BD30 counter. After the sel_0 is high on the output and the lamp is on. i can switch the lamp on/off with a short push, no problem. What i need is : Long push > increase or decrease light (even if the plc is just turned on) short push > turn light on/off. Can anyone help me with this funtion to work fine? Many regrards, John-paul [image: M203_Dimmer.png]
  • Mervis is slow

    Mervis mervis i2c slow
    3
    0 Votes
    3 Posts
    3k Views
    F
    @tomas_hora, I have one 1-wire temp -meter and 2 external I2C relay-cards (emorelay-boven and emorelay-beneden). These relay-cards and the unipi card are supplied by separate adapters, so the grounds are not coupled. Can this have influence on the speed? if in the program 2 relays are switched at the same time (each relay on a separate relay card), i can see that they are switched one after the other. at least 0.5 sec after each other. I would be nice if all relays could be switched in 100ms. I use the older mervis runtime (version 2.5) on a Rasberry Pi B+, is the last runtime faster or is there no difference is speeds. Kind regards, Frans.