Slow Communication - nModbus RTU to DL05

stilesbss

Member
Join Date
Aug 2014
Location
Bellingham, WA
Posts
9
Hello,

I would like some suggesting to debug slow RTU communication using nModbus. I have tried Google without much success and i thought i would throw this out before the weekend.

I have a C# HMI i wrote that uses nModbus RTU to communicate to a Direct Logic 05-DD plc.

The HMI updates on a timer tick the status of inputs, outputs, the internal coils that i am using, a counter current value, and a timer current value. Each is checked through its own method, one for inputs, one for outputs, etc.

I can't seem to set that timer tick faster than 650ms or it really bogs down the whole form. I checked the scan time of the plc ladder logic and its between 20 and 30ms, but each request to the plc take 300 - 400ms to return.

current setup is using a baud rate of 9600. Increasing the baud rate to 19200 didn't make any difference.

Thank You.
 
I assume the requests are sequenced one at a time? I would normally assume reasonable length requests would be answered within 1or 2 scans.

But I'm not an expert in using the DL system as an RTU server, only as a client with the DL06.
 
Yes. Each request is inside a method and each method is called one at a time.

I also assumed that the request would be answered within a scan or two of the plc receiving it.

This is the C# code i am using to handle the request. the test variable is a stopwatch that i have been using the check the response time.

private void plcUpdateTimer_Tick(object sender, EventArgs e)
{
if (i == 1)
{
test.Reset();
test.Start();
ReadInputCoils();
test.Stop();
}

else if (i == 2)
{
ReadOutputCoils();
}

else if (i == 3)
{
ReadSpecialCoils();
i = 0;
}

i++;
}
 
Last edited:

Similar Topics

Hi, I have some problem with View Point which I'm using to manual control of conveyors. On begin when in network was only PLC and HMI View Point...
Replies
0
Views
73
Hello everyone, I'm working on a project with Elipse E3 V6.0 It is using shared driver to communicate with a PLC (CompactLogix) via Ethernet IP...
Replies
0
Views
862
I have a 5/05 1747-L552C Series C FRN 10+, which has two panel views. The previous techs replaced the once 5/04 and two older style panel views...
Replies
4
Views
1,884
Hi. We are currently experiencing slow loading or response time on our Red Lion G310, at about 5-10 seconds delay once we press a button or even...
Replies
0
Views
1,622
Hello everyone! I have a distributed Rockwell FT application. Currently I use Kepserver as OPC. NO Kepserver has two communication channels, one...
Replies
0
Views
1,394
Back
Top Bottom