Where can I find a function block for use as a look up table in AC800M?
I have found the function piecwise linear real which seems to do what I want which is take a real value input, and output a real value based on values of x and y. I have a problem with this though because it doesn't seem to allow me to permanently set values of the 10 x and y values that I require into the parameters. Only from the interaction window. If there is a better function block available or advice on how to use the piece wise linear real function then I would appreciate the help
Thanks in advance
Answers
Hi,
For the piecewiseLinear it's possible to set the x and y values in Control Builder using the interaction par, e.g. InteractionPar.x1 := 10;
InteractionPar.y1 := 15;
Note that from the third point on you will need to set the used bit too e.g. InteractionPar.x3used := True;
Hope that helps.
Rob
Add new comment