• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    DI Not working

    Mervis
    2
    8
    1665
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JasperJackson last edited by

      Hi Everyone!

      I have a small problem, the DI don"t seem to work. I have two unipies, one with the latest non-beta (working flawlessly) and one i tried with beta 1.6 and beta 1.7. These don't work for some reason. I Have a Pi 3b+ so I can't use the non-beta.
      Any ideas? Relays are working, CommError on the AO-DI-CNT etc...

      0_1535388717488_mervis_commerror.png

      Thanks in advance!

      Jasper

      Martin Kudláček 2 Replies Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček @JasperJackson last edited by

        Hi @jasperjackson,
        I have tested your setup and I ran into the same problem. I will discuss this with the dev team and get back to you as soon as possible.

        Thank you for your patience,
        Martin

        J 1 Reply Last reply Reply Quote 0
        • J
          JasperJackson @Martin Kudláček last edited by

          @martin-kudláček many thanks in advance!

          1 Reply Last reply Reply Quote 0
          • Martin Kudláček
            Martin Kudláček @JasperJackson last edited by

            Hi @jasperjackson,
            so the error is caused by missing evok-mini package in the image. You can SSH into the PLC and under the root user run the apt install evok-mini command and then reboot the PLC (just to be sure).

            Martin

            J 1 Reply Last reply Reply Quote 0
            • J
              JasperJackson last edited by

              Wow! Thanks for the fast solution! I'll try tonight!

              1 Reply Last reply Reply Quote 0
              • J
                JasperJackson @Martin Kudláček last edited by

                @martin-kudláček
                It looks like there is another issue with the 1.7, when creating the I2C channel no protocols are listed.. I'll try the 1.6 now...
                0_1535474642137_391cf73d-2422-4304-b487-7a7e7179cd82-image.png

                Regards,

                Jasper

                Martin Kudláček 2 Replies Last reply Reply Quote 0
                • Martin Kudláček
                  Martin Kudláček @JasperJackson last edited by

                  Hi @jasperjackson,
                  this issue is not caused by the MervisOS, but the MervisIDE. As I can see from the screenshot, you use some ultra-beta version which you probably received from one of my colleagues:) I will send you the latest version we have, but be aware, that it is still a beta with minor bugs and still not ready for production.

                  Martin

                  1 Reply Last reply Reply Quote 0
                  • Martin Kudláček
                    Martin Kudláček @JasperJackson last edited by

                    Hello again @JasperJackson,
                    as we discussed via email, the image 1.7 and latest development version of MervisIDE fixes the problem you have encountered. Another problem occured when reading states of the digital inputs. We discovered a problem in the installation package and issued a new version. To fix your problem, SSH into the PLC and issue these commands:

                    sudo su
                    dpkg -P evok-mini pigpio
                    apt-get update
                    apt-get clean
                    apt-get install evok-mini
                    reboot
                    

                    For clean image 1.7 you just need to install the fixed evok-mini package.

                    Martin

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post