Developer Portal Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    OPC UA Client problems

    OPC UA Client problems

    Zhongxian
    Member

    Thanks for your reply.    i want to  let plc as opc ua client to read datas from opc ua server (injection moulding machine from arburg), that is the background. 

    i use beckhoff's  virtual opc ua device to read data from opc servers.  i can successfully read the datas when my own computer connect directly to the server and program runs in  computer as the picture show below ,the value of the variate f036 is 2.  the result is ok.

    image.png

    but when i my computer connets to plc, plc connect to the server, i download the program to the plc,   activate it.  the program successfuly runs, but the 

    value read from the server is 0, the acutul value is 2.  all the other datas are the same results.

    Zhongxian_0-1714988877943.png

    using sample client in plc side,i can successfully read the data. but the value of the data are empty  in plc program.my firewall is closed.

    if there is other settings in plc, or in oes side.  need for your help, thanks .

    Zhongxian_1-1714989034234.png

    the use of the virtual opc ua, i reference to the beckhoff  help system. i install  TF6100-OPC-UA-Client/TF6100-OPC-UA-Configurator/TF6100-OPC-UA-Gateway in both my computer and plc side  as it required. that is all . thank you.

    Zhongxian_2-1714989517951.png

     

    5 REPLIES 5

    Cartman
    New Poster

    Which XAR-Version is running on the IPC? I think i had to update to at least 4024.29 Runtime to use the OPCUA correctly (4024.29 is included on service stick)

    the version on the IPC is 4024.55,  on my computer is 4024.32.

    The documentation says the the Engineering version must be equal or higher than the runtime. So in your case it does not match. But i dont know if this has affect to the OPC....

    Despejo47
    Established Member

    Hi,

    I was suffering same issue in the past to me, even with an Arburg. The issue for me was the certificate and the date and time. When you configure the comunication you instal the certificates in the develop computer not in Target. Ensure that certificates for the communication was installed properlly in both computer (PLC and Arburg). This action is not done automatically by PLC you have to install the certificates manually. Once you have the certificate ensure that Arburg and PLC has same date and time, Communication with certificates check the time, and if the differece of time betweeen participants is more than 30 minutes (I can't remember exactly) then the communication is stopped.

    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