Developer Portal Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    NexeedSensor object calculation value

    NexeedSensor object calculation value

    tommy3000
    Established Member

    Hello together

    NexeedSensor V 1.0.24.0

    Is it possible to get the formula, how the calculation of the value has been done at the command Get Stand?

    Sometimes we get the error message that the value wasn't stable in the maximum time, but when we trace the value, we cannot see an error, because at the end of the measurement we are in tolerance for a long time.

    The tolerance we set is 0.5µm and the value varies within 0.1µm.

    Thanks in advance

    3 REPLIES 3

    SteffenR-
    Community Moderator
    Community Moderator

    Does the problem still exist?

    Check these parameters:

    • ParCmd.StandCount: Maybe it is too high?
    • ParCmd.ValueIdx: Must be set to 1 to check the value itself.

     

    The condition to finish the command is (with _sampleVal as the first value which is updated everytime OutImm.Samples[1] restarts with 1):

    IF( _sampleVal <= "CurrentValue" + ParCmd.StandTolerance ) AND
      ( _sampleVal >= "CurrentValue" - ParCmd.StandTolerance ) AND
      ( NOT ParCfg.iSensor.State.Overrange                   ) AND
      ( NOT ParCfg.iSensor.State.Underrange                  ) AND
      ( "Duration"   >  ParCmd.MinStandTime                  ) AND
      ( _sampleCount >= ParCmd.StandCount                    )
    THEN

    tommy3000
    Established Member

    Hello

    So now it seems to be working. My process engineer was looking for a settable sampling rate. In opcon classic there was a parameter he said.

    We increased the MinStandTime and now it works fine. The process engineer was a littbe disappointed,  because now we always have a min time of the measurement, in combination with the stand count value. If this doesn't match, you can come into this failure, especially if the cycle time oft the station changes.

    He was asking for a sampling rate, in which the stand count gets his values. In the old system this was the "standard".

    Just as a hint.

    Thanks

    SteffenR-
    Community Moderator
    Community Moderator

    You are right that a sampling rate could make sense. I am also not sure about the current behaviour if the input value is not updated every PLC cycle due to communication/hardware limitations (e.g. TCP/IP or CoE access).

    There are no activities ongoing for this feature. If you need the sampling rate parameter contact our helpdesk for further steps.

    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