<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>maan2k's Feed - Programmer's Heaven</title>
    <link>http://www.programmersheaven.com/feed/User/451773/RSS.aspx</link>
    <description>Events at Programmer's Heaven related to the user maan2k.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Mon, 20 May 2013 09:36:14 -0700</pubDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <item>
      <title>Modbus RTU Master Help Needed ...</title>
      <link />
      <description>&lt;p&gt;Posted a 'new message on the Visual Basic forum.&lt;/p&gt;Hi there ....&lt;br /&gt;
&lt;br /&gt;
I am new in VB(2008 Express) and I want to develop Modbus RTU Master program ..&lt;br /&gt;
&lt;br /&gt;
I am expert in Modbus communication and I have designed the Modbus pre-programmed remote controls ,, Now I want to interface some Modbus RTU slave devices to my own developed application ... and looking for kind guidance ..&lt;br /&gt;
&lt;br /&gt;
I am much familiar with the Modbus RTU syntax and I've tried following to initiate the the master query but I am getting initial 3 bytes ok ,, rest of them are changing the values on COM port so slave is not responding to my command ..&lt;br /&gt;
&lt;br /&gt;
******************************&lt;br /&gt;
    Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click&lt;br /&gt;
&lt;br /&gt;
        Dim BYTE1 As Byte = 1&lt;br /&gt;
        Dim BYTE2 As Byte = 6&lt;br /&gt;
        Dim BYTE3 As Byte = 95&lt;br /&gt;
        Dim BYTE4 As Byte = 201&lt;br /&gt;
        Dim BYTE5 As Byte = 254&lt;br /&gt;
        Dim BYTE6 As Byte = 1&lt;br /&gt;
        Dim BYTE7 As Byte = 202&lt;br /&gt;
        Dim BYTE8 As Byte = 64&lt;br /&gt;
&lt;br /&gt;
        SerialPort1.Write(Chr(BYTE1) &amp;amp; Chr(BYTE2) &amp;amp; Chr(BYTE3) &amp;amp; Chr(BYTE4) &amp;amp; Chr(BYTE5) &amp;amp; Chr(BYTE6) &amp;amp; Chr(BYTE7) &amp;amp; Chr(BYTE8))&lt;br /&gt;
&lt;br /&gt;
    End Sub&lt;br /&gt;
******************************&lt;br /&gt;
Thanks in advance for the guidance and help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maan&lt;br /&gt;</description>
      <pubDate>Sun, 11 Jul 2010 07:40:50 -0700</pubDate>
    </item>
  </channel>
</rss>