<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Connect Thingworx and PLC in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527122#M21086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I'm not too familiar with how the modbus.lua is setup and how it processes the key that is put in.&lt;/P&gt;&lt;P&gt;Hopefully someone else can give some input on that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jan 2016 14:27:16 GMT</pubDate>
    <dc:creator>PaiChung</dc:creator>
    <dc:date>2016-01-26T14:27:16Z</dc:date>
    <item>
      <title>Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527119#M21083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to connect PLC and Thingworx via EMS.&lt;/P&gt;&lt;P&gt;In modbusExample.lua file, defining property for Thing is essential.&lt;/P&gt;&lt;P&gt;I put this property like this,&lt;/P&gt;&lt;P&gt;properties.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Int16HoldRegExample = {value="300", dataChangeType="ALWAYS",pushType="ALWAYS", key ="holding_register/1/40001", handler="modbus_handler", basetype="NUMBER"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But I can't connect.&lt;/P&gt;&lt;P&gt;Which URL does this "key" table mean?&amp;nbsp;&amp;nbsp; PLC ,EMS or Thingworx Composer ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know information...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 09:48:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527119#M21083</guid>
      <dc:creator>hshintani1</dc:creator>
      <dc:date>2016-01-25T09:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527120#M21084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Modbus example is specifically for connecting using Modbus protocol.&lt;/P&gt;&lt;P&gt;You have a modbus protocol setup to your PLC?&lt;/P&gt;&lt;P&gt;the Key refers to the Modbus register that is to be read.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 18:25:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527120#M21084</guid>
      <dc:creator>PaiChung</dc:creator>
      <dc:date>2016-01-25T18:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527121#M21085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use Modbus package and set up modbus protocol to my PLC.&lt;/P&gt;&lt;P&gt;Is it ok that only modbus register is included in key contents,for example key = "40001" ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 01:41:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527121#M21085</guid>
      <dc:creator>hshintani1</dc:creator>
      <dc:date>2016-01-26T01:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527122#M21086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I'm not too familiar with how the modbus.lua is setup and how it processes the key that is put in.&lt;/P&gt;&lt;P&gt;Hopefully someone else can give some input on that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 14:27:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527122#M21086</guid>
      <dc:creator>PaiChung</dc:creator>
      <dc:date>2016-01-26T14:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527123#M21087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all you need to make sure that your Modbus communication is working properly.&lt;/P&gt;&lt;P&gt;That deppends on type of connecten. Are you using Modbus over serial - i.e. RTU/ASCII over RS485? or Modbus over TCP??&lt;/P&gt;&lt;P&gt;You can try program like Modbus Poll to verify your settings and readings. That's what I am using. (it's only a 10minutes demo though).&lt;/P&gt;&lt;P&gt;Then you need to change your config.lua file accordingly. Regarding reading the registers, I think that you need to define a type as well.&lt;/P&gt;&lt;P&gt;This is what I am using (just an example):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;properties.VoltageVan = {key="input_register/1/30002?format=Float", handler="modbus_handler1", basetype="NUMBER"} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its always good idea to use some network protocol analyzer (Wireshark is the best no doubt) when dealing with low-layer communication.&lt;/P&gt;&lt;P&gt;--&amp;gt; Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 11:06:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527123#M21087</guid>
      <dc:creator>tcoufal</dc:creator>
      <dc:date>2016-01-27T11:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527124#M21088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your information.&lt;/P&gt;&lt;P&gt;I'm using Modbus over TCP protocol. And I could read holding register data from&amp;nbsp; PLC with holding_register function in modbus_handler.lua.&lt;/P&gt;&lt;P&gt;But,I can't write data from ThingWorx to PLC via EMS.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The cause is timeout like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[ERROR] 2016-02-01 17:17:39,410 modbus:executeFunction: Error: Timed out waiting for result.&lt;/P&gt;&lt;P&gt;[ERROR] 2016-02-01 17:17:39,410 luaInterscriptBinding::l_executeCallback: Error executing callback 'modbus_handler//scripts/modbus_handler/holding_register/1/40001'&lt;/P&gt;&lt;P&gt;Returned: 500 Timeout&lt;/P&gt;&lt;P&gt;[WARN ] 2016-02-01 17:17:39,411 MyPLC: Could not write property: Int16HoldRegExample, code: 500, msg: Timeout&lt;/P&gt;&lt;P&gt;Does the holding_register function include not only reading holging_register value but writing the same holding_register value&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Or should I set something else for writing property ? If you know,please teach me...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 05:08:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527124#M21088</guid>
      <dc:creator>hshintani1</dc:creator>
      <dc:date>2016-02-02T05:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527125#M21089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Holding Registers should be able to be read and written to.&lt;/P&gt;&lt;P&gt;What function are you using for the write?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 18:47:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527125#M21089</guid>
      <dc:creator>PaiChung</dc:creator>
      <dc:date>2016-02-02T18:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527126#M21090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would be interested in that function as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What kind of PLC system are you using? Systems which I am familiar with needs a proper configuration in a project in the first place to allow MODBUS registers (coils and holding registers) to be written into. It is a safety issue. Use Wireshark to capture Modbus packets sent and recieved from/by your lua script. That could give you some clue.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 21:33:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527126#M21090</guid>
      <dc:creator>tcoufal</dc:creator>
      <dc:date>2016-02-02T21:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527127#M21091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the property string you're using in your modbus template.lua file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 21:34:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527127#M21091</guid>
      <dc:creator>Aanjan</dc:creator>
      <dc:date>2016-02-02T21:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527128#M21092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This line is for setting property.&lt;/P&gt;&lt;P&gt;properties.Int16HoldRegExample = {value="300", dataChangeType="ALWAYS",pushType="ALWAYS", key ="holding_register/1/40001?format=Int16", handler="modbus_handler", basetype="NUMBER"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And,these line are for setting services to get property value.&lt;/P&gt;&lt;P&gt;services.getAllProperties = function(me, headers, query, data) &lt;/P&gt;&lt;P&gt;&amp;nbsp; log.debug(me.name, "Called getProperties")&lt;/P&gt;&lt;P&gt;&amp;nbsp; local postdata = {content='{"slave": 1 ,"address": 40001 , "count": 1, "data": "string"}'}&lt;/P&gt;&lt;P&gt;&amp;nbsp; return tw_script.executeCallback("modbus_handler", "POST", "holding_register", headers, query, postdata)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 02:06:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527128#M21092</guid>
      <dc:creator>hshintani1</dc:creator>
      <dc:date>2016-02-03T02:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527129#M21093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try adjusting the timeout value in config.lua&lt;/P&gt;&lt;P&gt;You can do so in the section&lt;/P&gt;&lt;P&gt;scripts.modbus_handler = { &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; file = "modbus_handler.lua" ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; response_timeout = 10000,&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Not that the number is in milliseconds.&amp;nbsp; The default is 5000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can also debug your connection by talking directly to the modbus_handler script itself.&amp;nbsp; On the machine that your EMS is running, point a browser with your favorite REST debugging tool, like Postman, to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://127.0.0.1:" rel="nofollow"&gt;http://127.0.0.1:&lt;/A&gt;&lt;SPAN&gt;&amp;lt;port&amp;gt;/scripts/modbus_handler/holding_register/&amp;lt;slave_id&amp;gt;/&amp;lt;register&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; where port is the port your Lua Script resource is listening on - defaults to 8001, slave_id would be 1, and holding_holding register would be 4001 in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For writing you should be should be doing a PUT to /holding_register/&amp;lt;slave_id&amp;gt;/&amp;lt;register&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at the documentation in /etc/thingworx/scripts/modbus_handler.lua for some more details on how to interact directly with that script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Feb 2016 21:46:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527129#M21093</guid>
      <dc:creator>jcanosa</dc:creator>
      <dc:date>2016-02-06T21:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527130#M21094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, how exactly work this service.getAllProperties in modbusExample.lua? I can't see this service in remote thing for binding (how I can call it?). Also I having issue to read coils and discrete inputs - as bit values and using workaround with Uint16 word value - It's working, but it's not right. Could you please advice? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 08:55:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527130#M21094</guid>
      <dc:creator>pkeckes</dc:creator>
      <dc:date>2016-04-27T08:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527131#M21095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter - In looking at the modbusExample.lua file that you posted (I assume this is the one you are referring to), I don't see a service definition in that template.&amp;nbsp; That is why you don't see it when you browse from Composer.&amp;nbsp; If I remember right read_multiple_registers returns a string with a comma separated list of formatted values.&amp;nbsp; You can double check this by directly POSTing to the modbus_handler script to see what comes back. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A coil property definition should look like the following:&lt;/P&gt;&lt;P&gt;properties.CoilTest1 = {key="coil/&amp;lt;slave_id&amp;gt;/&amp;lt;coil_number&amp;gt;", handler="modbus_handler", basetype="BOOLEAN"}&lt;/P&gt;&lt;P&gt;One thing to be careful of is offset in modbus addressing.&amp;nbsp; Depending on your modbus slave the first coil might be coil #1 at address 0 which is typical or they might call it by its address (i.e. coil 1 is at address 1 and coil 0 is at address 0).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 15:20:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527131#M21095</guid>
      <dc:creator>jcanosa</dc:creator>
      <dc:date>2016-04-27T15:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527132#M21096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also facing problem on connecting IDEC to ThingWorx.&lt;/P&gt;&lt;P&gt;below is the result after I run ./luascriptresources&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ERROR] 2016-04-09 11:34:20,113 luaScriptProxy::execute: [1094014096] Error executing script modbus_handler, Error = Error: ...t/thingworx/MicroServer/etc/thingworx/lua/modbus.lua:104: module 'socket' not found:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no field package.preload['socket']&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/opt/thingworx/MicroServer/etc/socket.lua'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/opt/thingworx/MicroServer/etc/thingworx/socket.lua'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/opt/thingworx/MicroServer/etc/thingworx/lua/socket.lua'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/opt/thingworx/MicroServer/etc/custom/socket.lua'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/opt/thingworx/MicroServer/etc/custom/lua/socket.lua'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/opt/thingworx/MicroServer/etc/community/lua/socket.lua'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file './socket.lua'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/usr/local/share/lua/5.1/socket.lua'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/usr/local/share/lua/5.1/socket/init.lua'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/usr/local/lib/lua/5.1/socket.lua'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/usr/local/lib/lua/5.1/socket/init.lua'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/opt/thingworx/MicroServer/etc/thingworx/clibs/socket.so'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/opt/thingworx/MicroServer/etc/custom/clibs/socket.so'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/opt/thingworx/MicroServer/etc/community/clibs/socket.so'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file './socket.so'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/usr/local/lib/lua/5.1/socket.so'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no file '/usr/local/lib/lua/5.1/loadall.so'&lt;/P&gt;&lt;P&gt;[ERROR] 2016-04-09 11:34:20,118 luaScriptProxy::app_unlock: [1094014096] Attempt to unlock app_mutex while not holding it.L= 0x1141f0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope someone can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 13:28:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527132#M21096</guid>
      <dc:creator>echo</dc:creator>
      <dc:date>2016-05-12T13:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527133#M21097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric, what version of the MicroServer are you using? Do you have the Modbus package with it as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 13:57:22 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527133#M21097</guid>
      <dc:creator>Aanjan</dc:creator>
      <dc:date>2016-05-12T13:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527134#M21098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric, looks like you using latest 5.1 version - you need Modbus complete Modbus package - is missing - If you would like to download my package and search or socket.lua (and other files if needed) and add them to your microserver / or reuse my package with your config files (config.lua and config.json). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 14:02:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527134#M21098</guid>
      <dc:creator>pkeckes</dc:creator>
      <dc:date>2016-05-12T14:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527135#M21099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have in mind - I'm using version 5.3.1.1113 with some changes to get it work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 14:04:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527135#M21099</guid>
      <dc:creator>pkeckes</dc:creator>
      <dc:date>2016-05-12T14:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527136#M21100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thanks for your fast reply. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sorry that i am very new to Thingworx.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;How to check the version? &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The modbus package is that something like mobusscript.lua?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fyi, i had actually downloaded the EMS to Syslink Systech SL-3000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 15:38:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527136#M21100</guid>
      <dc:creator>echo</dc:creator>
      <dc:date>2016-05-12T15:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527137#M21101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a link to a quick start &lt;A _jive_internal="true" href="https://www.ptcusercommunity.com/community/developers/blog/2015/12/13/modbus-plc-simulator"&gt;Modbus blog&lt;/A&gt; that has downloads to the package as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 17:17:38 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527137#M21101</guid>
      <dc:creator>Aanjan</dc:creator>
      <dc:date>2016-05-12T17:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Thingworx and PLC</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527138#M21102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question to Peter, may I know where to get the complete Modbus package?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use this package?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.ptc.com/cs/help/thingworx_hc/thingworx_edge/index.jspx?task=CONTENTFRAME&amp;amp;id=thingworx1107&amp;amp;action=show" title="http://support.ptc.com/cs/help/thingworx_hc/thingworx_edge/index.jspx?task=CONTENTFRAME&amp;amp;id=thingworx1107&amp;amp;action=show"&gt;Content&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 02:40:46 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Connect-Thingworx-and-PLC/m-p/527138#M21102</guid>
      <dc:creator>echo</dc:creator>
      <dc:date>2016-05-13T02:40:46Z</dc:date>
    </item>
  </channel>
</rss>

