I'm trying to interface .NET (C# or VB doesn't matter) with a Siemens PLC S7 200. I can't however get a connection set up. I'm working on a Win7 64bit machine but can't seem to get it working on 32bit either. I got two files:
Interop.OPCSiemensDAAutomation.dll Siemens_s7-200.dll
From another project which I'm trying to migrate to a newer system. However I get a com exception all the time.
Retrieving the COM class factory for component with CLSID {01704EBD-44B5-11D3-9C09-00105A3DD3AC} failed due to the following error: 80040154.
I've already tried libnodave and can't seem to get that working either. Can somebody provide me with some pointers (please no XKCD humor on that one) to where to look?
I couldn't get Siemens PC-Access to install on this machine, will try on a WinXP 32bit later. I read something about I need an OPC server or something on the machine?
Please bear with me, first time interfacing with a PLC :/