Jump to content

albertogonsa

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by albertogonsa

  1. Hello all and thank you for your answer. The HW configuration is shown in the image below. The I/O module is an IO-ATC8/AI8. And this is the linear function parameters: Th analog input is 4-20 mA and the negative number was given with a value of 6 mA more or less. What I think is that the output variable is signed value so the linear function try to linearize the input between -2,147,483,648 to +2,147,483,647 that means to me 4mA = -2,147,483,648 and 20mA = +2,147,483,647 Am I wrong?? Hello Ausman, your are right, input changes will cause big outup changes but is ok for my application. What I want to do is open and close one plastic layer depends on the irradiance. Thank you very much.
  2. Hello everyone, I'm Alberto from Spain, this is my first post in the community. I started in a new company and I have to modify a project with a V570. I have to read an analog value and linearize it between 0 and 1366000. I use the linear function from the analog input to a ML variable (because of the size). The problem is that the value I am reading in the output variable is negative and with no sense. I would like to use an unsigned output variable but LINEAR function doesn't allow to do this for this size of value. Do you know how to do this? Thank you very much in advanced.
×
×
  • Create New...