Jump to content

Recommended Posts

Posted

Hi,

I am starting a new project on V350 with IOA14A02.

I am simulating 4-20 mA input and trying to use linearization.

X1: D#=819

Y1: D#=0

X2: D#=4095

Y2: D#=10

X=MI 0

Y=MI 20

 

I have no problem with the input MI0 I can see the full range when I change the potentiometer.

BUT MI20 does not show any result.

I am checking older example I have done and that works on the v130 and it seems I have done the exact same thing.

What I am missing?

 

Thanks

Amir

Posted

Hello,

 

Is the linearization function block receiving power? It may accidentally be in a subroutine that is not being called.

 

If it is receiving power I would search for other instanced of MI 20 being used in the project. It may be used or overwritten by another function block accidentally

Posted

Hi,

Thanks for you quick advice, 

The block does receive power, and the strange thing is that using the math linearization I am getting the problem described above, but if I use variable numeric and use the linearization it does work.

MI 20 is not used elsewhere.

 

??

Posted

If possible, please post your code so that we can see if anything else would be causing it to reset to 0.

 

If you are describing the linearization function on the HMI element, numeric variable, that is only for display purposes.

Posted

Hello

 

Also a simple test to see if MI20 is not overwritten somewhere else within the program is to just change it,s value online with Visilogic and see if it keeps the

value that you have last written to it.

If so then at least you know that it,s not overwritten and that the problem is within the linearization function.

 

Regards

 

Henny

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.