Developer Portal Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    SafetyDoor AddOn rEnableUnlock not working

    SafetyDoor AddOn rEnableUnlock not working

    hemgas
    New Poster

    In my machine the safety door can be unlocked in automatic mode by pressing the unlock button. I don't want this behaviour. Therefor I have set the rEnableUnlock parameter in the SafetyDoor add-on to a bool that is false during automatic mode. But still the doors are unlockable. The add-on seams not to take care of this value. Did I miss something or is there a different solution?

    1 REPLY 1

    SteffenR-
    Community Moderator
    Community Moderator
    1. Pressing the unlock button triggers a StopRequest. The SafetyDoor add-on waits until Execute of the add-on's handler is FALSE.
      Especially if you have a ModeForwarder / several ModeHandler there are some cases in which Execute=FALSE comes too early.
      Hint:
      If you are using the TransferMaster with a TransferGroupMaster there is a parameter that the TransferGroupMaster waits for the other ModeHandlers before stopping:
      SteffenR_0-1707747269269.png

       

    2. rEnableUnlock is checked and works in general, also in our example project "Digital Machine". This variable is exactly for your use case (prevent doors are opening too early).

      There are only a few conditions that do not take care of rEnableUnlock (if parameter UnlockedIsSafeState = TRUE):
      - Some SafetyDoor errors are causing an immediate unlock.
      - Emergency stop (if parametrized) and control off button (if parametrized) are causing an immediate unlock:
      SteffenR_1-1707748070842.png

      Things to check:
      Make sure that SafetyDoor.ParStart.rEnableUnlock is set in OnApplyParameter.STARTUP.
      Check if the Boolean variable is really FALSE after pressing the unlock button.
      What's the value of SafetyDoor._stepUnLock before you press the unlock button? If it is step 10, then everything is fine.

     

    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