<?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 Read/Write a bit in a Modbus Address in Lookout</title>
    <link>https://ni.lithium.com/t5/Lookout/Read-Write-a-bit-in-a-Modbus-Address/m-p/37814#M702</link>
    <description>Greetings,&lt;BR /&gt;I'm working on a project for a customer of mine.  I'm working off of his I/O mapping list.  We are using MODBUS to communicate to a Motorola MOSCAD FIU.  According to the I/O Map, I need to read a bit from address    307682:01    which normal I would translate into   307682.1  but Lookout is not excepting this address as a valid Data Member.  So I did some troubleshooting of my own and found that Modbus Data member  (307682) is only used as "a 6-digit addresses of 16 bit input registers encoded as unsigned binary integers ranging from 0 - 65535."  I guess an analog value.&lt;BR /&gt;&lt;BR /&gt;Is my thought process correct on this?  Does my customer need to change his I/O mapping.  Am I overlooking something?&lt;BR /&gt;&lt;BR /&gt;Attached is a copy of the I/&lt;BR /&gt;O map.  &lt;BR /&gt;Oliver Scheurer&lt;BR /&gt;Aegis Solutions, Inc.&lt;BR /&gt;2660-T Yonkers Road&lt;BR /&gt;Raleigh, NC 27604&lt;BR /&gt;Phone: (919) 861-0103 Ext. 231&lt;BR /&gt;Fax: (919) 861-0104&lt;BR /&gt;www.aegis-solutions.com &lt;BR /&gt;</description>
    <pubDate>Fri, 15 Mar 2002 16:02:40 GMT</pubDate>
    <dc:creator>Ollie</dc:creator>
    <dc:date>2002-03-15T16:02:40Z</dc:date>
    <item>
      <title>Read/Write a bit in a Modbus Address</title>
      <link>https://ni.lithium.com/t5/Lookout/Read-Write-a-bit-in-a-Modbus-Address/m-p/37814#M702</link>
      <description>Greetings,&lt;BR /&gt;I'm working on a project for a customer of mine.  I'm working off of his I/O mapping list.  We are using MODBUS to communicate to a Motorola MOSCAD FIU.  According to the I/O Map, I need to read a bit from address    307682:01    which normal I would translate into   307682.1  but Lookout is not excepting this address as a valid Data Member.  So I did some troubleshooting of my own and found that Modbus Data member  (307682) is only used as "a 6-digit addresses of 16 bit input registers encoded as unsigned binary integers ranging from 0 - 65535."  I guess an analog value.&lt;BR /&gt;&lt;BR /&gt;Is my thought process correct on this?  Does my customer need to change his I/O mapping.  Am I overlooking something?&lt;BR /&gt;&lt;BR /&gt;Attached is a copy of the I/&lt;BR /&gt;O map.  &lt;BR /&gt;Oliver Scheurer&lt;BR /&gt;Aegis Solutions, Inc.&lt;BR /&gt;2660-T Yonkers Road&lt;BR /&gt;Raleigh, NC 27604&lt;BR /&gt;Phone: (919) 861-0103 Ext. 231&lt;BR /&gt;Fax: (919) 861-0104&lt;BR /&gt;www.aegis-solutions.com &lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 16:02:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Read-Write-a-bit-in-a-Modbus-Address/m-p/37814#M702</guid>
      <dc:creator>Ollie</dc:creator>
      <dc:date>2002-03-15T16:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Read/Write a bit in a Modbus Address</title>
      <link>https://ni.lithium.com/t5/Lookout/Read-Write-a-bit-in-a-Modbus-Address/m-p/37815#M703</link>
      <description>WOW!!.. I get to answer my own question. You all are slow...   J/K...&lt;BR /&gt;&lt;BR /&gt;Anyway, the fine people at NI Tech Support Helped me out with this one.  Seems that it is a problem related to Lookout and Modbus.  After discussing this problem with a few engineers, I decided to call the customer and let him know of his mistake.  Well, he proceeded to tell me that "Wonderware can do it with out a problem".  So I called NI Support again, and they told me that further research showed that it is something that was not put into Lookout.  The Support engineer started a "CARD?".  But he also gave me a work around.&lt;BR /&gt;&lt;BR /&gt;1. create an expression&lt;BR /&gt;2, enter  getbit(3,1)&lt;BR /&gt;&lt;BR /&gt;This expression will return a ON status since the number 3 in binary is  1 1 and looking at the first bit is 1.&lt;BR /&gt;&lt;BR /&gt;So for my&lt;BR /&gt; application I would use&lt;BR /&gt;getbit(modbus1.307682,1)&lt;BR /&gt;&lt;BR /&gt;I hope this makes sense.&lt;BR /&gt;&lt;BR /&gt;Oliver Scheurer&lt;BR /&gt;Aegis Solutions, Inc.&lt;BR /&gt;2660-T Yonkers Road&lt;BR /&gt;Raleigh, NC 27604&lt;BR /&gt;Phone: (919) 861-0103 Ext. 231&lt;BR /&gt;Fax: (919) 861-0104&lt;BR /&gt;www.aegis-solutions.com &lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 21:37:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Lookout/Read-Write-a-bit-in-a-Modbus-Address/m-p/37815#M703</guid>
      <dc:creator>Ollie</dc:creator>
      <dc:date>2002-03-15T21:37:42Z</dc:date>
    </item>
  </channel>
</rss>

