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

    Converting values of analog inputs

    Mervis
    1
    6
    1677
    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 convert from AI1 0-10V in to 0-100% out

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

        How do I convert from AI1 0-10V in to 0-100% out

        1 Reply Last reply Reply Quote 0
        • ?
          Guest last edited by

          You do not need to convert it…. 0V means 0%, 10V means 100%, so 2.5V means 25%

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

            I must be doing something wrong
            I've set the input sa below
            [attachment=1:2e2kb6cs]Analog1.jpg[/attachment:2e2kb6cs]
            but the value shown is wrong
            [attachment=0:2e2kb6cs]Analog2.jpg[/attachment:2e2kb6cs]
            it should be 2.4 bar and not 2426.8 Bar

            1 Reply Last reply Reply Quote 0
            • ?
              Guest last edited by

              The value of Ai is presented in mili Volts, so all you need to do is divide by 1000. Try playing with the X2 value

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

                Perfect thanks now it works.
                [attachment=0:a28bpy12]Analog3.jpg[/attachment:a28bpy12]

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