PC reads data slowly from PLC

paul56

Member
Join Date
Jul 2007
Location
Karnataka
Posts
50
Hi,

I've managed to write some dot net code and read data from temperature sensors via Allen Bradley PLC Micrologix 1400. Unfortunately the read action is pretty slow: 3 to 10 seconds each time. I know that sensor response times can be slow for (T and RH for example) but I don't suspect that to be the problem.
1.Can any one suggest a possible solution since my program is supposed to connect to at least 20 machines, each having 4 to 8 sensors for temperature and humidity (ie a total of 8 to 16 sensors per machine). At this slow data read speed, the system will fail.

2.Also, what is the typical PLC read data time by a PC (a few milliseconds or seconds)?

3.I'm using NI OPC server at present, but intend changing to Matrikon's OPC server for Allen Bradley. I'm not sure if I could use this or Matrikons Universal OPC server for PLCs with the Allen Bradley plug in.

Thanks in advance.
 
Last edited:
Hi,

OPC does slow it down a bit but you should get fast results.

You might want to give PeakHMI a try. It has a built in OPC server and can communicate with all the PLCs.
 
The update rate should be programmable.
I use RSLinx for my OPC server and an OPC client component from Kassl.
The update rate is set from the client.
3 to 10 seconds sounds like there is a communications issue though.
 
I would put a protocol analyzer on the network (since it's Ethernet, it should be nearly trivial to run Wireshark on your PC) and see if it's the software polling slowly or the controller responding slowly.

My colleagues are of course correct; the OPC Client (in your case, the custom .NET application) determines the polling rate.

A MicroLogix 1400 can respond to a data request in then "tens of milliseconds" time range, so update times of 100 or 250 ms in OPC servers are not uncommon for fast applications.
 

Similar Topics

Not sure if it's a setting somewhere I can change or if it's normal/expected behavior, but if I'm away from this forum for over a day or so (like...
Replies
1
Views
613
Hi all, reading out parameters from a Weg CFW500 VFD using a Siemens S7-1214 CPU over Modbus RTU (CB1241). Using the PLC's built-in Modbus...
Replies
4
Views
1,745
I have a Micrologix 1400 with an 1762-IR4 RTD. I use it to read airbag resistance on seats on an assembly line. I am often getting into a...
Replies
2
Views
1,224
I need to do 5 reads and 1 write on 2 devices. So that is 10 and 2 total. It seems I can't use indirect addressing with MG registers, which is...
Replies
11
Views
3,155
I have a system where I need to read ~10 floats from an F file in a Micrologix that has 110 values, but the ones I need are scattered throughout...
Replies
5
Views
2,237
Back
Top Bottom