<?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, I&apos;ll play around with that. It&apos;s a good starting point,. FYI I am intending to increment a counter until a preset is met, so &lt;br&gt;I will add &quot;+1&quot; to the variables I suspect...&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=6107</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=6107</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Untested and unsure if this is what you need but this might get you a bit further. Just add a VBScript module, stick the following into the text box and press run. Keep in mind that you need to load and save EACH variable as local variables in the VBScript module are always zero on return into the module.&lt;br&gt;&lt;br&gt;&apos;---------&lt;br&gt;&lt;br&gt;if GetVariable(&quot;Prod_Sens&quot;) = 0 then&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;Reset_Enc_Pulses&quot;, GetVariable(&quot;Enc_Pulses&quot;)&lt;br&gt;end if&lt;br&gt;&lt;br&gt;SetVariable &quot;Enc_Cntr&quot;, GetVariable(&quot;Enc_Pulses&quot;) - GetVariable(&quot;Reset_Enc_Pulses&quot;)&lt;br&gt;&lt;br&gt;&apos;---------&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=6107</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=6107</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>VB Script Module</title>
        <description>
        We are adding an encoder to our Advantech digital module input.&lt;br&gt;&lt;br&gt;We are trying to have a Variable &quot;Enc_Pulses&quot; tied to our encoder in and increment a counter &quot;Enc_Cntr&quot; while another digital input &quot;Prod_Sens&quot; is turned on via a sensor.&lt;br&gt;&lt;br&gt;When the Input &quot;Prod_Sens&quot; Input goes low we want the counter to clear&lt;br&gt;&lt;br&gt;I know this needs to be a VB Script program but we are struggling with it. If its a couple lines of code withing the module, we would appreciate the help.&lt;br&gt;&lt;br&gt;Thanks in advance        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=6107</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=6107</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
