Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

PS communication PLCSIM

Hi,

 

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?

Best regards,

Gabriel
17 REPLIES

Re: PS communication PLCSIM

hello,

 

please check this website

 

http://simcom.icarus-consult.de/viewtopic.php?f=18&t=77

 

 

Kind regards,

Benjamin Voelzke

Re: PS communication PLCSIM

small tip

 

delete all layout's from cell.

layout is the biggest performence killer of virtual commissioning

Kind regards,

Benjamin Voelzke

Re: PS communication PLCSIM

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!

Best regards,

Gabriel

Re: PS communication PLCSIM

Which PLCSIM version does the PS11.1 64-bit version use?

 

Are the projects of PS10.1 compatible with PS11.1?

 

Thanks for your answers.

Best regards,

Gabriel
Solution
Solution
Accepted by topic author GabrielH
‎08-26-2015 04:32 AM

Re: PS communication PLCSIM

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.

 

 

tip:

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.

 

Finish.

 

Have fun

 

 

 

Kind regards,

Benjamin Voelzke

Re: PS communication PLCSIM

Dear Voelzke,

 

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.

 

Kind regards,

 

Gabriel

Best regards,

Gabriel

Re: PS communication PLCSIM

good mornig,

 

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

Kind regards,

Benjamin Voelzke

Re: PS communication PLCSIM

Hello,

 

We have a new configuration on the project.

Now we have;

- PS 10.1

-Kepserver OPC

- NetToPLCSIM

- 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?

 

 

Best regards,

Gabriel

Re: PS communication PLCSIM

Your ItemHeader seems to be wrong.

 

In the PS documentation you see which seperator you need for your configuration.