Developer Portal Community

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

    Run HMI Locally

    Run HMI Locally

    JosueGB7
    Occasional Visitor

    Hello all,

    I have this issue every time when I try to run HMI locally and then the locally HMI cannot conect to the PLC.

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    VisiWinNET Compact V6.5.5.25 System Log

    > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
    Memory Report
    Global: Max. Progr.: 2097151.99902344 kB, used percent: 38 %
    Application: Max. total: 2097024 kB, used: 266504 kB, free: 1830520 kB, managed: 686 kB
    Info in headers: (A:free in kB M:managed in kB)

    2022-03-31 13:36:23 (A:1830628kB M:638kB) [Info] <Project Handler>
    Starting project OpCon.HMI.Modulo! Project file: C:\Bosch\Proyectos\UpgradeEKP\01_DevelopmentSoftware\XXXX.prj\XXXX.CX2020\HMImodulo\OpCon.HMI.Modulo.vwn


    2022-03-31 13:36:23 (A:1824776kB M:9696kB) [Info] <Data Access and OPC>
    Licensed for Robert Bosch GmbH.
    23 internal and 6317 external items defined in 1 channels.
    License contains 500000 external and 500000 internal items.

    2022-03-31 13:36:23 (A:1824264kB M:9712kB) [Info] <Language Switching>
    System started!

    2022-03-31 13:36:23 (A:1824224kB M:9720kB) [Info] <Data Access and OPC>
    The driver Beckhoff will be loaded from C:\Program Files (x86)\Common Files\Inosoft\VisiWinNET 2005\\Drivers\VisiWinNET\Beckhoff\2.0\VisiWinNET.Beckhoff.Drv.dll.

    2022-03-31 13:36:24 (A:1815240kB M:9764kB) [Info] <Driver Beckhoff at Channel Ch1>
    System (Version: 2.0.5.31) started!

    2022-03-31 13:36:24 (A:1813680kB M:9367kB) [Info] <Data Access and OPC>
    System started!

    2022-03-31 13:36:24 (A:1812272kB M:9391kB) [Info] <Logging>
    System started!

    2022-03-31 13:36:24 (A:1831400kB M:9407kB) [Info] <Alarming System>
    System started!

    2022-03-31 13:36:24 (A:1831400kB M:9415kB) [Info] <Recipe System>
    System started!

    2022-03-31 13:36:24 (A:1831400kB M:9431kB) [Info] <User Management>
    System started!

    2022-03-31 13:36:24 (A:1830120kB M:9447kB) [Info] <Historical Trending>
    System started!

    2022-03-31 13:36:24 (A:1797292kB M:9486kB) [Error] <Driver Beckhoff at Channel Ch1>
    Execption <Ads-Error 0x7 : Taget machine could not be found.> in line 1 while connecting the PLC [ADSNotification]

    2022-03-31 13:36:24 (A:1797292kB M:9494kB) [Info] <Data Access and OPC>
    Internal driver communication started.

    2022-03-31 13:44:52 (A:1782684kB M:10605kB) [Info] <Project Handler>
    Successfully initialized project!

    + + + + + + + + + + + + + + + + + +

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Could anybody help me with this please?

    3 REPLIES 3

    Thorsten_Brach
    Long-established Member

    Did you check the AMS Net ID and ADS Port in your configuration ?

    Thorsten_Brach_1-1648793534488.png

    The configuration must match to your PLC target system :

    Thorsten_Brach_2-1648793586695.png

    For a local running PLC - you can use 127.0.0.1.1.1 as  AMS Net ID.

    You can find the used ADS Port in your PLC project :

    Thorsten_Brach_4-1648794047585.png

    If you want to connect to a PLC on a remote IPC,
    you also must have a valid route to the target system :

    Thorsten_Brach_3-1648793944563.png

     

     

     

     

    SteffenR-
    Community Moderator
    Community Moderator

    If you have a real hardware PLC and want to run the HMI locally on your laptop you must configure the target systems like this:
    SteffenR_0-1648802044076.png

    If you start the HMI next to the PLC the HMI expects to find the PLC on the same system (localhost):
    SteffenR_1-1648802093428.png

     

    Now its working, thanks for the 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