adccommunitymod (AutomationDirect) asked a question.

Bi-Polar Temperature Display on an eztouch

Created Date: September 23,2003

Created By: TSimmons

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

Well that should sum it up.... I haven't been able to figure out how to get a proper bi-polar temp. display on an eztouch screen. I have a D450 with a 8 point rtd card. When you read the values to a vmem location, you lose the sign. How do I put it back in and display it on the eztouch?


  • adccommunitymod (AutomationDirect)

    Created Date: September 23,2003

    Created by: TSimmons

    Well that should sum it up.... I haven't been able to figure out how to get a proper bi-polar temp. display on an eztouch screen. I have a D450 with a 8 point rtd card. When you read the values to a vmem location, you lose the sign. How do I put it back in and display it on the eztouch?

  • adccommunitymod (AutomationDirect)

    Created Date: September 23,2003

    Created by: JimHoward

    First, you do not "lose the sign " when the RTD data is transfered to the V-Memory locations. Even when you mask off the sign bit with the the bit is still in the original V-Memory location.

    For example, if your 1st RTD is transfered to V2000 (as a raw BINARY number):

    mask off the sign bit

    convert it to a real number

    real temperature

    Now, let's take care of the sign:

    B2000.15

    --]

    V3000 is a real number, with the sign, that can be directly displayed on the EZ-Touch as a FLOATING_PT_32 data type.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: September 24,2003

    Created by: Tech Guy

    If your RTD value is in Two's Complement, Binary format then you could also display the raw value (V2000 in JimHoward's example) as Signed_Int_32 as well.