cancel
Showing results for 
Search instead for 
Did you mean: 

OPC UA connection via NX CAM

OPC UA connection via NX CAM

Tuomas
New Poster

I am trying to establish a connection to NX CAM model via OPC UA using CtrlX Virtual Core image version 1.20.12. I have eastablished connection via test client to OPC UA server running on virtual core. I have also made a connection between NX CAM and CODESYS via OPC UA using CODESYS as the server. However I am not able to connect NX OPC ua client to CtrlX OPC UA server. Certificates are approved from both server and client side, but the client (NX) keeps giving error "Cannot connect to server".

I am using windows 11

Does anyone have any experiences with Siemens NX CAM OPC UA client and ctrlx OPC UA server?

3 REPLIES 3

Yvonne_
Established Member

Hi Tuomas, 

Is the security policy that the client is requesting enabled in the OPC UA server settings on the ctrlX core? And did you synchronize the time/date of the two devices? 

YvonneV_3-1710431072278.png

Hi,

It seems that we have the same issue.

setup:

  • Virtual core image 1.20.12
  • NX MCD 2206
  • All security settings enabled.
  • certificates trusted on both sides.
  • NX user reported that they managed to connect with Matrikon OPC UA explorer to the OPC UA server.
  • Ctrlx user has administrative rights
  • On the client side (NX), authentication mode is username & password.

 

Time settings:

It seems that with incorrect time settings rejected session count and security rejected count increase with every attempt to connect. After changing the time on ctrlX side to match windows’ time, this was fixed.

Joonas_0-1713528941000.png 

However, the client still refuses to connect but now rejected request count keeps increasing with every connection attempt. Nothing appears on the diagnostic logbook, even with trace messages enabled.

Joonas_1-1713528941004.png

I do not have Siemens license on my own PC, so testing this is a bit difficult. I can ask the end user to check if there are any configurable time settings on the NX side and verify that the OPC UA connection established with Matrikon OPC UA explorer really works.

Any other suggestions what should be checked?

CodeShepherd
Community Moderator
Community Moderator

Are there any news could you solve your issues?

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