<?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 RTU labview communication issue in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3791927#M1069755</link>
    <description>&lt;P&gt;Thanks for your reply&lt;/P&gt;
&lt;P&gt;I've attached a simple vi and the user manual for Modbus protocol there you will see a example for modbus rtu to set a value for SV(set value) in temperature controller, go through it.&lt;/P&gt;
&lt;P&gt;Thanks in advance for your reply&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
    <pubDate>Fri, 11 May 2018 14:45:54 GMT</pubDate>
    <dc:creator>dineshmeena</dc:creator>
    <dc:date>2018-05-11T14:45:54Z</dc:date>
    <item>
      <title>Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3791871#M1069733</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Here i am interfacing TAIE FU 400 temperature control with labview though modbus rtu protocol using RS485, at first i downloaded modpoll application and interfaced using USB to RS485 transreceiver module with temp controller and i able to set the values in a controller but same when i try use with labview which is bit confusing from the beginning itself, can anybody help me go through this?.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance for your reply&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 12:52:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3791871#M1069733</guid>
      <dc:creator>dineshmeena</dc:creator>
      <dc:date>2018-05-11T12:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3791881#M1069737</link>
      <description>&lt;P&gt;Attach your LabVIEW code so we can see what you are trying to do.&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 13:11:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3791881#M1069737</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2018-05-11T13:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3791926#M1069754</link>
      <description>&lt;P&gt;Thanks for your reply&lt;/P&gt;
&lt;P&gt;I've attached a simple vi and the user manual for Modbus protocol there you will see a example for modbus rtu to set a value for SV(set value) in temperature controller, go through it.&lt;/P&gt;
&lt;P&gt;Thanks in advance for your reply&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 14:45:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3791926#M1069754</guid>
      <dc:creator>dineshmeena</dc:creator>
      <dc:date>2018-05-11T14:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3791927#M1069755</link>
      <description>&lt;P&gt;Thanks for your reply&lt;/P&gt;
&lt;P&gt;I've attached a simple vi and the user manual for Modbus protocol there you will see a example for modbus rtu to set a value for SV(set value) in temperature controller, go through it.&lt;/P&gt;
&lt;P&gt;Thanks in advance for your reply&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 14:45:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3791927#M1069755</guid>
      <dc:creator>dineshmeena</dc:creator>
      <dc:date>2018-05-11T14:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3791931#M1069757</link>
      <description>&lt;P&gt;Thanks for your reply&lt;/P&gt;
&lt;P&gt;I've attached a simple vi and the user manual for Modbus protocol there you will see a example for modbus rtu to set a value for SV(set value) in temperature controller, go through it.&lt;/P&gt;
&lt;P&gt;Thanks in advance for your reply&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 14:49:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3791931#M1069757</guid>
      <dc:creator>dineshmeena</dc:creator>
      <dc:date>2018-05-11T14:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3792035#M1069810</link>
      <description>&lt;P&gt;Your VI doesn't have any of the controls saved with values as default to know what slave address, function code, starting address, .... you are trying to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me make a list of comments, and also questions you'll need to answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; Are you sure your baud rate is 9600?&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; Are you sure you have odd parity?&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp; You are using the MB Init subVI.&amp;nbsp; I have never used it because (and I consider this a flaw of that subVI) it assumes that the number of stop bits is 1 and that is hard-coded into the subVI.&amp;nbsp; I've had devices that require stop bits to be 2.&amp;nbsp; MB Init is just a glorified wrapper around the same functions you'd find in a regular VISA Serial Configure.&amp;nbsp; I'd use VISA Serial Configure so you can fully control all of the settings.&lt;/P&gt;
