NetToPLCSim server on Win7 x64

L

Thread Starter

Luca Gallina

we were happily using a neat utility named NetToPLCSim (see http://nettoplcsim.sourceforge.net/) to be able to test WinCC application having the Siemens PLCSIM resident in a PC other than the one running WinCC. This allowed us to keep the HMI and PLC applications and computers completely separated, as they will be on site once deployed.

There are two flavors of NetToPLCSim: v 0.7, which relies on S7ProSim COM object, and v0.9 which interfaces via S7ONLINE layer.

Version v0.9 does not provide stable communication with WinCC7, so we used v0.7 with success both on XP and Win7-32bit.

Everything was working until we upgraded to Windows7-64bit, after that the NetToPLCSim v0.7 seems unable to detect PLCSIM anymore (System.Runtime.InteropServices.COMException 0x80040154)

I tried to contact the author, but so far no replies. My questions:

1. did anybody experience a similar problem and found a solution?

2. since NetToPLCSim comes with full C/C# sources, is there anybody willing to have a look at it?

thank you
 
L

Luca Gallina

> You can use the corflags.exe utility in the .net sdk to force 32bit execution.

Great, worked!

many thanks
 
Top