Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hello Everyone;
We have an eWON Flexy 201 device which connected PLC through ethernet. This device can read live data from PLC and with its Wifi/Ethernet modules, can push data to local/remote server using BASIC script language.
We can send live data to our remote Thingworx Platform using <host-ip-adress>/Thingworx/Things/<thing-name>/Properties/*
ONCHANGE "DB2x20", "@UpdateThingWorxProperty('xxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxx','DB2x20')" FUNCTION UpdateThingWorxProperty($appKey$,$Tagname$) $url$ = "http://<host-ip-adress>/Thingworx/Things/<thing-name>/Properties/*" $method$ = "PUT" $Tagvalue = GETIO $Tagname$ $Tagvalue_String$ = STR$ $Tagvalue $DataToSend$ = '{"' + $Tagname$ + '":' + $Tagvalue_String$ + '}' $header$ = "Content-Type=application/json&Accept=application/json&appKey=" + $appKey$ REQUESTHTTPX $url$, $method$, $header$, $DataToSend$ PRINT "Value of " + $Tagname$ + " is sent to ThingWorx" ENDFN End
But we cant send live data to Thingworx Manufacturing App, because i thing TMA using different path for its Api. Thingworx/WS
I have tried to send data to this url(s). But we had no luck so far.
http://<host-ip-adress>/Thingworx/WS/<thing-name>/Properties/*
http://<host-ip-adress>/Thingworx/WS/<thing-name>
How can i push data to Thingworx Manufacturing App with Non-Kepware Client ?
Any help will be appreciated.
Thank you.
Murat Can
mberber@brandit.tech
Hi Murat,
The ThingWorx manufacturing apps use the base things that are in the platform. So long as you created the "Thing" with the proper "ThingTemplate," you should be able to see the tag values in the apps. You'll also have to update the monitored properties infotable on the "Thing" if you're sourcing in dynamic data.
Thanks,
Milan
I also realize that this didn't fully answer your question. You should continue to use the URL that is currently working, not the one that uses /ThingWorx/WS