<?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 Labview Program in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3790553#M1069245</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Finally I got rid of the error. As you say arteitle, there was a communication problem in the controllers. I fixed it. In the manual, there was two different combination style. I did first one but the correct one was the second so I changed it to 2 then it worked. Now both trials of VI's are working! So there was no problem in those VI's. Thanks for everything. I am appreciated. I will read links that you sent surely. For now,lastly, I have little problem. I want to show them in the same waveform chart as an extra. In the snippet, how I did is shown.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="erer.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/3c727d884859bfd18a328c27385fd0d0484dd26b/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32323737343469353645363942383937373339344430422f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="erer.png" alt="erer.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried many cases, I bundled them, convert them but all of them didn't work.&lt;/P&gt;
&lt;P&gt;How can I overcome that problem?&lt;/P&gt;
&lt;P&gt;Sincerely.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 May 2018 16:22:53 GMT</pubDate>
    <dc:creator>happinesss</dc:creator>
    <dc:date>2018-05-08T16:22:53Z</dc:date>
    <item>
      <title>Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787371#M1068106</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi everyone, I have some Modbus Labview program&amp;nbsp; that controls the heat flow and temperature and I couldn't understand the working principle of that VI. I searched a lot. I look at&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://forums.ni.com/t5/LabVIEW/Modbus-Holding-register-address-format/m-p/3684075" target="_self"&gt;modbus holding register address format&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/Modbus#Format_of_data_of_requests_and_responses_for_main_function_codes" target="_self"&gt;Modbus wiki&lt;/A&gt;,&lt;A href="https://www.csimn.com/CSI_pages/Modbus101.html" target="_self"&gt;MOdbus&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and etc but I couldn't solve the system. I put the snippet below. Can anybody explain what is the 5,9,11,17 and in the case structure 1,2,3 and 4 stand for? And in create serial master vi, there is parity and flow control part. The 'time left' and 'program' should be indicator but in here it is control.&amp;nbsp;The RS 485 adapter is used. I couldn't understand all of them with respect to the internet pages that I searched. Can anybody give me a detailed explanation?&amp;nbsp; What do we expect? Thanks in advance.&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Modbus" style="width: 796px;"&gt;&lt;img src="https://ip1.i.lithium.com/67380be6503b04b0e67d1611204f68ddaa8520da/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32323733333069343442373031463030364446434233372f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="modbussnippet.png" alt="Modbus" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Modbus&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 10:55:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787371#M1068106</guid>
      <dc:creator>happinesss</dc:creator>
      <dc:date>2018-04-30T10:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787395#M1068115</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lets break down step by step.&lt;/P&gt;
&lt;P&gt;1) Intialise the Connection using COM3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;&lt;U&gt;Inside the while loop:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp;Read Holding Registers.vi : This subvi is used to read the register information, Well there are 4 Inputs [(connection ref and error ), (Starting Address and Number of registers to read)]. In your program the starting address is '5' and No. of registers to read is '1'. &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;This register mapping should be clearly stated in Manufacturers protocol manual&lt;/STRONG&gt;&lt;/FONT&gt;. This register address 5 indicates some variable (eg: Voltage, current, power.....).&lt;/P&gt;
&lt;P&gt;3)&amp;nbsp;Write Single Coil.vi : Its a bool Input meaning you are switching something wrt Register address '9'.&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt; [This register mapping should be clearly stated in Manufacturers protocol manual.]&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;4) After this again you reading Holding registers 17 and 11 with same no of inputs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Inside the Case Structure:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;5) Here you are writting single Holding register : address is 11 and you are writting 2 registers. The "Numeric" gives input to the case structure. 1,2,3,4 stands for some function inside the case structure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Note&lt;/FONT&gt; : This is not the effecient way to program. Try to learn some basics and look at some examples. Please read the modbus information here &lt;A href="http://www.simplymodbus.ca/FAQ.htm" target="_self"&gt;http://www.simplymodbus.ca/FAQ.htm&lt;/A&gt;, it simple and gives you a clear picture.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need any help. Send me the details i can help you.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 12:03:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787395#M1068115</guid>
      <dc:creator>jay0909</dc:creator>
      <dc:date>2018-04-30T12:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787531#M1068148</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://forums.ni.com/t5/user/viewprofilepage/user-id/276277" target="_self"&gt;jay0909&lt;/A&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Thanks for replying. I see. Thanks for the link. I will search for that. One more thing. What is the parity(odd/even) and flow control (XON/XOFF etc.) in create serial master vi. ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Sincerely.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 16:18:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787531#M1068148</guid>
      <dc:creator>happinesss</dc:creator>
      <dc:date>2018-04-30T16:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787556#M1068156</link>
      <description>&lt;P&gt;Flow control is probably none.&amp;nbsp; But that and parity would be whatever your device says it needs to be in the manual.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 17:17:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787556#M1068156</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2018-04-30T17:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787703#M1068188</link>
      <description>&lt;P&gt;Alright then. I will see what happens. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 22:34:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787703#M1068188</guid>
      <dc:creator>happinesss</dc:creator>
      <dc:date>2018-04-30T22:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787747#M1068201</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;
