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

    Neuron M503 Analog Inputs 4-20 mA

    UniPi Neuron Series
    2
    6
    1782
    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.
    • D
      dalibor last edited by

      Hi,

      I would like to ask about setting analog inputs to sensing current 4-20 mA. I found out in manual, that I have to set AI_mode to 3 (input group 2). I set it in FBD, but in senses still voltage. It was working fine, but I am not sure what happened and now it behave strange - for example now I can not hear Relay Outputs switching...

      alt text

      Is this way the best practice how to set AI to sense current?

      Thanks
      Dalibor

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

        Hi @dalibor
        I think the best way for you would be to start using the new MervisIDE. It is still in development phase but the overall stability is good. And hopefully by the end of the week we will have the production ready version.

        So please:

        1. Download and flash the latest image from here: https://files.unipi.technology/s/public?path=%2FSoftware%2FMervis (the UniPi-Mervis-OS-2018-09-14_v1.7-BETA.zip)
        2. Download and install the latest MervisIDE from here: https://unipitechnology-my.sharepoint.com/:u:/g/personal/kudlacek_unipi_technology/EXZ-Oeoq2UFPkHbJ68Jj-sQB7N7iHxQpXJv3RLUgVk3psQ?e=aSd2IG

        A lot of things changed, namely the HMI and even the usage of AO and AI (more simple and straightforward). We are working on the relevant tutorials as we speak and you can find them here: https://kb.unipi.technology/en:sw:01-mervis:06-tutorials
        Unfortunatelly, the AO and AI tutorials are not finished and will be today or tommorow.

        As with the problem with non-responding ROs. We believe this is problem with I2C communication inside of the PLC and we released a new version of firmware. By using the image above, the new version of firmware will be flashed during the first start up. Please be patient, since the boot will be a couple of minutes instead of 30s as normal.

        Hope this helps,
        Martin

        1 Reply Last reply Reply Quote 0
        • D
          dalibor last edited by

          Hi Martin,

          thank you for quick reply. ROs works again...

          Can I ask you for just a printscreen or hint, how to set an input to 4-20 mA in new version? Or if you have just a skeleton of AI tutorial....?

          Thank you
          Dalibor

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

            Hi @dalibor
            changing the modes is done on the prototype of the device. Double click on the prototype in the Left panel, search for the AI, select the AI for which you want to change the mode and in the Properties panel change the Analog type parameter.

            0_1537269609103_01-ai-mode.png

            Then right click on the prototype and select Configure UniPi Module and proceed with subsequent dialogs.

            0_1537269616525_02-ai-configure.png

            Martin

            1 Reply Last reply Reply Quote 0
            • D
              dalibor last edited by

              Hi Martin,

              thank you for help. Unfortunately I have now another issue...is it possible that BD2 Pulse Generator is not working in more complicated projects? It was working fine with two blocks (FBD), but now it is just on True and not switching...

              It is still like this:
              alt text

              Thank you
              Dalibor

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

                Hi @dalibor ,
                that's odd, it should definitely work. Can you share the project with me on [email protected]?

                Thanks,
                Martin

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