Skip to main content
1-Visitor
January 17, 2025
Solved

connecting 2 kepserver with OPC UA.

  • January 17, 2025
  • 1 reply
  • 1924 views

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

 

Best answer by Bhupendra

Please follow our solution article for OPC UA communication. 

 

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

1 reply

Bhupendra14-AlexandriteAnswer
14-Alexandrite
January 17, 2025

Please follow our solution article for OPC UA communication. 

 

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

14-Alexandrite
January 17, 2025
  • 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
1-Visitor
January 17, 2025

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