I would like to switch the polarity of an OPC float value. The convers doesn't allow negative values. It seems simple but I haven't found the answer.

Simply want to take an incoming value of -12.34 and make it a positive 12.34

Parents
  • Hello ​ ,

     

    I like your alias Smiley !

    I believe you should be able to accomplish the value conversions e.g. by defining Convers as -1. Please refer to Transformations and scaling

    Edit: Right after posting the above, I have read your question again and noticed that negative values wont work. I haven't tested myself. Can you indicate what combinations of Convers, TotalCode, SquareRoot and DZero you have tried?

    If conversion through Transformation and scaling isn't working, you may find a way to do the conversion using PI Asset Framework.

Reply
  • Hello ​ ,

     

    I like your alias Smiley !

    I believe you should be able to accomplish the value conversions e.g. by defining Convers as -1. Please refer to Transformations and scaling

    Edit: Right after posting the above, I have read your question again and noticed that negative values wont work. I haven't tested myself. Can you indicate what combinations of Convers, TotalCode, SquareRoot and DZero you have tried?

    If conversion through Transformation and scaling isn't working, you may find a way to do the conversion using PI Asset Framework.

Children
No Data