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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Bind data from PLC to charts

leoeinsfeld
8-Gravel

Bind data from PLC to charts

Hi all,

 

I am ThingWorx Industrial Connectivity to communicate my PLC with ThingWorx Foundation.

 

However, I wanna to bind my TAGs from PLC with my charts in my mashup and when the TAGs values change, mu charts too change, in real time.

 

How I do this?

2 REPLIES 2

@leoeinsfeld 

Just wondering if you're still trying to solve your issue.  If you have found a solution, please post it for the benefit of others in the community or mark an existing response as the Accepted Solution. If you are still experiencing issues, please do let us know your questions or concerns.

 

You may refer to this article for more information.

 

Regards,

Vibhuti

K_Bairagi
13-Aquamarine
(To:leoeinsfeld)

Hi @leoeinsfeld ,

1st Create a Thing in ThingWorx and bind PLC tags as a properties in Thing.

For showing the Tags value in chart, it is necessary to store the properties in stream or value stream.

In Mashup, you have to call the following services.

1. for stream - QueryStreamEntriesWithData

 2. for Value Stream - QueryPropertyHistory

Bind the data of service to chart widget.

In chart widget properties, select PLC Tags for X and Y axis label.

Also bind auto refresh widget to service so when values are changed in PLC it will reflect in chart.

Thanks & Regards
K Bairagi
Announcements


Top Tags