<?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: Modbus Object Bug? in Lookout</title>
    <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/681056#M5477</link>
    <description>&lt;DIV&gt;Give me an Email address to access you.&lt;/DIV&gt;
&lt;DIV&gt;I will give you something to test.&lt;/DIV&gt;</description>
    <pubDate>Tue, 01 Apr 2008 06:05:24 GMT</pubDate>
    <dc:creator>Ryan.S</dc:creator>
    <dc:date>2008-04-01T06:05:24Z</dc:date>
    <item>
      <title>Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/657852#M5291</link>
      <description>Another problem with modbus object?&amp;nbsp; Maybe so.&lt;BR /&gt;&lt;BR /&gt;PLCs are Koyo DL06, same program, exactly just different modbus addresses.&amp;nbsp; Sites poll every 60 seconds. I have the modbus objects copied exactly the same settings (except station address of course).&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;PLC1:&amp;nbsp; Connection on 40889 sets a 1 on every other poll. Polls. Updates. Done.&amp;nbsp; All good.&lt;BR /&gt;PLC2:&amp;nbsp; Connection on 40889 sets a 1 on every other poll. Polls. Updates. Polls. Updates. Polls. Updates....&amp;nbsp; It doesnt stop.&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;Heres the funny thing.&amp;nbsp; If i make a new modbus object:&lt;BR /&gt;PLC2TEMP:&amp;nbsp; Connection on 40889 sets a 1 on every other poll. Polls. Updates.&amp;nbsp; Done.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My modbus.ini settings: &lt;BR /&gt;[all]&lt;BR /&gt;UpdateOutputs=2&lt;BR /&gt;RefreshOutputs=1&lt;BR /&gt;&lt;BR /&gt;Thanks for the help&lt;BR /&gt;Mike &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Feb 2008 21:53:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/657852#M5291</guid>
      <dc:creator>Mike@DTSI</dc:creator>
      <dc:date>2008-02-20T21:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/659872#M5312</link>
      <description>&lt;DIV&gt;I do the same configuration and test on my computer.&amp;nbsp; It polls every 15 sec. UpdateOutputs=2 RefreshOutputs=1, "immediately write" checked.&lt;/DIV&gt;
&lt;DIV&gt;The below is the log file on serial port.&lt;/DIV&gt;
&lt;DIV&gt;[01][01][00][00][00][01][FD][CA] is the read on every poll. See, if the write output is not changed, there is no write function sent out. On&amp;nbsp;every poll, it just reads the value&amp;nbsp;back, no write.&lt;/DIV&gt;
&lt;DIV&gt;After I&amp;nbsp;change the switch to ON, it sends out [01][05][00][00][FF][00][8C][3A] immediately. [05] is write single coil.&lt;/DIV&gt;
&lt;DIV&gt;So, when immediately write is checked, UpdateOutputs is almost meaningless, because the output will be updated immediately.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;What do you mean by "Updates. Done.&amp;nbsp; All good." I think if you set polls=60 sec, it should poll every 60sec, it should not stop polling.&lt;/DIV&gt;
&lt;DIV&gt;So could you also make the log file on serial port? With the log file, we may find something.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;15:23:37.2 - Modbus1 -&amp;gt;&lt;BR /&gt;[01][01][00][00][00][01][FD][CA]&lt;BR /&gt;15:23:37.3 - Modbus1 &amp;lt;-&lt;BR /&gt;[01][01][01][00][51][88]&lt;BR /&gt;15:23:52.2 - Modbus1 -&amp;gt;&lt;BR /&gt;[01][01][00][00][00][01][FD][CA]&lt;BR /&gt;15:23:52.3 - Modbus1 &amp;lt;-&lt;BR /&gt;[01][01][01][00][51][88]&lt;BR /&gt;15:23:52.6 - Modbus1 -&amp;gt;&lt;BR /&gt;[01][01][00][00][00][01][FD][CA]&lt;BR /&gt;15:23:52.6 - Modbus1 &amp;lt;-&lt;BR /&gt;[01][01][01][00][51][88]&lt;BR /&gt;15:23:52.6 - Modbus1 -&amp;gt;&lt;BR /&gt;[01][05][00][00][FF][00][8C][3A]&lt;BR /&gt;15:23:52.7 - Modbus1 &amp;lt;-&lt;BR /&gt;[01][05][00][00][FF][00][8C][3A]&lt;BR /&gt;15:24:07.3 - Modbus1 -&amp;gt;&lt;BR /&gt;[01][01][00][00][00][01][FD][CA]&lt;BR /&gt;15:24:07.3 - Modbus1 &amp;lt;-&lt;BR /&gt;[01][01][01][01][90][48]&lt;BR /&gt;15:24:22.3 - Modbus1 -&amp;gt;&lt;BR /&gt;[01][01][00][00][00][01][FD][CA]&lt;BR /&gt;15:24:22.3 - Modbus1 &amp;lt;-&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Feb 2008 07:43:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/659872#M5312</guid>
      <dc:creator>Ryan.S</dc:creator>
      <dc:date>2008-02-25T07:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/660278#M5317</link>
      <description>The object does not stop polling.&amp;nbsp; PollTime=60 secs., it polls ALL the time not every minute like it should.&lt;BR /&gt;&lt;BR /&gt;It will just keep polling non-stop, the 40889 is a static 1, it is a confirmation to the plc (heartbeat time setting) So it doesnt transition.&lt;BR /&gt;I will try to log it.&lt;BR /&gt;Thanks&lt;BR /&gt;Mike&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Feb 2008 17:24:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/660278#M5317</guid>
      <dc:creator>Mike@DTSI</dc:creator>
      <dc:date>2008-02-25T17:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/665432#M5354</link>
      <description>This is not the first time i have run into it.&amp;nbsp; Going to log it today.&lt;BR /&gt;&lt;BR /&gt;Mike&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Mar 2008 17:15:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/665432#M5354</guid>
      <dc:creator>Mike@DTSI</dc:creator>
      <dc:date>2008-03-04T17:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/675524#M5398</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;Here is the quick log of when i attach to the point.&amp;nbsp; Site should poll every 3 minutes, update outputs every 2 polls.&amp;nbsp; Site is MB3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Mar 2008 18:01:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/675524#M5398</guid>
      <dc:creator>Mike@DTSI</dc:creator>
      <dc:date>2008-03-20T18:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/675789#M5404</link>
      <description>&lt;DIV&gt;Is it the original diagnostic file? It seems scrambled. &lt;/DIV&gt;
