# Problem Connecting to S7-1500 PLC

**URL:** <https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136>\
**Category:** Ignition\
**Created:** [April 15, 2019, 1:20am UTC](https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136 "2019-04-15T01:20:42Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssaunders](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@ssaunders](https://forum.inductiveautomation.com/u/ssaunders)\
**Post date:** [April 15, 2019, 1:20am UTC](https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136/1 "2019-04-15T01:20:42Z")

</div>

I am new to Ignition and I’m trying to connect an S7-1500 PLC to Ignition via Ethernet. The PLC is in run mode and I entered the parameters as defined in the [Connecting to S7 Devices](https://docs.inductiveautomation.com/display/DOC/Connecting+to+S7+Devices) Tutorial, but Ignition will not connect. Is there anything on the PLC side that I need to configure? Or does there have to be a functional program running on the PLC?

Thanks,  
Shane

---

<div class="post-metadata">

**Author:** ![shibubalaji](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/shibubalaji/32/9165_2.png) [@shibubalaji](https://forum.inductiveautomation.com/u/shibubalaji)\
**Post date:** [April 15, 2019, 1:38am UTC](https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136/2 "2019-04-15T01:38:12Z")

</div>

Shall I ask a stupid question? Are these PLC and Ignition servers are on same network right? Are you able to ping its IP address from Ignition server?

---

<div class="post-metadata">

**Author:** ![ssaunders](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@ssaunders](https://forum.inductiveautomation.com/u/ssaunders)\
**Post date:** [April 15, 2019, 1:57am UTC](https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136/3 "2019-04-15T01:57:24Z")

</div>

Ha, that’s a great question. I just realized my subnet mask was wrong. Now it works!

Thanks,  
Shane

---

<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:** [April 15, 2019, 4:22am UTC](https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136/4 "2019-04-15T04:22:41Z")

</div>

Also, you need to do this:  
[https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/29/0/connecting-to-siemens-s7-1200-and-s7-1500](https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/29/0/connecting-to-siemens-s7-1200-and-s7-1500)

---

<div class="post-metadata">

**Author:** ![ssaunders](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@ssaunders](https://forum.inductiveautomation.com/u/ssaunders)\
**Post date:** [April 23, 2019, 12:54am UTC](https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136/5 "2019-04-23T00:54:45Z")

</div>

Thanks for the support. I’ve got the PLC connected and configured per the link you sent, but I’m having trouble retrieving data. I’m trying to retrieve an integer at offset 4 at DB10.DBW4 and my OPC item path is [S71500]DB10,I2 but my value is null and has bad quality. Any advice?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/665987d8548bb15c7d548552f0abf22857400d32.png)

---

<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:** [April 23, 2019, 4:30am UTC](https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136/6 "2019-04-23T04:30:27Z")

</div>

If you right click on the tag Input2 and choose tag diagnostics, what is it say?  
In Simatic integer is 16bit, in Ignition integer is 32 bit. So in Ignition you must choose Short as Data Type.  
Also if you want negative numbers you choose I4 (-32767 to 32767), if you want only positive numbers you choose W4 (65536)…

---

<div class="post-metadata">

**Author:** ![ssaunders](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@ssaunders](https://forum.inductiveautomation.com/u/ssaunders)\
**Post date:** [April 24, 2019, 2:47am UTC](https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136/7 "2019-04-24T02:47:29Z")

</div>

The tag diagnostics show “Bad Quality.” I get the same results when I try to read in the booleans I have mapped to DB11. Would I get “Bad Quality” if a sensor weren’t connected correctly. I made the change to a short but that didn’t fix it.

Thanks,  
Shane

---

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [April 24, 2019, 4:35am UTC](https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136/8 "2019-04-24T04:35:49Z")

</div>

So just to confirm the gateway shows the PLC as connected and the Datablock your trying to access has optimized access disabled?

Along with the get / push option enabled?

Going by your tag reference you have called the PLC ‘S71500’ in the devices on the gateway ?

---

<div class="post-metadata">

**Author:** ![ssaunders](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@ssaunders](https://forum.inductiveautomation.com/u/ssaunders)\
**Post date:** [April 25, 2019, 2:43am UTC](https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136/9 "2019-04-25T02:43:36Z")

</div>

Hi Craig. Yes, the gateway shows the PLC as connected, the optimized access is disabled and the get/push option is enabled. Correct, I named the PLC ‘S71500’.

---

<div class="post-metadata">

**Author:** ![ssaunders](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@ssaunders](https://forum.inductiveautomation.com/u/ssaunders)\
**Post date:** [April 26, 2019, 12:50am UTC](https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136/10 "2019-04-26T00:50:47Z")

</div>

I re-compiled the program in a different instance of S7 and it’s working now. I don’t know what the issue was but it’s resolved. Thanks for the input.

---

<div class="post-metadata">

**Author:** ![balandeganesh123](https://avatars.discourse-cdn.com/v4/letter/b/7c8e57/32.png) [@balandeganesh123](https://forum.inductiveautomation.com/u/balandeganesh123)\
**Post date:** [August 21, 2026, 8:53am UTC](https://forum.inductiveautomation.com/t/problem-connecting-to-s7-1500-plc/24136/11 "2026-08-21T08:53:07Z")

</div>

Hi team,

I have issue with S7-1517 plc not connecting to server.

we check following details.

1. I am using simeses S7-1517 3PN/DP PLC. For server I have reserve my X2 port.
2. I have given right ip ,subnet and gateway address. Confirm from IT team also.
3. Given ip address to X2 port it's physically (by connecting lan cable) is pinged. But from server is not.
4. In plc setting given full access with no protection ,PUT/GET communication access given.
5. Activated opc ua server.runtime license also selected.
6. I have check lan cable,it is also good, port also healthy because it's ping when connecting lan cable.
7. In last even I have tried by ip and mac address Dora binding from IT team. But still not showing.

Is there any more configuration required in plc?

Can you please guide me.