&lt;P&gt;I tried the program but it gives '&lt;STRONG&gt;Error 56 occured at RTU Data Unit.lvclass:Read ADU Packet.vi:1,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Possible Reason: The network operation exceeded the user-specified or system time limit.' &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I found some cases&amp;nbsp;about Error 56&amp;nbsp;at discussion forum of NI, I tried some of them but they didn't give a solution. I changed the type of flow control but again each case it took the same error. I looked those pages;&amp;nbsp;&lt;A href="https://forums.ni.com/t5/LabVIEW/Error-56-when-using-TCP-read/td-p/3670052" target="_self"&gt;Error 56 when using TCP read&lt;/A&gt;,&amp;nbsp;&lt;A href="https://forums.ni.com/t5/NI-Labs-Discussions/NI-LabVIEW-Modbus-API-Discussion/td-p/3373078/page/12" target="_self"&gt;Error 56&lt;/A&gt;,&amp;nbsp;&lt;A href="https://www.ni.com/en/support/documentation/supplemental/06/basic-tcp-ip-communication-in-labview.html" target="_self"&gt;NI forum Error 56&lt;/A&gt;&amp;nbsp;and &lt;A href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Lz2SAE" target="_self"&gt;knowledge error 56&lt;/A&gt;&amp;nbsp;but I couldn't solve the problem. How can I solve it?&lt;/P&gt;
&lt;P&gt;Sincerely.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2026 21:11:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787747#M1068201</guid>
      <dc:creator>happinesss</dc:creator>
      <dc:date>2026-01-06T21:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787757#M1068204</link>
      <description>&lt;P&gt;By the way, I am not communicate with the network. I am using serial connection. The problem is,&amp;nbsp; I think, with the serial communication, not network but the error comes from there. I have&amp;nbsp;signal converter and using com3. I checked from the device manager from the computer and it says this device working properly. I don't understand. Everything okey but there is an Error 56.&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 08:03:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787757#M1068204</guid>
      <dc:creator>happinesss</dc:creator>
      <dc:date>2018-05-01T08:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787792#M1068210</link>
      <description>&lt;P&gt;Hi again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I can successfully handled with it. I solved the problem. Here this program is for only one slave, but I have 4 slave. I want to see data on each slave and put it into a waveform chart which each of them&amp;nbsp; comes from different addresses. I put the snippet below which includes the only part of the vi. Only reading the coming datas seperately. How can I find the each addresses/channels?&lt;/P&gt;