&lt;DIV&gt;For example, &lt;/DIV&gt;
&lt;DIV&gt;19/03/08 14:13:59 - MB3 -&amp;gt;&lt;BR /&gt;[0C][06][03]x[00][01][C9]J&lt;BR /&gt;MB3 - RTS low&lt;BR /&gt;19/03/08 14:14:00 - MB3 &amp;lt;-&lt;BR /&gt;[9F]/h[F9]&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;function code 06 is write single register. As its response, if successful it will be an echo of the request, which means the same data sent back.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;But I only see the scrambled or missing characters everywhere...&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Mar 2008 07:39:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/675789#M5404</guid>
      <dc:creator>Ryan.S</dc:creator>
      <dc:date>2008-03-21T07:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/675989#M5407</link>
      <description>Exactly, and the retries are set at 5, timeout 1200.&amp;nbsp; It just keeps going, doesnt stop.&lt;BR /&gt;&lt;BR /&gt;The communications at this site are not great (radio behind a very large hill), so garbled comms are expected.&amp;nbsp; The driver just goes into a loop.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Mar 2008 16:43:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/675989#M5407</guid>
      <dc:creator>Mike@DTSI</dc:creator>
      <dc:date>2008-03-21T16:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/677029#M5421</link>
      <description>&lt;DIV&gt;I guess you don't check "value in HEX" when configure the serial diagnostic file. That's why we see some single characters in the file. But I notice that almost all the response to [0c] [06] are incorrect, while&amp;nbsp;most of&amp;nbsp;response to [0c] [10] are correct.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Could you give me an example of how you configure the connections? I see there are both function code [06] and [10] sent out, I want to have a&amp;nbsp;look at the process. Just an example is ok.&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Mar 2008 10:14:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/677029#M5421</guid>
      <dc:creator>Ryan.S</dc:creator>
      <dc:date>2008-03-25T10:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/677329#M5425</link>
      <description>Here is the data member config.&amp;nbsp; This is the connections on the driver.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Mar 2008 16:04:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/677329#M5425</guid>
      <dc:creator>Mike@DTSI</dc:creator>
      <dc:date>2008-03-25T16:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/677662#M5431</link>
      <description>&lt;DIV&gt;What does the dignostic file look like on the good modbus object? We can compare them.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;From this dignostic file, after MB3 writes to address [03][3D] by function code [10], it writes to [03][78]. The response seems incorrect, and then it rewrites [03][3D].... it's a loop as you said.&lt;/DIV&gt;
&lt;DIV&gt;[03][78] is 40889, named "CommReset" in the excel file. What does the "CommReset" do? What should happen after 40889 is set 1? &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I guess that if you set the retry attempts to 0, it will not keep updating, right? If so, also make a diagnostic file on "retry attempts"=0.&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Mar 2008 07:28:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/677662#M5431</guid>
      <dc:creator>Ryan.S</dc:creator>
      <dc:date>2008-03-26T07:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/678816#M5442</link>
      <description>The other objects are working fine.&amp;nbsp; CommReset is a constant 1, sent to the plc as a heartbeat type of response.&amp;nbsp; The other sites have the exact same setings and use the CommReset.&amp;nbsp;&amp;nbsp; This site can use the commreset on MB4 just fine, but whenever a value is put on MB3 (0 or 1) it goes into loop.&amp;nbsp;&amp;nbsp; Retries do not effect it.&lt;BR /&gt;&lt;BR /&gt;This exact setup is used on another system, different company of course, but same process and connections.&amp;nbsp; No issues.&amp;nbsp; Only MB3 is effected.&amp;nbsp; It was deleted and rebuilt from a new object and the problem still persists.&amp;nbsp; modbus.ini is not referencing seperate objects, only all of them.&lt;BR /&gt;&lt;BR /&gt;Here is the modbus process,&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Mike&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Mar 2008 14:57:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/678816#M5442</guid>
      <dc:creator>Mike@DTSI</dc:creator>
      <dc:date>2008-03-27T14:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/681056#M5477</link>
      <description>&lt;DIV&gt;Give me an Email address to access you.&lt;/DIV&gt;
&lt;DIV&gt;I will give you something to test.&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Apr 2008 06:05:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/681056#M5477</guid>
      <dc:creator>Ryan.S</dc:creator>
      <dc:date>2008-04-01T06:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Object Bug?</title>
      <link>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/681426#M5480</link>
      <description>mikecrabtree AT destekinc DOT com&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Apr 2008 15:38:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Modbus-Object-Bug/m-p/681426#M5480</guid>
      <dc:creator>Mike@DTSI</dc:creator>
      <dc:date>2008-04-01T15:38:22Z</dc:date>
    </item>
  </channel>
</rss>

