Internet PLC Forum

General => Technical support => Topic started by: Tim C on August 29, 2004, 05:38:53 PM

Title: Fastest possible Communication's
Post by: Tim C on August 29, 2004, 05:38:53 PM
I am only receiving a responce to the Comands sent out, about every 20 ms at 38400 with a direct serial connection , my code is only sending one command at a time. because it needs to know what command was sent, so it will know where to put the responce data. I get about  8% CPU usage, and that is pretty good so i dont want to mess that up. With this senerio i can only expect to update 50 tags a second. Can anyone Tell me a Better way to do this, or is this as good as I'm going to get. Im using Visual Basic with the MScom control and the
highest baud setting that is common to both the T100MD
and the MScom is 38400. Thanks for any suggestions
 
Title: Re:Fastest possible Communication's
Post by: support on August 30, 2004, 01:17:04 AM
You can use the SETSYSTEM 3,0 to turn off delay introduced by the CPU when responding to serial command. That will speed up response to command from VBASIC.

Note that this command should not be used if you need to communicate with the PLC using Auto485 via COMM3 port as there is no turn around delay for the auto-turnaround feature to work properly.
Title: Re:Fastest possible Communication's
Post by: Tim C on September 02, 2004, 10:00:04 AM
Thanks, I'll try that.