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: 

    24 tips (Advent calendar) for Control plus programmers

    24 tips (Advent calendar) for Control plus programmers

    SteffenR-
    Community Moderator
    Community Moderator

    Hey, it’s december. The time when the day starts with opening a door of an Advent calendar.

    Check out the official BCI Advent calendar on LinkedIn with some interesting piece of information every day.

    But just these days I noticed in a discussion that there are so many small improvements from Control plus bundle V1.0 to V2.3 that some of you maybe missed. What would be more obvious than showing you a tip every day ...

    #01  #02  #03  #04  #05  #06
    #07  #08  #09  #10  #11  #12
    #13  #14  #15  #16  #17  #18
    #19  #20  #21  #22  #23  #24

    24 REPLIES 24

    SteffenR-
    Community Moderator
    Community Moderator

    Do you have some digital inputs that need to be monitored in the background?

    Like fuses, fans, air ionizer, etc.

     

    Use the SetEvent add-on, parametrize the digital input and choose the behaviour for a rising/falling edge: stop mode, run empty, cancel mode.

    That’s it.

    SteffenR_0-1638778758762.png

    SteffenR_1-1638778758763.png

    SteffenR-
    Community Moderator
    Community Moderator

    Do you want to show a project version in the HMI?

    Create a view and parametrize it in the HMI runtime settings:

    SteffenR_0-1638778829427.png SteffenR_1-1638778829428.png

    On the target system:

    SteffenR_2-1638778829432.png

    SteffenR-
    Community Moderator
    Community Moderator

    You are missing some shortcuts?

    In Visual Studio (TwinCAT) you can assign shortcuts for everything.

    Open Tools > Options > Environment > Keyboard

    SteffenR_0-1638778920494.png

     

    Some examples:

    Build.BuildSolution CTRL + SHIFT + B
    PLC.WriteValues CTRL + F7
    PLC.StartNone F5
    Window.CloseDocumentWindow CTRL + W
    Window.CloseAllDocuments CTRL + F4
    File.CloseAllButThis CTRL + SHIFT + F4
    If you have deactivated "Track active item in solution explorer":
    View.TrackActivityInSolutionExplorer
    CTRL + T

     

    SteffenR-
    Community Moderator
    Community Moderator

    You can export and import elements in Control plus Studio via context menu.

    "Send data to file" = export.

    "Insert data from file" = import.

     

    This is a good solution to define some default folders in Control plus Studio.

    Since Control plus Studio V5.3 you can also create folders in the HMI configuration (attached you can find the files for import):

    SteffenR_0-1638779195953.png

    In the variables and types tab you can create folders since the beginning of Control plus. In Control plus Studio V5 you even don’t need such an import file because default folders are included:

    SteffenR_0-1638789737776.png

    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