Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Martin Trojan
    3. Topics
    M
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by Martin Trojan

    • M

      FBD function error
      Mervis • • Martin Trojan  

      10
      0
      Votes
      10
      Posts
      1614
      Views

      W

      It's working, thanks!
    • M

      Control RO with Direct switch by Mervis
      Mervis • • Martin Trojan  

      7
      0
      Votes
      7
      Posts
      1851
      Views

      T

      Hi @Martin-Trojan, This is just one possible solution, but you can use a custom ST FunctionBlock with this code (use the name "DigitalMemoryMultiplexer" if you do use it): FUNCTION_BLOCK DigitalMemoryMultiplexer (* EXTENDS //base type IMPLEMENTS //interface type list *) VAR previous_inp_1: BOOL; previous_inp_2: BOOL; previous_outp: BOOL; END_VAR VAR_INPUT inp1: BOOL; inp2: BOOL; END_VAR VAR_OUTPUT outp: BOOL; END_VAR INIT previous_inp_1 := inp1; previous_inp_2 := inp2; previous_outp := inp1; END_INIT IF inp1 <> previous_inp_1 THEN outp := inp1; previous_inp_1 := inp1; ELSIF inp2 <> previous_inp_2 THEN outp := inp2; previous_inp_2 := inp2; ELSE outp := previous_outp; END_IF; previous_outp := outp; END_FUNCTION_BLOCK And connect it like this: The DO_2_01 is set as DirectSwitch Trigger and the WEB_LIGHT_BUTTON is tied to a HMI Digital Setter. Whenever you are using DirectSwitch remember to set the Debounce value on the DI sufficiently high for your input device. Again, there are many other options for doing this, including using two HMI elements on top of each other (Digital Indicator and Digital Setter). Here is the project file, for reference: https://www.mediafire.com/file/1o8kq9iici2qc8g/ForumProject.7z/file
    • M

      HMI login issue
      Mervis • • Martin Trojan  

      6
      0
      Votes
      6
      Posts
      1181
      Views

      Martin Kudláček

      Hello @morax, the issue has been fixed with the release of MervisIDE 2.2.0. You have to use appropriate OS image as well: https://kb.unipi.technology/files:software:mervis:00-start Best regards, Martin
    • M

      UniPian Neuron OS on UniPi 1.1
      Official EVOK API • • Martin Trojan  

      3
      0
      Votes
      3
      Posts
      910
      Views

      M

      Ok. When you write it like that it makes sence :). I have readed UniPi 1st generation -> This is the same image as for Neurons -> Click -> Choosed image only with Evok. Opensource images was not familiar for me as I was looking for prepared image. Maybe try to make it more obvious and place guide from git hub on the same page, to make it consistent. Anyway thank you for your reply.
    • M

      HMI JQuery
      Mervis • • Martin Trojan  

      2
      0
      Votes
      2
      Posts
      1198
      Views

      T

      @Martin-Trojan Can you share the project?
    • M

      Input from file or webservice
      Mervis • • Martin Trojan  

      7
      1
      Votes
      7
      Posts
      2353
      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
    • M

      Variables are not mounted to HMI gadgets
      Mervis • • Martin Trojan  

      8
      0
      Votes
      8
      Posts
      2248
      Views

      T

      Sharkrt and Fastcgi are running locally on UniPi. I think you should only need the port 80. Please try to make a clean HMI with just one variable and upload that... Sometimes it happens that the mapping of variables in HMI breaks...