Developer Portal Community

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

    Input signal problem

    Input signal problem

    IAreCBTEF
    Long-established Member

    I encountered a very strange problem, the PLC hardware can see the input signal

    (for example, _K050A0_Channel_6 is ON), but it is still OFF in BinIo.

     

    015.jpg015_1.jpg015_2.jpg

    6 REPLIES 6

    nexidator
    Community Moderator
    Community Moderator

    I am afraid now I am little bit confused.

    In your first post, you showed that the I/O state of _K050_Channel_6 did not work, which is the 6th channel with the original name.

    In your second post, you say it depends on whether the channel has the default name or not. And you show a screenshot where the 5th channel has been renamed. In that screenshot, you say that channel 6 (with original name) is OK. (Has that changed since the first post?) But the video shows that channel 5 with original name works.

    In your third post, you say the problem should not occur if you don't use the emergency stop Addon. What do you mean with that? Does the problem occur when you don't use the add-on or does it not? Actually I don't see how the add-on could possibly influence the state of an input.

    So, this would be my suggestion:

    • Rename the I/O the way you want. It does definitely work with any valid name.
    • Writing the I/O designators to TwinCAT is technically not even necessary, but it makes sense so the names are the same everywhere.
    • Remove the I/O from the add-on parameters. (Probably not necessary, but as I understood, you suggested this influences the whole thing)
    • Run the PLC export from OES
    • Clean and rebuild the PLC project
    • Link I/O
    • Check if the I/O link for your specific input is correct. (Just as you did in the first post)
    • Activate the TwinCAT configuration. This should not really be necessary, but sometimes a clean start is best.
    • After going online, check the state of the bus_... variable (e.g. BinIo.bus_K910_S900) you can see in the BinIo declaration. This is the variable that is linked to the bus, so this is the place where we should check if linking has worked.
    • If this works, check if the "main" IO variable (e.g. BinIo._K910_S900) has the same state.
    • If everything works, configure the add-on, download the PLC and check if it works.

    IAreCBTEF
    Long-established Member
    • Activate the TwinCAT configuration. This should not really be necessary, but sometimes a clean start is best.
    • Reply:It is this step that I did not do, Resulting in the fact that the Twincat3 configuration has not changed.

    Thank you so much for your patience and help!😄👍👍👍🌹

    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