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

    Analog out

    Mervis
    2
    7
    2066
    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.
    • zorro_66
      zorro_66 last edited by

      How do I configure analog out in Mervis
      I use B34 PI controller but which output should I use find no suitable
      0_1477040268492_analog out.jpg

      1 Reply Last reply Reply Quote 0
      • T
        tomas_hora administrators last edited by

        First of check that you have AO in Variable manager (it is added with the rest of Di,Cnt and others when using UniPi 1) and do all the wiring http://unipi.technology/wiki/Using_Analog_Output

        The value of AO is in milivolts, so you might need to do some calculations in order to get proper levels.

        And simply connect the output of PI via the calculations to the AO variable, (right click on the right pannel->global variables->insert existing

        1 Reply Last reply Reply Quote 0
        • zorro_66
          zorro_66 last edited by zorro_66

          How do I connect is no problem
          But what is the name of the output in the variable panel 0_1477043371218_Analog ut1.jpg
          0_1477045954281_analog ut2.jpg

          1 Reply Last reply Reply Quote 0
          • T
            tomas_hora administrators last edited by tomas_hora

            AO01_w is the one you are looking for. W at the end means that the variable is for writing values into, the _r at the end means that is is for reading the actual state.

            1 Reply Last reply Reply Quote 0
            • zorro_66
              zorro_66 last edited by

              I can not find _w in my List
              only AO01 and AO01_r
              0_1477049561794_Analogut3.jpg

              1 Reply Last reply Reply Quote 0
              • T
                tomas_hora administrators last edited by

                Sorry, my bad. It is only AO without the R or W...

                1 Reply Last reply Reply Quote 0
                • zorro_66
                  zorro_66 last edited by

                  Ok thanks got it to work now0_1477287266721_analogout4.jpg

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