Jump to content

correct reading in volts in linearization


Recommended Posts

hello goodnight.
I would like some clarification.
I'm measuring with a level sensor from 0 to 10 VDC.
The sensor measurement correctly indicates 2225 mm but the multimeter measures 9.90.
I did linearization and the reading seems to be correct

image.png.af14e25e4faef15f13b22778497eb130.png

image.png.805aff74e35c35bfac0bed8881355898.png

It needed to show 2225mm in the numerical variable of the plc equal to the one shown on the sensor display

image.png.0f76c11ad5f76fa826b451aa5f607e01.png

 

Por outro lado

I also did this linearization but here the value rounds correctly at 10 VDC
How is it different from the one shown above?
How can I solve this problem, the level sensor cannot adjust the reading error

image.png.549b16af3d89495ea81d0b29e07e868a.png

 

Link to comment
Share on other sites

  • MVP 2023

Since it appears you have a bit of unaccounted for resistance somewhere, just multiply your result by 1.01 (multiply by 101 then divide by 100). Be careful of register overflow - I recommend moving to MLs for this operation.

There's also no law that says you must use 16383 in your linearization block. Use 16224 instead (or whatever gives you the answer you need).

Link to comment
Share on other sites

  • MVP 2023

Also have a look at the links below.

And just for a laugh, I initially looked at your pictures and thought the reading was WAY off, reading the LED display as 5222.  🙃

Use the calculator and the actual raw value in the PLC to get things exactly right, by varying the input and noting all readings.  And then note the max/min comments as well.  Although my post/request was done in 2015, I don't believe the fix has ever been done.  But I am still only using Visilogic 9.8.65

cheers, Aus

https://forum.unitronics.com/topic/3540-linearization-calculator-for-all/

https://forum.unitronics.com/topic/3831-linz-minmax/

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...