Developer Portal Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Set high resolution on temperature sensors returns wrong (10x) values

    Set high resolution on temperature sensors returns wrong (10x) values

    rbresca
    Established Member

    Good morning,

    I have temperature sensors (Pt100 and thermocouple) connected to analog imput modules (EP3204) and (EP3314).

    As soon as I set the high resolution flag in the modules parameter tab, I've got wrong temperature values. Values are multiplied by a factor of ten (245°C) instead of (24.5°C).

    Which is the correct way to handle this situation? Should I use the Adjustment function on the AnalogInput objects?

    Should I avoid the high resolution flag at all?

    3 REPLIES 3

    Bianca
    Community Moderator
    Community Moderator

    Good morning,

    I can see in the EP3204 documentation that Beckhoff has added this new function for high resolution. If you want to use the higher resolution, you can either compensate the offset with the adjustment function if you are familiar with it, or use the scaling function of the object to shift the measuring range of the terminal. You should be able to see the currently used scaling Min/Max values of the sensors and could use this to narrow the measuring range to the new range for hight resolution.

     

     

    rbresca
    Established Member

    Hello,

    while I'm waiting for a better solution, I've added a MeanValue variabile which is cyclically updated with the correct scaling (I also compute the mean of ten values, but this is irrilevant here).

    I would also apply the scaling solution but I'm not sure how to configure min/max values.

    The picture below shows the two different sensors I have in the station.

    Which values should I put in the scaling fields? Let's check the first case: we have _rawValue of 2354 (==23.54°C) and _rawMax=8500.

    I have found that putting 85°C/-20°C (instead of 850°C/-200°C) gives me the correct temperature.

    But what happens if the temperature rises above 85°C?

    forum.png

    forum2.png

    Bianca
    Community Moderator
    Community Moderator

    I would assume that the sensor is generating an overrange signal above 85°C, as is always the case when your reading is above the sensor's measuring range.

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist