S7Net COM Slow?

Im reading data from a S7-300 317 CPU with the S7Net COM driver in LabVIEW. Im reading 40 different DBs, with 16kbytes of data each. The total comunication time is arround 10 to 15 seg, this seems very slow to me. Anyone with experience on the topic could give me some advice? Is it possible to get a faster data transfer from the PLC to Labview?
 
Exactly what 317 CPU. 317-2 or 317-2 PN/DP ?
Is the online connection via a CP343-1 or via the integrated port in the 317-2PN/DP ?
If CP343-1 then that may be the bottleneck. All data that goes through the CP343-1 has to go via the relatively slow backplane at 187.5 kbps.
 
Im reading data from a S7-300 317 CPU with the S7Net COM driver in LabVIEW. Im reading 40 different DBs, with 16kbytes of data each. The total comunication time is arround 10 to 15 seg, this seems very slow to me. Anyone with experience on the topic could give me some advice? Is it possible to get a faster data transfer from the PLC to Labview?
40 x 16kB = 640 kB. It's too much data to read from a PLC on a continuous basis.
If it takes 10-15 seconds, average speed is 430 to 650 kbps.

CPU only allocates a certain amount of time to communication (CPU %). You can change that at the expense of scan cycle time in the plc.
BTW, faster CPU equals faster communication. So stepping up to a faster CPU is also an option.

If you want faster speed, you could also read only a select few blocks and change what blocks to read depending on the situation and at what update speed. I don't know what options you have in LabView, so I don't know if it's possible. It makes a big difference though.
 
its a 317-2 PN/DP connected directly to it's PN port.

The data is read only when a event triggers, so not in normal operation. I have some data buffers on this db's that freeze when an emergency event happens, enabling the user to read the data back. 15seg wait is not a big deal but i was wondering if it was normal or not or im doing something wrong.
 
S7-300s were definitely designed in an era where a lower communications speed was typical (RS485/Profibus, not Ethernet). Heck, the more modern 1500s are way better at it, and people sometimes think those are still too slow. I wouldn't be that surprised to find out that it takes 15 sec to get a dump of literally 2/3rds of the memory of your 300.

You might be able to speed things up if your FW is new enough to use the "Prioritize OCM communication" checkbox in the settings, but that's the only trick I know of.
 
If it takes 15 seconds to read this amount of data out of a S7-300, then you are still very fast, and I guess there's not much program running in the CPU and no more other communication.
The biggest block you can read in one request from a S7-300 is 222 bytes. So for your amount of data this would take ~2960 request/response. If you can read this data in 15 seconds, each response would only take 5 ms, which is really good. In a 3/4 full 317 PN/DP with many other communication (Ethernet, Profibus) running, I have a typical response time about 30-50 ms.

A 1500 can be faster, as it allows bigger data units to transfer. But it depends on the driver how it realizes the data access. In a 1500 you address typical via a symbolic address, where you can't pack data together. For example, if your data are 16-Bit Integer variables, then this would be 327680 single addressed variables. I hope you have arrays and the driver you are using allows to read the full array, then may be you'd be faster with a 1500.
 

Similar Topics

Hello, Im using profinet s7net com to conect my pc with labview and a plc cpu. Im requesting the contents of a certain DB and reading it from...
9
Replies
679
Views
Hello Any sources out there for Siemens legacy software from the 1990's for the COM ET 200 software? This will have capability to program EPROM...
4
Replies
300
Views
Hello everyone. We use Visionsensor from Zebra to inspect quality in our production. For the moment we use only hard wired input/output´s (GPIO)...
1
Replies
101
Views
Hi everyone, I am currently trying to communicate a Rockwell Automation 1756-L81E ControlLogix PLC with an Omron DRT1-COM RTU through a 1756-DNB...
9
Replies
354
Views
Hello, Earlier this week, one of our technicians powered down a cabinet containing a PanelMate Plus 1000 and an AEG‑A984‑145 PLC for several...
5
Replies
279
Views
Top