<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        Thanks Henrik!&lt;br&gt;&lt;br&gt;Wolfgang, if you update RR the new COM objects will require a second parameter as the port number in the Connect function. This was one of the reasons the Connect was failing as I assumed the port was also specified. After checking into this, it seems that while we updated the API dll we didn&apos;t update the dll distributed with the RoboRealm download which caused my confusion.&lt;br&gt;&lt;br&gt;At any rate, if you update and you get a similar error to what you&apos;ve seen before, just change&lt;br&gt;&lt;br&gt;If Not rr.connect(&quot;localhost&quot;) Then &lt;br&gt;&lt;br&gt;to &lt;br&gt;&lt;br&gt;If Not rr.connect(&quot;localhost&quot;,6060) Then &lt;br&gt;&lt;br&gt;and that should solve that problem.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Thanks a lot!&lt;br&gt;It worked immediately.&lt;br&gt;&lt;br&gt;Greetings&lt;br&gt;Wolfgang        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi,&lt;br&gt;OK, then I hope this will get you going and serve as a startingpoint.&lt;br&gt;It sets up the connection with RR and gets the dimensions of the displayed image.&lt;br&gt;&lt;br&gt;[i]&lt;br&gt;Option Explicit&lt;br&gt;&lt;br&gt;Dim ImgWidth As Integer&lt;br&gt;Dim ImgHeight As Integer&lt;br&gt;&lt;br&gt;Set rr = CreateObject(&quot;Roborealm.API.1&quot;)&lt;br&gt;&lt;br&gt;rr.open&quot;C:\\Program Files (x86)\\Roborealm\\Roborealm.exe&quot;, 6060&lt;br&gt;&lt;br&gt;If Not rr.connect(&quot;localhost&quot;) Then&lt;br&gt;&amp;nbsp;&amp;nbsp;MsgBox(&quot;Could not connect to RoboRealm Server&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;rr.Close&lt;br&gt;&amp;nbsp;&amp;nbsp;End&lt;br&gt;Else&lt;br&gt;&amp;nbsp;&amp;nbsp;MsgBox(&quot;Connected&quot;)&lt;br&gt;End If&lt;br&gt;&lt;br&gt;&apos; Get the dimenstion of the image and display in message box&lt;br&gt;rr.GetDimension ImgWidth, ImgHeight&lt;br&gt;MsgBox(&quot;Image size: &quot; &amp; ImgWidth &amp; &quot; X &quot; &amp; ImgHeight)&lt;br&gt;&lt;br&gt;&apos; Disconnect from RR&lt;br&gt;rr.Disconnect&lt;br&gt;[/i]&lt;br&gt;&lt;br&gt;I just verified the above to work fine using Mach3 3.043.066 and Roborealm 2.57.5.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi,&lt;br&gt;&lt;br&gt;that was the first thing I tried, but I got nothing besides of syntax errors.&lt;br&gt;But my programming skills are not good enough to really understand&amp;nbsp;&amp;nbsp;what&amp;nbsp;&amp;nbsp;the script is doing and where the error could be.&lt;br&gt;The&amp;nbsp;&amp;nbsp;code would be really helpful to me, so it would be great if you&amp;nbsp;&amp;nbsp;find time to post it.&lt;br&gt;Thanks for your posting, I was already thinking there is no solution.&lt;br&gt;Wolfgang&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi,&lt;br&gt;I&apos;ve got RR talking to Mach3 using the API, both running on the same machine.&lt;br&gt;&lt;br&gt;It&apos;s been a while since I worked on it so I can&apos;t remember the details but it was pretty straight forward. I started with the VB script example included in the API download and just went from there.&lt;br&gt;&lt;br&gt;I don&apos;t have access to my code or notes at the moment but let me know if you can&apos;t get it working and I&apos;ll dig it out as soon as I get back.&lt;br&gt;&lt;br&gt;/Henrik.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Oh, well, you&apos;ll have to check with Mach3 or someone what knows that system well enough to get those statements to work. We can look into it too but since this is an application we&apos;ve not worked with you&apos;d be better off asking an expert on their site.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Sorry, but it still doesn`t work.&lt;br&gt;I got now ---Wrong number of arguments or invalid property assignment---in that line.&lt;br&gt;Greetings&lt;br&gt;Wolfgang&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Perhaps try that line without &apos;(&apos; and &apos;)&apos; as in&lt;br&gt;&lt;br&gt;rr.Connect &quot;localhost&quot;, 6060&lt;br&gt;&lt;br&gt;since VB doesn&apos;t normally like parens when its a subroutine.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Steven,&lt;br&gt;sorry to bother you again!&lt;br&gt;But the error is in the line -- rr.Connect(&quot;localhost&quot;, 6060)&lt;br&gt;Mach3 counts the empty lines too.&lt;br&gt;&lt;br&gt;Greetings&lt;br&gt;Wolfgang&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Line 3 would just be printing out the value ... I&apos;m not sure what you wanted to do with the value so that would be up to you to decide. The MsgBox function in theory would just show you the value via a popup. You can just ignore that since you probably want to do something different with the value anyhow. From here on, it appears you have a connection to RR but need to deal with how the values are used in Mach3 in order to get what you want.&lt;br&gt;&lt;br&gt;We can help further by downloading Mach3 but since that&apos;s an application we don&apos;t support you&apos;d have to contract with us (or someone else) to do the work. You can use the contact us form to send us a message that we can reply back to via email to work out those details.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hello Steven,&lt;br&gt;I tried it out, of course with the API in RR enabled, but I get an error in line 3 wrong parameter.&lt;br&gt;A full functional version of Mach3 ( just the kernel speed and the number of G codes lines are limited) you can download for free under&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.machsupport.com/software/downloads-updates/&quot; target=&quot;_blank&quot;&gt;http://www.machsupport.com/&lt;wbr&gt;software/&lt;wbr&gt;downloads-&lt;wbr&gt;updates/&lt;wbr&gt;&lt;/a&gt;&lt;br&gt;Under operator there is the VB script editor.&lt;br&gt;Thanks&lt;br&gt;Wolfgang&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Mach3 seems to have a comprehensive scripting support so it should be possible to create such a communication. I would refocus back on the dll to see if you can get that to work. Note, the syntax they have would imply that &lt;br&gt;&lt;br&gt;set rr=CreateObject(&quot;RoboRealm.API.1&quot;)&lt;br&gt;&lt;br&gt;rr.Connect(&quot;localhost&quot;, 6060)&lt;br&gt;&lt;br&gt;MsgBox rr.GetVariable(&quot;IMAGE_COUNT&quot;)&lt;br&gt;&lt;br&gt;*should* work ... but I&apos;m only guessing since I don&apos;t have Mach3 to test.&lt;br&gt;&lt;br&gt;Be SURE to enable to the API in RR as it is off by default and would not be listening to port 6060.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hello Steven,&lt;br&gt;&lt;br&gt;after I installed telnet I got RR communicating with the windows console.&lt;br&gt;Then I downloaded the RR API and copied and pasted the VB script into the script editor inside Mach3, and changed the path to C:\\Program Files (x86)\\RoboRealm\\RR_COM_API.dll&lt;br&gt; what is the path in my system. The script did not work.&lt;br&gt;Here is a link to a PDF with all the VB commands inside of Mach3. &lt;a href=&quot;http://www.machsupport.com/wp-content/uploads/2013/02/VBScript_Commands.pdf&quot; target=&quot;_blank&quot;&gt;http://www.machsupport.com/&lt;wbr&gt;wp-&lt;wbr&gt;content/&lt;wbr&gt;uploads/&lt;wbr&gt;2013/&lt;wbr&gt;02/&lt;wbr&gt;VBScript_&lt;wbr&gt;Commands.pdf&lt;/a&gt;&lt;br&gt;&lt;br&gt;Wolfgang&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Wolfgang,&lt;br&gt;&lt;br&gt;In order to get the variables from RoboRealm you&apos;d need to open up a socket connection from within Mach3 and send a &amp;lt;request&amp;gt;&amp;lt;get_variable&amp;gt;var_name&amp;lt;/get_variable&amp;gt;&amp;lt;/request&amp;gt; to RR. If you read more at &lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.roborealm.com/help/API.php&quot; target=&quot;_blank&quot;&gt;http://www.roborealm.com/&lt;wbr&gt;help/&lt;wbr&gt;API.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;or check the forums you can find this done with many other systems.&lt;br&gt;&lt;br&gt;The issue is how rich the language that Mach3 provides and if it is even possible to open a socket connection from within their environment. I would expect that this is not possible ... but I don&apos;t know the Mach3 environment at all.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hello,&lt;br&gt;thanks for your reply.&lt;br&gt;Inside the software of Mach3 I can run a VB script, but I don`t know how to get the variables from Roborealm&amp;nbsp;&amp;nbsp;inside the script.&lt;br&gt;It is also possible to get data from a modbus device, but I think that Mach3 suspects the data not coming&amp;nbsp;&amp;nbsp;from the same computer, and I couldn`t establish any communication.&lt;br&gt;&lt;br&gt;regards&lt;br&gt;Wolfgang&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        We don&apos;t have a &apos;ready to go module&apos; for exactly that software (first we are encountering it ... sorry, no CNC guys here!).&lt;br&gt;&lt;br&gt;Do you know what Mach3 has for integration with other applications? I.e. does it have a protocol or standard solution for receiving signals from an external application? I figured that you probably know that applications capabilities better than we do. Perhaps if you can steer us in the right direction we can better suggest how it may be possible.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Mach3</title>
        <description>
        Hi,&lt;br&gt;I am trying to get Roborealm&amp;nbsp;&amp;nbsp;to communicate to Mach3&amp;nbsp;&amp;nbsp;running on the same computer(passing x/y-coordinates).I tried around with VB and with modbus&amp;nbsp;&amp;nbsp;without&amp;nbsp;&amp;nbsp;success. But my programming skills are very basic.&lt;br&gt;Does anyone&amp;nbsp;&amp;nbsp;have a solution?&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5375</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5375</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
