Developer Portal Community

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

    EventClear in diferent ModeHandler with his own EventList and HMImodulo

    EventClear in diferent ModeHandler with his own EventList and HMImodulo

    Despejo47
    Established Member

    Hello all,

    In a project we have the following configuration:

    Despejo47_1-1632397302506.png

    Each ModeHandler has his own IPC with his respective HMI Modulo.

    To represent the diag in each HMI we have to add the EventList on each ModeHandler. At this point everithing is correct each panel throw his own errors.

    Problem comes qhen you confirm one of those errors. The EventClear is appied at top level ModeForwarder, that means that all errors are confirmed. That is very risky becose you are confirmed diagnostics that you didn't read and even can cause damages on the modules that you aren't seeing. 

    You should't confirm the errors of the modules that are not under your control. 

    In this example is we are using V1 but we have same issue on V2.

    The similar behaviour apply to the EasyPanel. PanelToken parameter is not used in a subtree, then you cannot instance for the right Token. Token control will.

    Is planned to correct this?

    Can we do something to improve it?

     

    Best regards

    3 REPLIES 3

    nexidator
    Community Moderator
    Community Moderator

    That is not the intended behavior. The HMI only sets the EventClear variable at the ModeHandler corresponding to the HMI instance, not at the ModeForwarder. We will investigate if we can reproduce a misbehavior on the PLC side and get back to you.

    Despejo47
    Established Member

    Hi,

    You're right we test it. The HMI write the correct EventClear on the PLC Mode Handler Extension but internlly the PLC clear all events of the ModeHandler and even on the Mode Forwarder.

    Thanks

    Despejo47
    Established Member

    Hello,

     I'm very embarrassed 😔.

    We found the root cause of this behaviour.

    acknowButtonRTrig(Clk:=Module.Extension[ModuleInstIdx.FU1].EventClear OR 
                                            Module.Extension[ModuleInstIdx.FU2].EventClear OR
                                            Module.Extension[ModuleInstIdx.FU3].EventClear OR
                                            Module.Extension[ModuleInstIdx.FU4].EventClear);                        
                            
    EventClear := _acknowButtonRTrig.Q;

    This was written in the code. I didn't find yesterday.

    Sorry for make you lose time, and many thanks for your quick response and support.

    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