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

OPC Aggregator new initialize from Thingworx

TL_9220870
12-Amethyst

OPC Aggregator new initialize from Thingworx

Use the OPC Aggregator to connect to machines via OPC UA to get the signals in Thingworx.
Sometimes it is necessary to reinitialize the connection manually, which in my opinion is only possible via the OPC Aggregator.

 

Is there a way to start a service from thingworx that can trigger the new initialization of the OPC Aggregator?

 

If someone from PTC is reading this, is there a chance of getting a feature in the future, new initialization of the OPC Aggregator  from thingworx,  to automate operations?

 

Thanks for help

ACCEPTED SOLUTION

Accepted Solutions

Kewpare Rest API interface supply ReinitializeRuntime service to reinitialize runtime, URL as below. I tested with Postman, it worked.

    https://<hostname_or_ip>:<port>/config/v1/project/services/ReinitializeRuntime

If you download Kepware manual, refer to page 218 for more details.

    https://www.kepware.com/getattachment/e1943820-ef3c-4932-b055-4ef2a80ab863/kepserverex-manual.pdf

I think OPC Aggregator also supply same rest API service, can you verify on your side?

View solution in original post

2 REPLIES 2

Kewpare Rest API interface supply ReinitializeRuntime service to reinitialize runtime, URL as below. I tested with Postman, it worked.

    https://<hostname_or_ip>:<port>/config/v1/project/services/ReinitializeRuntime

If you download Kepware manual, refer to page 218 for more details.

    https://www.kepware.com/getattachment/e1943820-ef3c-4932-b055-4ef2a80ab863/kepserverex-manual.pdf

I think OPC Aggregator also supply same rest API service, can you verify on your side?

TL_9220870
12-Amethyst
(To:wcui)

Thanks for the help and the link to the document.
I had completely overlooked the API function here.


The API function could be found via OPC Aggregator Administration and still had to be set up here.
Then release the necessary ports 57429 or 57529 on the server and network.
The documentation helped for the rest.
 https://www.kepware.com/getattachment/e1943820-ef3c-4932-b055-4ef2a80ab863/kepserverex-manual.pdf

Many thanks

 

Announcements


Top Tags