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

Websocket connection in SAP DM

sabahatshaikh
Explorer
0 Kudos
780

Hi Experts,

Is is possible to setup Websocket connection in SAP DM to connect to OPC DA shop floor system through Production Connector?
We want to call this Websocket connection through custom POD Plugin to fetch the tag values of shop floor system.
Also, is there any other way to setup Websocket connection in custom POD plugin and get the tag data from OPC DA shop floor system?

Thanks & Regards,

Sabahat Shaikh

SAP Digital Manufacturing SAP Digital Manufacturing Insights @ManoelCosta 

Accepted Solutions (1)

Accepted Solutions (1)

MarcelWolf
Product and Topic Expert
Product and Topic Expert

Hi,

you may also want to check this two blogs on the Last Indicator value Plugin available in standard: 

        Last Indicator Value in Line Monitor POD within SA...               

        New Last Indicator Value features in Line Monitor ...               

Regards,

Marcel

sabahatshaikh
Explorer
0 Kudos

Hi Marcel, Manoel,

Thank you for your responses.

I would like to know, similarly to line monitoring POD or Weigh and Dispense POD the recent tag values are reflected on the UI without refreshing the POD.

As observed it looks like Websockets are setup that sends messages as payload to the POD so that a change in asset tag value updates it on the UI immediately.

Is there a way wherein we can setup message subscription to asset tags similar to this in custom POD plugin?

Regards,

Sabahat Shaikh

ManoelCosta
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi, see Implementing Push Notifications at https://help.sap.com/docs/sap-digital-manufacturing/pod-plugin-developer-s-guide/implementing-push-n... For a working example, see https://github.com/SAP-samples/digital-manufacturing-extension-samples/blob/7ab73db8a2d5611e678f0bba... for ### 2. Implementing custom Notification Events into a plugin. Hope it helps! Br, Manoel

Answers (1)

Answers (1)

ManoelCosta
Product and Topic Expert
Product and Topic Expert

Hi, you can learn more about OPC DA support at: Create OPC DA Server , and you can use Production Processes to read tag values. Hope it helps! Br, Manoel