# Get Ignition connect to Siemens S7-1500 opc

**URL:** <https://forum.inductiveautomation.com/t/get-ignition-connect-to-siemens-s7-1500-opc/11993>\
**Category:** Ignition\
**Created:** [August 1, 2016, 10:57am UTC](https://forum.inductiveautomation.com/t/get-ignition-connect-to-siemens-s7-1500-opc/11993 "2016-08-01T10:57:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![StefanGronberg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/stefangronberg/32/6288_2.png) [@StefanGronberg](https://forum.inductiveautomation.com/u/StefanGronberg)\
**Post date:** [August 1, 2016, 10:57am UTC](https://forum.inductiveautomation.com/t/get-ignition-connect-to-siemens-s7-1500-opc/11993/1 "2016-08-01T10:57:01Z")

</div>

Hi, we have been trying to get ignition to connect to a siemens S7-1500 cpu.

Under OPC-UA -\> Devices we have created a new device, selected Siemens S7-1500 as type.  
Entered the PLC’s IP and saved it.  
Its status is connected.

Under OPC Connections -\> Server:  
We have tried to create a new OPC-UA, entering "opc.tcp://10.14.8.52:  
Where port has been:  
102: UaException: status=Bad\_Timeout, message=timed out waiting for acknowledge  
1025: UaException: status=Bad\_Timeout, message=timed out waiting for acknowledge  
4096: java.net.ConnectException: Connection refused: no further information: /10.14.8.52:4096  
49320: java.net.ConnectException: Connection refused: no further information: /10.14.8.52:49320

As far i know, we cannot change nor set a port in the siemens plc for the opc part.

But since we have a device under OPC-UA -\> Devices, that is connected, should we not be able to add tags to read and write its data?

Under Configuration -\> Modules, we have OPC-UA, OpcCom, OpcCom Tunneler, Siemens Drivers.

When looking at Status -\> OPC Connections the error log says:

[code]com.jniwrapper.win32.com.ComException: COM object method returns error code: 0x800706BA; The RPC server is unavailable.

com.jniwrapper.win32.com.ComException.checkResult(SourceFile:172)

com.jniwrapper.win32.com.ComFunctions.coCreateInstanceEx(SourceFile:230)

com.inductiveautomation.opccom.wrapper.browsing.OpcEnum.instantiateServer(OpcEnum.java:83)

com.inductiveautomation.opccom.wrapper.browsing.OpcEnum.oleloop\_getServerLister(OpcEnum.java:72)

com.inductiveautomation.opccom.wrapper.browsing.OpcEnum$GetCLSIDJob.internalRun(OpcEnum.java:205)

com.inductiveautomation.opccom.wrapper.OleJob.run(OleJob.java:47)

com.inductiveautomation.opccom.wrapper.OleJob.runInOLELoop(OleJob.java:26)

com.inductiveautomation.opccom.wrapper.browsing.OpcEnum.getClsIdForProgId(OpcEnum.java:104)

com.inductiveautomation.opccom.COMServerImpl$ConnectServerJob.internalRun(COMServerImpl.java:650)

com.inductiveautomation.opccom.wrapper.OleJob.run(OleJob.java:47)

com.jniwrapper.win32.MessageLoopThread$ThreadSynchronizedAction.run(MessageLoopThread.java:620)

com.jniwrapper.win32.MessageLoopThread$LoopThread.run(MessageLoopThread.java:562)[/code]

Any idea or suggestion at all that can help us connect to the plc, to read and write opc tags?

---

<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:** [August 1, 2016, 12:18pm UTC](https://forum.inductiveautomation.com/t/get-ignition-connect-to-siemens-s7-1500-opc/11993/2 "2016-08-01T12:18:22Z")

</div>

Given that you’ve posted this problem multiple times on the forum and no-one seems to know why your setup isn’t working, I suggest you call in to support and screen-share with them to solve this.

---

<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:** [August 9, 2016, 10:23am UTC](https://forum.inductiveautomation.com/t/get-ignition-connect-to-siemens-s7-1500-opc/11993/3 "2016-08-09T10:23:20Z")

</div>

[https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/29/2/connecting-to-siemens-s7-1200-and-s7-1500](https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/29/2/connecting-to-siemens-s7-1200-and-s7-1500) ❓

---

<div class="post-metadata">

**Author:** ![anna](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@anna](https://forum.inductiveautomation.com/u/anna)\
**Post date:** [February 16, 2017, 11:29pm UTC](https://forum.inductiveautomation.com/t/get-ignition-connect-to-siemens-s7-1500-opc/11993/4 "2017-02-16T23:29:36Z")

</div>

Stefan,

A few things:

1. First figure out if you want to connect to the PLC directly from Ignition (via Ignition’s OPC-UA and its device drivers), or you are looking to get data from the PLC via an OPC-COM connection.  
If you are using Ignition’s Siemens driver, then you are connecting via Ignition’s OPC-UA server. The error from the OPC-Connectio/Servers page you posted comes from and OPC-COM connection and is unrelated.  
If you are trying to obtain data from a Siemens PLC via an OPC-COM connection, then you should be troubleshooting the OPC-COM server connection; the Siemens driver then is irrelevant.

2. If You are trying to connect via Ignition’s OPC-UA using our Siemens driver, go over _all_ the steps listed in the article zxcslo pointed you to.

3. If want to work with a COM connection (unlikely), then work through the article here: [support.inductiveautomation.com … onnections](https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/4/0/setting-up-and-troubleshooting-opc-com-connections)
