# Slow read/write requests when the connection to siemens PLC is via an external ethernet card

**URL:** <https://forum.inductiveautomation.com/t/slow-read-write-requests-when-the-connection-to-siemens-plc-is-via-an-external-ethernet-card/18464>\
**Category:** Ignition\
**Created:** [June 14, 2018, 8:33am UTC](https://forum.inductiveautomation.com/t/slow-read-write-requests-when-the-connection-to-siemens-plc-is-via-an-external-ethernet-card/18464 "2018-06-14T08:33:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrea.minu](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrea.minu/32/3326_2.png) [@andrea.minu](https://forum.inductiveautomation.com/u/andrea.minu)\
**Post date:** [June 14, 2018, 8:33am UTC](https://forum.inductiveautomation.com/t/slow-read-write-requests-when-the-connection-to-siemens-plc-is-via-an-external-ethernet-card/18464/1 "2018-06-14T08:33:38Z")

</div>

Hello everyone,

I have a strange performance issue when I connect Ignition to Siemens PLC  
The PLC has not an enbedded ethernet port on the CPU , but has a ethernet card ( the CPU is S7 300 315-2AG10-0AB0 )

I definited only a tag , and I connected the PC with ignition directly to the PLC with a ethernet cable ( without swicth, router firewall et etc…) the time to read only a tag are more o less 42ms, of course the PLC has not a program so the time cycles are very fast

If I use the PLC with the ethernet port ebedded to Cpu the time for read one tag is more or less 2ms.  
These times are really because I have seen them via wireshark logs, so I can tell that the problem is the ethernet card of the PLC. ( obviously I tried witha new PLC and a new ethernet card but I had the same behaviour)

This behaviour imply if I have only few hundred tags ( 160 with a scanclass of 1000ms) the load factor of communication is very very high and the time for read the tags are very very slow.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/96a28f0d85ef4d8f6b6f390cd1b5e9c9593594c5.png)

The thing is very strange, maybe, are there some setting to make to the ethernet card ?

Do you have any suggestions?

Thank you very much  
Andrea

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 14, 2018, 1:01pm UTC](https://forum.inductiveautomation.com/t/slow-read-write-requests-when-the-connection-to-siemens-plc-is-via-an-external-ethernet-card/18464/2 "2018-06-14T13:01:29Z")

</div>

IIRC, the backplane on those older processors has nowhere near the bandwidth of a network connection. Meaning, you’ll never be able to push much to/from that non-ethernet processor. You will probably have to replace the PLC with a model with an onboard ethernet port.

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [June 14, 2018, 1:41pm UTC](https://forum.inductiveautomation.com/t/slow-read-write-requests-when-the-connection-to-siemens-plc-is-via-an-external-ethernet-card/18464/3 "2018-06-14T13:41:26Z")

</div>

While what @pturmel said is true (about backplane speed), the performance from your post is really to (s)low.  
There must be something else in play.  
I’ve done a lot of Siemens PLC’s (in fact we work ONLY with Siemens PLC’s) and Ignition connection over CP (Communication processor for Ethernet, CP343-1) and over embedded ethernet port on the PLC and I never had such a poor performance. And I’m talking about thousands of tags…  
Can you share your step7 or TIA portal project so that I can look into it?  
And also how did you set the device connection for the Siemens PLC on the Ignition device configuration page…

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [June 15, 2018, 11:23am UTC](https://forum.inductiveautomation.com/t/slow-read-write-requests-when-the-connection-to-siemens-plc-is-via-an-external-ethernet-card/18464/4 "2018-06-15T11:23:46Z")

</div>

Today I made some tests…  
and this is what I got no mater what I tried in the plc (cp) configuration…

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/1cd37ecfcccdc518cab3ef642199e31598747d14.PNG)  
on the PLC port:  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4fc5631cdeb2c35b96e9109a5448d792e4063ce0.PNG)  
on the CP port:  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4ab2bc509ee375a28e3d0da070a5aff69dfc5822.PNG)  
With almost 10000 tags I’ve got around 60% load factor on the CP (communication processor - external ethernet card)…

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 15, 2018, 12:42pm UTC](https://forum.inductiveautomation.com/t/slow-read-write-requests-when-the-connection-to-siemens-plc-is-via-an-external-ethernet-card/18464/5 "2018-06-15T12:42:29Z")

</div>

Based on the (remarkably consistent) response times, the CP is almost precisely 8 times slower than direct connection. I would have expected the CP to be even worse. Can you test with andrea’s processor model and a CP?

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [June 15, 2018, 1:29pm UTC](https://forum.inductiveautomation.com/t/slow-read-write-requests-when-the-connection-to-siemens-plc-is-via-an-external-ethernet-card/18464/6 "2018-06-15T13:29:52Z")

</div>

The delay seems to be quite consistent, i see about 26ms with a CPU318 over a CP.

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [June 15, 2018, 4:13pm UTC](https://forum.inductiveautomation.com/t/slow-read-write-requests-when-the-connection-to-siemens-plc-is-via-an-external-ethernet-card/18464/7 "2018-06-15T16:13:45Z")

</div>

No I can’t… this two is what I have in my office for testing purposes…  
But I checked some Ignition gateways in production (and two of them are connected also to the same type of PLC like Andrea have) and it’s like @chi said: the response times are pretty consistent, all around 25-35 ms, where we have CP.  
Only the load factor varies quite a lot, but that’s because of the size and complexity of the PLC programs…  
So, the only thing it comes to my mind is firmware on the Andreas CP. Siemens is quite ‘famous’ about theirs FW’s not performing as they should from time to time, especially when they release a new major version…

---

<div class="post-metadata">

**Author:** ![andrea.minu](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrea.minu/32/3326_2.png) [@andrea.minu](https://forum.inductiveautomation.com/u/andrea.minu)\
**Post date:** [June 15, 2018, 5:17pm UTC](https://forum.inductiveautomation.com/t/slow-read-write-requests-when-the-connection-to-siemens-plc-is-via-an-external-ethernet-card/18464/8 "2018-06-15T17:17:20Z")

</div>

Hi

zxcslo you gave me a good advise telling me to check the CP firmware.  
I 'm using the CPU 315 and not 318 so I start with a slower CPU

I can’t do some other tests for the moment , but I 'll try asap.

I 'll keep you informed

Thank you very much

---

<div class="post-metadata">

**Author:** ![user80](https://avatars.discourse-cdn.com/v4/letter/u/e480ec/32.png) [@user80](https://forum.inductiveautomation.com/u/user80)\
**Post date:** [October 25, 2021, 12:18pm UTC](https://forum.inductiveautomation.com/t/slow-read-write-requests-when-the-connection-to-siemens-plc-is-via-an-external-ethernet-card/18464/9 "2021-10-25T12:18:13Z")

</div>

Hi,  
i have the same problem, there are some updates ?

Thank you

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [October 25, 2021, 12:39pm UTC](https://forum.inductiveautomation.com/t/slow-read-write-requests-when-the-connection-to-siemens-plc-is-via-an-external-ethernet-card/18464/10 "2021-10-25T12:39:43Z")

</div>

No updates…  
This is really not an Ignition problem, but Siemens…

When these old PLCs and CPs came out, they didn’t think about the amount of data that would be needed in the future (today)…
