VB Mscomm with SLC/Micrologix

J

Thread Starter

Jetean

<p>I try to write protocol using Mscomm with VB connecting to Micrologix. Using a timer to read from Micrologix with protected Read (N7:00 to N7:20). It runs fine. But when I write a value to any one of the Integer (say N7:01 with value 1), the value I read back is OK, but always halted for a moment then back to normal.

<p>Example:
<pre>
If writevalue = 0 then

performed Protected Read Function

else

Performed Protected Write Function

end if
</pre>

<p>Am I correct to do this?

<p>Thanks,

<p>Jet
 
Top