&lt;P&gt;Sincerely.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diff adress.png" style="width: 568px;"&gt;&lt;img src="https://ip1.i.lithium.com/38d257086bcfefd5433465229211921ca57b245f/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32323733393669323542324434384446453639443844462f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="diff adress.png" alt="diff adress.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 11:18:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787792#M1068210</guid>
      <dc:creator>happinesss</dc:creator>
      <dc:date>2018-05-01T11:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787892#M1068232</link>
      <description>&lt;P&gt;When you have 4 slaves, you'll have to do 4 different Modbus Reads, one with each of the slave ID's assigned to it.&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 15:30:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3787892#M1068232</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2018-05-01T15:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3788178#M1068329</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Did you go through the protocol? Each slave has unique ID so try to communicate one by one first and then try 4 slaves. If you provide me more details i can give you my library which communicates with multiple slaves.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 07:05:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3788178#M1068329</guid>
      <dc:creator>jay0909</dc:creator>
      <dc:date>2018-05-02T07:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3788329#M1068370</link>
      <description>&lt;P&gt;Hi, thanks for replies. I have 4 furnace and 1 USB/RS 485 signal converter adapter. I need to read just the data from those furnaces. Here the internet page&amp;nbsp;&amp;nbsp;&lt;A href="http://www.ordel.com.tr/en/urun/oc940" target="_self"&gt;control device of furnace&lt;/A&gt;&amp;nbsp;and the&amp;nbsp;&lt;A href="http://www.ordel.com.tr/wp-content/uploads/2018/03/OC490-940-Kullan%C4%B1m-K%C4%B1lavuzu-en.pdf" target="_self"&gt;manual&lt;/A&gt;&amp;nbsp;. I will use four of them and need to communicate each of them separately with labview version of modbus which is exactly I showed above. Here the internet page of the&amp;nbsp;&lt;A href="http://www.ordel.com.tr/en/urun/sba200" target="_self"&gt;signal converter&lt;/A&gt;&amp;nbsp;that I used.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 12:49:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3788329#M1068370</guid>
      <dc:creator>happinesss</dc:creator>
      <dc:date>2018-05-02T12:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3788388#M1068391</link>
      <description>&lt;P&gt;You need to assign each of your controllers its own address by setting parameter 42 ("Addr", see page 18 of the manual) to a different value for each controller. Then&amp;nbsp;use four Modbus read functions, one for each of the addresses you assigned. You can't perform the four reads in parallel since they all use the same RS-485 interface, so serialize them by stringing their error in/out lines together in a series. If you need more specific help than this, ask specific questions.&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 14:07:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3788388#M1068391</guid>
      <dc:creator>arteitle</dc:creator>
      <dc:date>2018-05-02T14:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3788746#M1068514</link>
      <description>&lt;P&gt;Hi Arteitle,&lt;/P&gt;
&lt;P&gt;Thanks for replying. You mean like that?&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="dsdsda.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/f5ee5edf8a19a4c35149b1065a1ba6f04ce206fa/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32323735313769334535374546444145353944433942452f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="dsdsda.png" alt="dsdsda.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Here I set the starting addresses as 1,2,3 and 4. I put those addresses to the Modbus read function as starting addresses. I think this is insufficient way?&lt;/P&gt;
&lt;P&gt;Sincerely.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 07:16:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3788746#M1068514</guid>
      <dc:creator>happinesss</dc:creator>
      <dc:date>2018-05-03T07:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3788840#M1068563</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Can you send the whole settings mentioned on page 18 of the protocol pdf. There's a difference between starting address and slave adress.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From your previous reply:&lt;/P&gt;
&lt;P&gt;Starting address: 5,7,11&lt;/P&gt;
&lt;P&gt;Slave address: 1,2,3,4&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 10:40:20 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3788840#M1068563</guid>
      <dc:creator>jay0909</dc:creator>
      <dc:date>2018-05-03T10:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3788943#M1068604</link>
      <description>&lt;P&gt;As jay pointed out, the device address (more properly called the 'Unit ID") is different from the starting address (the location in the device's memory from which you want to read). The Unit ID is stored in the blue "serial master instance" wire that's wired to each of your Modbus Read functions, while the starting address is the integer that's wired to each Read. (Note, just like how you wired the error lines of the reads together in series, you should also wire the &lt;SPAN&gt;serial master instance&lt;/SPAN&gt; lines between the reads in series too.) Your "New Serial Master" function has an ID of 1 wired to it, so all your subsequent reads and writes that use the &lt;SPAN&gt;serial master instance&lt;/SPAN&gt; from it will talk to unit ID 1. If you want to also send queries to units 2, 3, and 4, you either need to create three more New Serial Masters with those IDs and then keep the four &lt;SPAN&gt;serial master instance&lt;/SPAN&gt; wires from them separate, or perhaps easier, you can just create one Modbus Master as you have, but use the "Set Unit ID" function to change it before trying to talk to each device. You can work out how to use a For loop that repeats four times to read the same set of addresses from all four Unit IDs.&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 14:55:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3788943#M1068604</guid>
      <dc:creator>arteitle</dc:creator>
      <dc:date>2018-05-03T14:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3789078#M1068657</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/586383"&gt;@happinesss&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Arteitle,&lt;/P&gt;
