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
  • ​, thank you for your reply.

    I haven't tried anything else. I was looking over this table and didn't see anything relevant to try.

    It's very common for to get a KW value from a transformer that is a negative value when a site is producing because the meter is looking at the value from the grid's perspective. We work from the site's perspective and want to see the value as positive when the site is producing power. It is a very common need for us and I was expecting the conversion would be more common than it apparently is.

    This is the table I was trying to work from.


    image.png

    image_1.png
     

    Do you have any suggestions of conversions to try?

     

    Thanks

     

Reply
  • ​, thank you for your reply.

    I haven't tried anything else. I was looking over this table and didn't see anything relevant to try.

    It's very common for to get a KW value from a transformer that is a negative value when a site is producing because the meter is looking at the value from the grid's perspective. We work from the site's perspective and want to see the value as positive when the site is producing power. It is a very common need for us and I was expecting the conversion would be more common than it apparently is.

    This is the table I was trying to work from.


    image.png

    image_1.png
     

    Do you have any suggestions of conversions to try?

     

    Thanks

     

Children
No Data