# Siemens S7300 Device Connection Problem

**URL:** <https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167>\
**Category:** Ignition\
**Created:** [August 9, 2011, 5:56pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167 "2011-08-09T17:56:36Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [August 9, 2011, 5:56pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/1 "2011-08-09T17:56:36Z")

</div>

I have setup all my PLC connections in Ignition successfully except for one. I can communicate with the device through kepware just like all my other devices, but cannot communicate with through ignition. This is what I see in the console:

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/1X/f3478e1a95c7c97a80bb1d1434dcdc0cfb77ae97.JPG)  

here are my device settings:

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/1X/9971792acea974683f485439c4ce8fa32747952c.JPG)  

Thank you,

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 9, 2011, 6:29pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/2 "2011-08-09T18:29:58Z")

</div>

Are the rack and slot settings the same as they are in Kepware?

What it looks like is happening is that the PLC isn’t responding to the connect requests that get send after a TCP connection is made. At least, it’s not responding within the default 5 second limit.

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [August 9, 2011, 6:37pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/3 "2011-08-09T18:37:19Z")

</div>

Yes, here is what it looks like in kepware.

![](https://us1.discourse-cdn.com/inductiveautomation/original/1X/fa2ebb28839601ce605e5e1cba9101a27a86dc99.JPG)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 9, 2011, 6:43pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/4 "2011-08-09T18:43:02Z")

</div>

Look for the logger S7300.CO22 in the logs area.

You should find S7300.CO22 and then a bunch of S7300.CO22.\* loggers. Turn the first one to TRACE, which after refreshing/re-searching should turn all of them to TRACE.

Let it run for a minute or two trying to connect and then send me your logs.bin file from the console page (while viewing the page, there’s an “export logs” link).

Also, what version of Ignition are you using? What version of the Siemens module is installed? You can find this info on the System \> Status and Configuration \> Modules pages.

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [August 9, 2011, 7:01pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/5 "2011-08-09T19:01:48Z")

</div>

heres the log  
[logs.bin.gz](https://us1.discourse-cdn.com/inductiveautomation/original/1X/0688aa688fe7da31a74841cab52cc87b68a336b1.gz) (292 KB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 9, 2011, 7:39pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/6 "2011-08-09T19:39:17Z")

</div>

What was the version information?

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [August 9, 2011, 7:51pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/7 "2011-08-09T19:51:41Z")

</div>

7.2.7

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 9, 2011, 8:09pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/8 "2011-08-09T20:09:14Z")

</div>

Ok, I don’t think that should be a problem.

Can you download and install [this version](http://files.inductiveautomation.com/beta/Siemens%20Drivers-module.modl) of the Siemens module and see if it makes any difference.

If it doesn’t, can you go back and turn TRACE on again, go in and edit/save on that device, wait, then upload the logs again?

I fixed something in the version I linked to that was either a) a potential problem or b) obscuring the problem.

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [August 9, 2011, 8:35pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/9 "2011-08-09T20:35:08Z")

</div>

log with updated module  
[logs.bin.gz](https://us1.discourse-cdn.com/inductiveautomation/original/1X/49fc505ccb3c2317727a6da28b4c6b7f1ddbb7bc.gz) (429 KB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 9, 2011, 8:41pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/10 "2011-08-09T20:41:59Z")

</div>

Ok this is where things are going to get tricky.

Is Kepware installed on the same machine as Ignition or a different machine? We’re gonna have to bust out Wireshark here to see what the difference is between what Kepware is sending and what Ignition is sending.

What I’m seeing is that as soon as Ignition sends a connect request the PLC closes the TCP connection. Either we’re sending something different than Kepware or the PLC has reached its limit for connections and is denying us.

You could try disabling Kepware’s connections and seeing if that does the trick before we head down the Wireshark route.

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [August 9, 2011, 9:08pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/11 "2011-08-09T21:08:49Z")

</div>

yes it seems that if i disable data collection in Kepware then Ignition will connect and vice versa. Could there be some type of setting the electricians have that limits the number of connections?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 9, 2011, 9:15pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/12 "2011-08-09T21:15:21Z")

</div>

Yes, somewhere in the bowels of the S7 programming software you can find a place to limit/change the number of S7 connections allocated. I know I’ve seen it before, but I don’t know off-hand how to find it again. I’ll take a look, but someone familiar with the software should be able to find it and change it pretty quickly.

---

<div class="post-metadata">

**Author:** ![Step7](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Step7](https://forum.inductiveautomation.com/u/Step7)\
**Post date:** [August 10, 2011, 12:41pm UTC](https://forum.inductiveautomation.com/t/siemens-s7300-device-connection-problem/3167/13 "2011-08-10T12:41:39Z")

</div>

Jonathan, does this system have a lot of panels connected on the MPI network? Are there a lot of connections configured in NetPro? If you look at the CPU properties in the hardware configuration, do you have a communications tab?
