We are getting started with Virtual Commissioning but we have a problem.
When we load the PLC program in PLCSIM and start a simulation in Process Simulate we get the error: S7-PLCSIM returned the following error: ‘Unknown error occurred’. (Not using the option; Download program before first run)
When I use the option: PLCSIM > Download program before first run, start a simulation and then Process Simulate starts up the PLCSIM but Process simulate is stuck and you can’t do anything and you have to restart. PLCSIM is not stuck, so you can continue using that.
With this errors we can’t make any connection to PLCSIM and we don’t know what to do about it.
We are using Process Simulate 10.1 (32 bit) and PLCSIM V5.4 + SP5 + Upd2
Anybody any suggestions about what could possibly is going wrong?
Solved! Go to Solution.
Dear Bejamin, Mister Voelzke,
We have the software for the 5.4 SP1, but we can't run it on an Windows7 OS. Am I right? Could we use PLCSIM in a Virtual machine and use PS in the normal Windows7 environment? Or isn't this possible..
Or have another machine installed with XP and PLCSIM and connect them over a network?
Thank you for youre quick reply!
ok i understand your problem.
with ps11.1 tr3 you can install ps on win7 x64 bit machine
siemens step 7 5.5(or higher) is running win 7 x64 bit machine
i tested this configuration. it's works.
But the connection between PLCSim is very limited.
you can't work with hardware.
install PS on power pc win7 x64
install OPC Server (INAT OPC)
install Step 7 in virtual machine (VMWare)
connected PS to OPC Server (config OPC Server to Virtual Machine PLCSim CPU Network Adress)
OPC Server Connected to Virtual Machine (to this tool http://sourceforge.net/projects/nettoplcsim/ )
this tool connected to PLCSim.
If i'm understanding it correctly, I can also run PS on my 64bit power pc, and then just connect my PLCSIM over an OPC server to PS. And if I do it with this configuration it doesn't matter anymore which version I am using of PLCSIM..
Am I right? I am going to test this setup tommorow.
yes thats correct.
you can install ps on x64 power machine and connect via opc server to plcsim.
on virtual pc (or other pc) you can install some PLCSim Versions
We have a new configuration on the project.
Now we have;
- PS 10.1
- PLCSIM 5.4 SP5
The connection between the PLCSIM trough the NetToPLCSIM to the OPC server works fine. We tested this with the OPC quick client.
In Process Simulate we chose the option; PLC > OPC. Under connection we added the KepServer. (Printscreen). It looks like everything works fine till this point.
Then we load the I/O from an .sdf file and we added some I/O from the PLC program into Process Simulate.
At last we loaded some Inputs into the Simulation panel.
If we start a simulation we get some errors.(printscreen) We get the errors only if we are checking the option ‘PLC Connection’.
If we uncheck the ‘PLC Connection’ the simulation starts to run and everything looks fine. But Process Simulate doesn’t read any I/O and the values stay on false.
What are we doing wrong?