Hello yall,
First of all Im kinda noob to communications with Siemens PLCs...
Im trying to simulate communications between 2 cpus (s7-300 for example) and I was told that it is possible using PLCSim 5.4 Sp3 HF1...
But every test I did whent bust... Using CPs, using CPs integrated with the CPUs... Every try I did went wrong one way or another...
Does anyone have a simple program with hw configured and can send me pls pls pls...
Or maybe a doc where it explains how to configure a 2 cpu communication using profibus/profinet that can be simulated using plcsim?
Thanks in advance
PLCSim Profibus/Profinet communication example
-
- Posts: 11
- Joined: Tue Feb 01, 2011 12:24 pm
-
- Faq & Info
- Posts: 428
- Joined: Wed Oct 05, 2005 9:00 am
-
- Posts: 11
- Joined: Tue Feb 01, 2011 12:24 pm
Re: PLCSim Profibus/Profinet communication example
First of all thanks for the quick reply
I tried your example and it doesn't work...
Im getting Status Com = 16#0001 on both cpus dont know why!
I tried an similar example but using PROFIBUS and got SF on both cpus...
I tried your example and it doesn't work...
Im getting Status Com = 16#0001 on both cpus dont know why!
I tried an similar example but using PROFIBUS and got SF on both cpus...
-
- Site Admin
- Posts: 3992
- Joined: Thu Feb 16, 2006 3:25 pm
- Location: Russia
Re: PLCSim Profibus/Profinet communication example
1. Example tested and work.bjekas wrote:I tried your example and it doesn't work...
Im getting Status Com = 16#0001 on both cpus dont know why!
I tried an similar example but using PROFIBUS and got SF on both cpus...
2. Which Step7 version you use ?
-
- Posts: 11
- Joined: Tue Feb 01, 2011 12:24 pm
Re: PLCSim Profibus/Profinet communication example
Im using Step7 5.5
-
- Site Admin
- Posts: 3992
- Joined: Thu Feb 16, 2006 3:25 pm
- Location: Russia
Re: PLCSim Profibus/Profinet communication example
today I have tested Simatic example S7_PLCSIM_CPU_Communication.zip
It work. Step7 5.5
German - International
Z=C (countig from 0 while C1<999)
EB=IB (enable conting)
AW=QW (LED output show)
It work. Step7 5.5
German - International
Z=C (countig from 0 while C1<999)
EB=IB (enable conting)
AW=QW (LED output show)
FAQ wrote:In the "S7-PLCSIMN" listbox dialog, you select the configured interface "PLCSIM (TCP/IP)" (for this example)
You must select the instance "S7-PLCSIMN" (1 or 2) before loading program to PLCN (1 or 2).