&lt;P&gt;4.&amp;nbsp; Are you using RS-485 or RS-232?&lt;/P&gt;
&lt;P&gt;5.&amp;nbsp; You have flow control set for DTR/DSR.&amp;nbsp; Are you sure the device requires that?&amp;nbsp; The manual you attached doesn't mention anything about DSR/DTR or even flow control at all.&amp;nbsp; Flow control is only associated with RS-232 connections.&amp;nbsp; And the wiring diagram on page 3 for RS-232 doesn't show any flow control wires being used.&lt;/P&gt;
&lt;P&gt;6.&amp;nbsp; Are you using a slave address that matches what is programmed in the device?&amp;nbsp; Slave address of 0 will not work as it is used to broadcast messages to all devices, and those devices are not permitted to respond.&amp;nbsp; Slaves will only react to messages and send responses to Modbus commands that are specifically addressed to its slave address number.&lt;/P&gt;
&lt;P&gt;7.&amp;nbsp; Are you using the correct function code?&amp;nbsp; Your default value of 0 won't work.&amp;nbsp; If you are setting a holding register, you will either need code 06hex for a single register, or 16hex&amp;nbsp; for multiple consecutive registers.&lt;/P&gt;
&lt;P&gt;8.&amp;nbsp; Which register are you trying to set?&lt;/P&gt;
&lt;P&gt;9.&amp;nbsp; Go to &lt;A href="http://www.modbus.org" target="_blank"&gt;www.modbus.org&lt;/A&gt; and read the technical resources there about the Modbus protocol.&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 17:41:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3792035#M1069810</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2018-05-11T17:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3792169#M1069848</link>
      <description>&lt;P&gt;Hi sir,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Thank you so much for your reply,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;First of all, the baud rate(9600) and parity(odd) which i set is correct and i'm sure i was using RS-485 protocol, i don't have any idea about flow control, the slave address which i set here is 1 and the function code i set here is 06, which means i want&amp;nbsp; to write a single register value.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Sat, 12 May 2018 05:41:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3792169#M1069848</guid>
      <dc:creator>dineshmeena</dc:creator>
      <dc:date>2018-05-12T05:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3792171#M1069849</link>
      <description>&lt;P&gt;Hi sir,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you so much for your advice and now i able to set the value, as you've mentioned about the MB init function, that i replaced it with visa serial, now it is working fine.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 May 2018 06:04:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3792171#M1069849</guid>
      <dc:creator>dineshmeena</dc:creator>
      <dc:date>2018-05-12T06:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3792177#M1069852</link>
      <description>&lt;P&gt;Hi sir,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I've attached you a edited vi but it displays timeout error, i cannot justify where exactly the error exists? and to get the response or process value from he controller, should i have to use the same method? with different register address as mentioned in the communication manual, i need some suggestions from you.&lt;/P&gt;
&lt;P&gt;Thank you in advance&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Sat, 12 May 2018 07:56:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3792177#M1069852</guid>
      <dc:creator>dineshmeena</dc:creator>
      <dc:date>2018-05-12T07:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3792214#M1069865</link>
      <description>&lt;P&gt;In your VI, you are writing to a single register, but you don't have any data in your "DATA" array.&amp;nbsp; That array is empty.&amp;nbsp; You need to have an element in there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One more thing.&amp;nbsp; when you use VISA Serial Configure, make sure you wire a False into the Enable Termination Character input.&amp;nbsp; Since you are sending binary values, it is very likely at some point the device will send back a value of 10 decimal (line feed, the default termination character) and that would cause the VISA Reads inside the Modbus VI's to end early with incomplete data.&lt;/P&gt;</description>
      <pubDate>Sat, 12 May 2018 16:00:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3792214#M1069865</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2018-05-12T16:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3796375#M1071324</link>
      <description>&lt;P&gt;Hi Sir,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I have some doubt in pulling out the data from the device and setting the data into the device, the value whatever i set in the controller takes as a floating point data what i mean is, for example if i set the value for 100 means it takes 10.0 and replying me process value(PV) back as a floating point (ex.33.0)in controller and here in the UI as a integer(ex.330).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 06:03:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3796375#M1071324</guid>
      <dc:creator>dineshmeena</dc:creator>
      <dc:date>2018-05-24T06:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3796589#M1071361</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/578955"&gt;@dineshmeena&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Sir,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I have some doubt in pulling out the data from the device and setting the data into the device, the value whatever i set in the controller takes as a floating point data what i mean is, for example if i set the value for 100 means it takes 10.0 and replying me process value(PV) back as a floating point (ex.33.0)in controller and here in the UI as a integer(ex.330).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This isn't actually floating point, this could be called "fixed point" (albeit decimal rather than binary), because the decimal point is always fixed at a specific location in the number.&amp;nbsp;What is your doubt specifically? If you need to convert from a floating-point number in LabVIEW to this format, first multiply it by ten, then convert it to an integer. To do the opposite conversion, first convert the fixed-point integer value to a floating-point, then divide by 10.&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 13:22:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3796589#M1071361</guid>
      <dc:creator>arteitle</dc:creator>
      <dc:date>2018-05-24T13:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Modbus RTU labview communication issue</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3891719#M1104009</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;I have the same problem to connect the TAIE FY400 with RS 485. So, can you send me your VI file?&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 20:08:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Modbus-RTU-labview-communication-issue/m-p/3891719#M1104009</guid>
      <dc:creator>Gunmun</dc:creator>
      <dc:date>2019-02-09T20:08:35Z</dc:date>
    </item>
  </channel>
</rss>

