• Accessing Mervis variables through Evok

    5
    0 Votes
    5 Posts
    3k Views
    N
    Ok i can see now. Thanks
  • Variables > Metadata

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Mervis and RS485

    7
    0 Votes
    7 Posts
    5k Views
    N
    Hi again, With a little bit of trial and error and some reading i finally manage to fully understand what both of you were saying, thanks again :) In order to help people in the future I'll leave the required steps in order to read data in Mervis from a IME Conto D2 using the RS-485 on a Unipi: Set the IME meter communication parameters to 19200 baud rate, 8N1 Read 2.8.3 from https://files.unipi.technology/s/public/download?path=%2FSoftware%2FMervis%2FDocumentation&files=Mervis Step-by-Step Manual.pdf as mentioned by @tomas_hora Set the UART_config initial value to 14 (Check the Mervis step by step manual in order to understand why) Create a Modbus channel and set: Link Protocol to Serial Integration mode to True Max. Telegram Duration 125ms Max. Telegram Duration (Commissioning) 500ms Port Number Modbus.Neuron.XXXX:RS485 Baud rate 19200 Data Bits 8 Parity None Stop Bits One Create a Device in the newly created channel Set the Device Address in the Modbus device parameters (this should be set to the same address as the one set in the meter, in my case address 1) Create a new group in the newly created device Set the following parameters in the Modbus Group Parameters Starting Element to 8193 (should be 8192 which is 0x2000 in hex but Mervis some how sends 0x1FFFF maybe some bug?) Function to F03 Read Holding Register Number of elements to 16 After this you have to map the variables according to http://www.imeitaly.com/protocolli/PR121.pdf, as example i'll leave how to do it for the voltage Add I/O For the new IO set: Group to the group you've created earlier Comm. Value Mapped Type - Builtin ST Type - dword Transform - Linear Parameter K - 0.001 Data Offset - 0 MultiByte length - 4 MultiByte Order - 1234 For the other parameters just check the previous document and change the Data Offset and MultiByte length accordingly. If you run into trouble check the @Giamba last post, use Port Monitor in debug mode to check whats wrong.
  • HMI Login does not work?

    3
    0 Votes
    3 Posts
    2k Views
    R
    Thank you for your help, now it works. I had to try several times, mervis IDE told me that the controller application failed to start. After a while I found the option "Create boot project", that was probably the missing link. Do I have to cold start the controller now every time I change something in my application or my IDE in order to have the working login function? Further imho the login this way is not a really nice solution, because the whole HMI shown without values and it seems as the web application does not work well. A separate login screen would look much better.
  • Debugging mode probleme

    2
    0 Votes
    2 Posts
    2k Views
    G
    Got it! Each fdb programme must have an entry in PLC Tasks.
  • Mervis PWM connection to Meanwell driver

    6
    0 Votes
    6 Posts
    4k Views
    N
    Hi, Looks like all it was needed was a reboot. After the reboot everything started working fine. I'll leave the project image for future reference [image: 0_1499152382996_pwm_meanwell.png] Just as a side note use 100 for the cycle. 255 (the default) with my drivers makes the light flicker when i set values between 0 and 255. Thanks for all the help.
  • Modbus pause between telegrams

    5
    0 Votes
    5 Posts
    3k Views
    G
    Ok thanks for your remply!
  • Mervis EnOcean

    10
    0 Votes
    10 Posts
    5k Views
    G
    Ok, Just to add the device Id. modbus_set_slave(ctx, 1); Thanks for all, now I can make all what I want with Mervis . Giamba
  • HMI Problem

    16
    0 Votes
    16 Posts
    9k Views
    T
    @zorro_66 if you double click on the error in the result table, it will usually show you where the issue is... Or just read what it says. [image: 0_1497967748550_Screenshot_5.png]
  • Uploading/Updating RunTime

    8
    0 Votes
    8 Posts
    4k Views
    D
    Thumb's up. Thanks.
  • Modbus RTU slave device not communicating

    5
    0 Votes
    5 Posts
    3k Views
    T
    @pascal http://downloads.unipi.technology SW-Mervis
  • Decode api.cgi vars

    3
    0 Votes
    3 Posts
    2k Views
    G
    Hi, thanks for the job. I found functions in UserJS that do the job: parseRealFromHex parseIntFromHex parseValueFromHash ... Now I have to find how to provide the type to decode in the right way. I have to look in html5_shark.xsl to modify it Thanks
  • Event triggered task

    4
    0 Votes
    4 Posts
    3k Views
    R
    Hi @tomas_hora, I tried in Mervis V2.0.10 (52674). The situation has not changed. Thank you so far. Could you provide a working example? BR Rainer
  • Input from file or webservice

    7
    1 Votes
    7 Posts
    4k Views
    G
    Hi, I'm testing C modbus library and zmq lib to connect my WMR200 weather station to Mervis. That's working. If someone nead some example code, ask for me. cheers
  • Upload to Mervis DB not working

    7
    0 Votes
    7 Posts
    4k Views
    P
    @tomas_hora OK, I see, that makes sense. Thanks a lot for your support.
  • Can't connect to Neuron_M10x_DI_2.XX

    3
    0 Votes
    3 Posts
    3k Views
    S
    Great ! It's working ! Thanks for your help ! Seb
  • HMI JQuery

    2
    0 Votes
    2 Posts
    2k Views
    T
    @Martin-Trojan Can you share the project?
  • No HDMI output on Raspberry 2

    3
    0 Votes
    3 Posts
    2k Views
    J
    Good. SSH server works but hdmi not. May be it is some bug. Nevermind. Thank you for the quick reply. It will not be the last time. Thanks.
  • Use of numeral systems (decimal, binary, hexadecimal, ...)

    3
    0 Votes
    3 Posts
    2k Views
    R
    Thank you. I am looking forward to it.
  • Documentaion

    7
    0 Votes
    7 Posts
    4k Views
    J
    @tomas_hora Danke