Siemens TIA polyline function

I need to get output from

Hello I need to plot a value . it has a point of change
basically it has 3 points
my points are

(0, 2.40)

(1917, 20.17)

(11406 , 90.27)

(value from analog inputmodule, tank volume)

how can i enter these points in polyline function

my input will be the Analog Module IW9 which is the sensor of level , the output has to be real and i send it to the Bar showing volume
 
Thank you
I also figured it out in Ladder .

I have set Validate to 1 this means it will validate the points every scan I think this is not necessary to validate each scan

I am calculating volume from this formula and sending to HMI on a scale of 0 to 100 . What will happen if there is a negative value coming from the analog input module .
and what happens when Analog module sends value higher than the points setting

b12ed7d3-b758-4d64-ac1d-35e6a8e097cf.jpg
 
upon testing i found that i can limit the between the minimum and max points
i forced values lower and higher than the defined points in X yet the value remains with the Min and max of the Y

This is because i have selected Outofrangemode =0 so it stays in range

if RESET bit is high then it will substitute the output with the value in substituteoutput which is 0 in my case I have attached it to channel fault bit

on reset big going back to false it resumes calculating volume as before

Screenshot 2019-11-06 11.18.57.png
 

Similar Topics

I usually use the TIA portal version the customer wants. But if they are upgrading from V16, and going with Unified since that is the only game...
16
Replies
492
Views
Hi All It's been a while since I posted on here - mainly because the PLC that I delivered to a customer site a few years ago has been behaving...
13
Replies
414
Views
Trying to test a PLC/HMI program in TIA Portal V19. I'm using PLCSim Advanced and WinCC Unified Runtime. I can get the PLCSim working and I can...
6
Replies
332
Views
Can anybody help me out with a link or a Dropbox or anything where I can download the Data2Unified add in for TIA 19 - I can see that I can...
0
Replies
544
Views
Howdy all, Some questions for you all on the networking side of things when using managed switches that are Profinet capable. Are you managing...
4
Replies
374
Views
Top