Developer Portal Community

    We are still working on migrating to the new Bosch Connected Industry Online Portal. Stay tuned! Click here for the latest updates.

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    Axis quickstop

    Axis quickstop

    rbresca
    Established Member

    Hello,

    I would like to understand how to properly handle the following situation: I have an axis (indradrive) which should be stopped when a light curtain is interrupted.

    The curtain safety signal is properly connected to the safety signal MS (mode selection) of the drive and is also connected to the PLC. When the curtain is interrupted the MS signal goes to FALSE and the drive will go in STO status.

    To avoid a drive error, the PLC must react stopping and disabling the drive. A function called in AxisExtension.OnCall check this condition and set ParImm.QuickStop := TRUE and ParImm.Activate := FALSE when the barrier is interrupted.

    I've used this code two years ago and it worked. The same situation, today seems to work in a different way. Setting/forcing the two values manually seems to work as I expect, but, if the curtain is interrupted when an axis command is executing, the drive is not disabled, thus it raises an error after one second (max transition time exceeded).

    After some trial an error I've found a working solution cancelling the command setting Execute := FALSE. This of course, stops the command before the axis reaches the final position and the come must verify this condition and issue the commnad again if necessary.

    Also, I'm not sure which OutImm bit check to be sure the axis is enabled, when the curtain is free and the axis is Activated again (OutImm.DriveEnabled does not seem the right bit).

    Is there a proper way to handle a situation like this?

     

    P.S. when I had the same situation in the past, using QuickStop lead had the side effect to cancel the command, now the command is not cancelled. In the past, I had no problem with drive safety errors, now I have. I'm pretty sure something is handled differently in Rexroth Axis between the two versions.

    (Old Indradrive MPM (native/NC) 2.0.10.0, New Indradrive MPB (native) 2.0.13.0)

    6 REPLIES 6

    SteffenR-
    Community Moderator
    Community Moderator

    Axis.ParImm.Enable := Axis.OutImm.DriveReadyForOp AND BinIo._000K985 (safety signal that activates emergency stop or STO in the drive).

    rbresca
    Established Member

    Thank you again.

    DriveReadyForOp is the first parameter that I thought I should try! Happy to see I was correct!

    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