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?