• Add value based on time?

    2
    0 Votes
    2 Posts
    2k Views
    T
    You can do this easily with a simple function block, specifically Integer Scheduler (T19), or Bool Scheduler (T17). Signal from these can be used to trigger a function block which sums the value from a counter to some stored value, and the nulls the counter afterwards. I recommend looking through some online tutorials on function block diagrams (FBDs) and structured text (ST), as well as thoroughly reading the "help" topics in the IDE (press F1).
  • Can I install a webbrowser on Unipi Neuron Mervis?

    2
    0 Votes
    2 Posts
    2k Views
    T
    Mervis includes a web server, which you can connect to via an http-enabled display. We cannot offer any support for installing a webbrowser on the Mervis PLC platform, and in fact would strongly recommend not doing so. You may wish to look into creating a simple web client device, this could easily be done even with a spare RPi and a touchscreen, if you were so inclined. Another option would be using one of numerous Modbus-based HMI displays.
  • PROXY připojení

    6
    0 Votes
    6 Posts
    3k Views
    T
    @Kaniiisek Samozřejmě
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Nefunkční WEB

    6
    0 Votes
    6 Posts
    3k Views
    T
    @mkonecny Stahnete si prosim novy image UniPi-Mervis-OS-2018-03-28_v1.4-BETA, kde by problem jiz mel byt vyresen.
  • Setting Networking send the mail

    2
    0 Votes
    2 Posts
    2k Views
    T
    @TriathletC Here. Make sure to right-click on the PLC and hit 'Upload configuration' under 'PLC setup' - 'PLC configuration. [image: 0_1521444973565_Screenshot_12.png]
  • Mail on Unipi Light

    3
    0 Votes
    3 Posts
    2k Views
    zorro_66Z
    ok they're just as good then I'll get further troubleshooting no i know ssl is not working that's why i have a separate relay server
  • Type cast from real to time

    2
    0 Votes
    2 Posts
    1k Views
    T
    @jvdlaer MULTIME function block shoudl be the way
  • This topic is deleted!

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

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Modbus RTU Sample

    2
    0 Votes
    2 Posts
    2k Views
    T
    @kampfwurst Did you see the in-app help of Mervis IDE? There is a nice exaplanation of it in chapter Modbus driver. Anyway, you first need to create a device on a channel (Modbus, serial, baudrate,etc and address). Then double click it and create a group, set it as a read group and configure the modbus group parameter. Then you need to create datapoint, set its group to the group you previously created and configure the modbus datapoint parameters. Also do not forget to either use autoge, or map the IO=>ST to a global variable. (Btw. Mervis uses the +1 addressing! But some manufactures does not so you should check if the register 10 is not read in mervis like register 11) Also, for simple modbus prototypes, check the possibility of importing the definition from a csv file: https://kb.mervis.info/doku.php/en:mervis-ide:30-communication-protocols:30-modbus
  • Key word INIT

    2
    1 Votes
    2 Posts
    2k Views
    T
    @RainerK The function block declaration in Mervis requires the following schema but the INIT variable name to must not be used. This is a bug of course that needs to be fixed. But thanks for the info. I saw that you have already reported the issue via the Mervis report form. FUNCTION_BLOCK fb_name (* EXTENDS //base type IMPLEMENTS //interface type list *) VAR (* add local variables here *) END_VAR VAR_INPUT (* add in variables here *) END_VAR VAR_OUTPUT (* add out variables here *) END_VAR (* METHOD abc //: return type // method's body END_METHOD *) (*function block body*) END_FUNCTION_BLOCK```
  • Could not find temp sensors connected via 1-wire hub

    5
    0 Votes
    5 Posts
    3k Views
    T
    @dgajic Thanks a lot for the info. I am glad you figured it out. Also sorry for the issues!
  • I hafe the same problem with Neuron_L503... Please help me, Thanks

    2
    0 Votes
    2 Posts
    2k Views
    T
    @mec_pi Could you share your project?
  • Send mail

    Moved
    4
    0 Votes
    4 Posts
    3k Views
    T
    @zorro_66 You have to choose a SMTP server which does not use SSL.
  • Could not find PLC via UDP

    9
    0 Votes
    9 Posts
    4k Views
    T
    @ufa If you can ssh to the RPi with Mervis IMG on it, issue 'systemctl status mervisrt' and you will see if it runs OK.
  • Export history to USB

    6
    0 Votes
    6 Posts
    3k Views
    T
    @Iogo It can run inside. Just make sure to read the last few lines of the Readme.txt which you can get from the same folder as installator of Mervis Ide and the image.
  • Solution Contains Unknown Module References

    4
    0 Votes
    4 Posts
    3k Views
    T
    @Drewscm Is this still related to your previous question? Because the issue you described before is caused by a reference to an unexisting library - probably not copied to the Mervis folder, eg: C:\Program Files (x86)\Mervis\IDE 2.1.0 (62613)\Library What variables are you missing?
  • Mervis Licencing

    3
    0 Votes
    3 Posts
    2k Views
    T
    Hi @sb003726, yes, all the functions are included in the default Mervis licence, and it is tied to the controller unit (the use-case you specifically mention is employed by some of our industrial customers). Apologies for the late reply, we have all been rather busy in the last few days with preparations for black friday sales.
  • Persist variable through restart

    2
    0 Votes
    2 Posts
    2k Views
    T
    @pavel.cernocky You have to define the variable as retain