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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Translate the entire conversation x

connecting 2 kepserver with OPC UA.

DV_9893068
2-Explorer

connecting 2 kepserver with OPC UA.

I want to set up a OPC UA connection between two kepserver instances is this possible and if how?

 

ACCEPTED SOLUTION

Accepted Solutions
Bhupendra
13-Aquamarine
(To:DV_9893068)

Please follow our solution article for OPC UA communication. 

 

https://www.ptc.com/en/support/article/CS298913

View solution in original post

3 REPLIES 3
Bhupendra
13-Aquamarine
(To:DV_9893068)

Please follow our solution article for OPC UA communication. 

 

https://www.ptc.com/en/support/article/CS298913

Bhupendra
13-Aquamarine
(To:Bhupendra)

  • Approach:
  1. Establish a connection using basic setup without any security settings 
  2. Proceed to configuring the security options as needed
  • Prerequisites for validating the network connection:
    • Use a tool like PuTTY to test a Raw type connection to IP:49320 between the servers
    • Monitor with wireshark whether the TCP 3-way handshake is taking place as expected
  • Server side configuration
    • Right click on the ex icon in the systray, and choose OPC-UA Configuration
    • On the Server Endpoints tab click Add
    • Choose the network adapter that this server should listen for OPC-UA traffic on
    • Make note of the url opc.tcp://<IP>:49320
      • Make sure that TCP:49320 is allowed by OS Firewall
    • Allow None in the security policy and certificates will not be checked for validation.
    • Open the server Configuration
    • Right click on Project in the tree > Properties > OPC-UA
    • Verify Server Interface Enable is Yes and Client Sessions Allow Anonymous is Yes
    • Click OK
    • From the menu bar choose Runtime > Reinitialize
  • Client side configuration
    • Open the server Configuration
    • Right click on Connectivity and choose New Channel
    • For the driver choose OPC-UA Client driver, click Next
    • Click Next > Next
    • Use the url from the server as the Endpoint URL: opc.tcp://<IP>:49320
    • Set security policy to None
    • Take all the defaults for the rest of the channel creation
    • Click to add a device
    • Click Next until the option Select Import Items 
    • Click Select Import Items and pull in the items needed from the target
    • Last step is to click Next and Finish

Many thx, the security setting was the issue for me.

 

Announcements


Top Tags