Developer Portal Community

    We are moving! We are currently migrating our community to the new Bosch Connected Industry Online Portal. The community will be available latest in the new year again, until then it will be in read-only mode. Click here for more information.

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

    OES 4.11 / Link IO with Variables in the PLC ide reports an error at this step

    OES 4.11 / Link IO with Variables in the PLC ide reports an error at this step

    IAreCBTEF
    Long-established Member

    TwinCAT3 runtime version is 4022.27.

    OES version is 4.11.b.

    It seems to be an error in the ood file, but my Objects and Peripherals files are downloaded from your official website, I don't know why, please help me to find out what the problem is,

    Thank you very much!

    3 REPLIES 3

    MarvinW
    Long-established Member

    Never had a problem like this with the EtherCAT master, I believe. Like the error message indicates, did you build your project in TwinCAT and was it successful (no errors)?

    IAreCBTEF
    Long-established Member

    Yes, I recompiled and followed the process of peripherals general, the problem is solved,

    Thank you for your advice

    MarvinW
    Long-established Member

    A little more detail why this error happens:

    When you press the "Link IO variables in TwinCAT" button, OES tries to link the variables from the PLC project with the IO.

    MarvinW_0-1658824466806.png

     

    The IO variables are updated whenever you change your IO, e.g. add a terminal box to your coupler or a slave to your EtherCAT master. They are directly available. But the PLC variables (picture above) are not updated automatically when you change the PLC program. Only when you build your PLC program, TwinCAT turns all %I and %Q variables into entries in the PlcProject Instance. That's why you must build before OES can link your variables. Otherwise the PLC IO variables simply do not exist in your project.

    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