&lt;P&gt;Thanks for replying. You mean like that?&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="dsdsda.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/f5ee5edf8a19a4c35149b1065a1ba6f04ce206fa/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32323735313769334535374546444145353944433942452f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="dsdsda.png" alt="dsdsda.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Here I set the starting addresses as 1,2,3 and 4. I put those addresses to the Modbus read function as starting addresses. I think this is insufficient way?&lt;/P&gt;
&lt;P&gt;Sincerely.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No NO NO NO!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like the attachment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Don't forget to close the masters when done.&amp;nbsp; Also, you need labels for your block diagram terminals like I show.&amp;nbsp; You can hide the labels on the front panel if you want, but the BD should always have labels so the programmer knows what the purpose of the terminal is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And don't use shift registers on the error wire.&amp;nbsp; Not unless you do something to handle errors.&amp;nbsp; Otherwise one random timeout error will cause your code to stop working until you stop and restart the VI.&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 19:44:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3789078#M1068657</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2018-05-03T19:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3789180#M1068687</link>
      <description>&lt;P&gt;Hi jay0909,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reply.&amp;nbsp;&lt;A href="http://www.ordel.com.tr/wp-content/uploads/2018/03/OC490-940-Kullan%C4%B1m-K%C4%B1lavuzu-en.pdf" target="_self"&gt;Here&lt;/A&gt;&amp;nbsp;is the settings manuel. Yes, you are right. I saw your point and understand my wrong way. There is difference in starting address and Unit ID's which are slave ID's which I totally did it in a wrong way. As Arteitle's answer, I have easily seen my error. Again thanks. I will be more careful next time I hope &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 03:13:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3789180#M1068687</guid>
      <dc:creator>happinesss</dc:creator>
      <dc:date>2018-05-04T03:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3789183#M1068688</link>
      <description>&lt;P&gt;Hi Arteitle,&lt;/P&gt;
&lt;P&gt;Thanks for reply. I understood what you say. Create 4 different Slave ID's, not put them in a starting address. I understood wron at first time, I thought you mean from address is that one but they are totally wrong. I have to create different IDs to communucate each slave and their whole starting address' are same. So, I can use for loop for 4 IDs or using Set Unit ID.&amp;nbsp;Again, thanks a lot.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 03:27:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3789183#M1068688</guid>
      <dc:creator>happinesss</dc:creator>
      <dc:date>2018-05-04T03:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3789185#M1068690</link>
      <description>&lt;P&gt;Hi RavensFan,&lt;/P&gt;
&lt;P&gt;Thanks for reply. Sorry for weak explanations. I hope I will be more careful about the labels next time.&amp;nbsp; I get your point about error. When I said insufficient, that program didn't work as expected. I can use 4 for loops as you did or I can use set unit ID in a loop as well. I understand and did the whole thing in a your way. So I think, I understand correctly. Again thanks for your efforts.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 03:37:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3789185#M1068690</guid>
      <dc:creator>happinesss</dc:creator>
      <dc:date>2018-05-04T03:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus Labview Program</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3789237#M1068717</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Can you provide me the naming convention for the registers 5,9,11,17. Because in your first post i see 9 is a coil. So can please explain what are you trying to read and write.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 07:39:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-Labview-Program/m-p/3789237#M1068717</guid>
      <dc:creator>jay0909</dc:creator>
      <dc:date>2018-05-04T07:39:49Z</dc:date>
    </item>
  </channel>
</rss>

