Jump to content

Vision 1210 analog output


Recommended Posts

Hi I am fairly new to programming but have a reasonable understanding but am really struggling to scale an analog output. I have an input coming in from a pressure sensor into my 10 bit unit so range from 204 to 1023 and I am wanting to feed this signal out of an existing analog output to input into another analog input card that is 16 bit. Is there a straightforward calculation that can transfer the scale?  Any help much appreciated

Link to comment
Share on other sites

  • MVP 2023

Hi Green, I think what you are wanting is under Math/Linearization.  If you want to see how it works, have a look at my calculator here:

Be aware, though, that you are sort of working backwards going from 10 bit to 16.  You are always going to have number jumps, that is the only way the maths can work.

cheers, Aus

Link to comment
Share on other sites

  • MVP 2023

Flex has shown the actual numbers involved in the Linz as suggested.

There is also another approach to your issue that would give you better resolution at the 16 bit side, depending on whether the pressure sensor is true analogue.

Change the way you are hooking things up and use a "4-20ma/0-10V/whatever it is working with" splitter to effectively turn your output from the sensor into 2 outputs that can go directly into both plcs' inputs.  Any net search will bring up myriad devices available to do this.

cheers, Aus

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.